[Community] Windows and GEOSFree

Aron Bierbaum aronbierbaum at gmail.com
Tue Aug 11 18:09:44 EEST 2009


A few months ago I sent a message to both the GEOS and Shapely mailing
lists pointing out an issue that I was running into where freeing
memory allocated by GEOSGeomToWKT and GEOSGeomToWKB_buf can cause a
crash on Windows if the memory is not freed by the GEOS DLL. This is
because the memory is created in this DLL, and as a result in certain
cases this can cause a crash if the memory is not freed in the same
DLL. I have made the changes locally, but as far as I can tell the
changes have not made it into Shapely. I would like to stop supporting
these local changes if at all possible. I have attached two of the old
patches for reference.

-Aron

http://trac.osgeo.org/geos/ticket/249
http://trac.osgeo.org/gdal/wiki/FAQMiscellaneous#FAQ-Miscellaneous
http://msdn.microsoft.com/en-us/library/ms235460.aspx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapely1.patch
Type: text/x-patch
Size: 1161 bytes
Desc: not available
URL: <http://lists.gispython.org/pipermail/community/attachments/20090811/712ad107/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapely2.patch
Type: text/x-patch
Size: 892 bytes
Desc: not available
URL: <http://lists.gispython.org/pipermail/community/attachments/20090811/712ad107/attachment-0001.bin>


More information about the Community mailing list