|
Re: initGEOS/finishGEOS and multiple subsystems: msg#00101gis.geos.devel
Howard Butler wrote: > Recently, Steve Lime reconfigured MapServer to use the GEOS C API > instead of the C++ one. Python Cartographic Library, which builds on > MapServer and GEOS, among other things, *also* uses the GEOS C API. > Each subsystem doesn't know when the other is calling > initGEOS/finishGEOS, and on teardown, this is causing a segfault because > the geomFactory has already been destroyed. > > After some discussion on #gdal with Frank, Norman, and Mateusz, we > suggest that initGEOS/finishGEOS do some reference counting to ensure > that geomFactory isn't prematurely destroyed. As I promised on the #gdal-dev, I can re-write it that way. Cheers -- Mateusz Loskot http://mateusz.loskot.net |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: initGEOS/finishGEOS and multiple subsystems: 00101, strk |
|---|---|
| Next by Date: | Re: initGEOS/finishGEOS and multiple subsystems: 00101, Mateusz Loskot |
| Previous by Thread: | Re: initGEOS/finishGEOS and multiple subsystemsi: 00101, strk |
| Next by Thread: | Re: Encounter Segmentation Fault with GEOS 2.2.2: 00101, strk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |