Ticket #149 (defect)

Opened 11 months ago

Last modified 3 months ago

msvcrt.free can't access memory assigned by Artem's geos.dll

Status: closed (wontfix)

Reported by: seang Assigned to: seang
Priority: minor Milestone:
Component: Shapely Version:
Keywords: windows vista ctypes geos Cc:
>>> from shapely.geometry import Point
>>> p = Point(0,0)
>>> p.wkt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python25\Lib\site-packages\shapely\geometry\base.py", line 167, in wr
apper
    return func(*args, **kwargs)
  File "C:\Python25\Lib\site-packages\shapely\geometry\base.py", line 304, in to
_wkt
    return lgeos.GEOSGeomToWKT(self._geom)
  File "C:\Python25\Lib\site-packages\shapely\geometry\base.py", line 300, in er
rcheck
    free(result)
WindowsError: exception: access violation reading 0x01371092

Change History

01/19/08 14:37:49: Modified by seang

  • priority changed from major to minor.
  • status changed from new to assigned.
  • milestone deleted.

We'll work around by dodging that windows error. Ultimately, I think GEOS needs a function to free this memory.

08/22/08 21:11:58: Modified by seang

  • status changed from assigned to closed.
  • resolution set to wontfix.

That DLL was busted and we've ditched it for one generated using mingw.