[geos-devel] CVS PrecisionModel segfault on Windows MSVC 7.1
Charlie Savage
cfis at interserv.com
Thu Jan 26 13:40:15 EST 2006
There is nothing in the updated SWIG bindings that would affect Geometry
factories or precision models. However, there are changes with passing
vectors of coordinates and geometries to functions. Do you have some
test code I could look at? This could be caused by one of the methods
your are calling taking over ownership of the geometry, but Python
doesn't know it.
Charlie
Howard Butler wrote:
>
>> Can it be you deleted it ?
>> PrecisionModels are inside GeometryFactories, which must
>> keep alive for the whole lifetime of geometries created with it.
>>
>> --strk;
>
> That's very possible. I'm driving things with the python swig
> bindings (pre Charlies patch because of its reliance on an unreleased
> cvs swig that I can't build on windows or os x). At least the
> autogen.sh/configure stuff currently in cvs complains about the lack
> of swig 1.3.28, which doesn't exist.
>
> In the meantime, I will try bumping the reference count of the object
> to cheat.
>
> It's interesting that the same code doesn't puke on OS X though.
>
> Howard
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2781 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20060126/c9fee168/smime.bin
More information about the geos-devel
mailing list