[gdal-dev] ogr.BuildPolygonFromEdges as called from python segfaults

David Fuhry dfuhry at acm.org
Sat May 17 23:01:02 EDT 2008


The script works fine in 1.4.4, so the problem was introduced somewhere 
between there and 1.5.1.

-Dave

David Fuhry wrote:
> ogr.BuildPolygonFromEdges as called from python is always throwing an 
> exception for me, and perhaps always segfaulting:
> 
> $ ./test_build_poly.py
> BuildPolygonFromEdges failed.
> Segmentation fault
> 
> I first experienced the error running swig/python/samples/tigerpoly.py 
> on some TIGER data.  I duplicated some of tigerpoly.pl into a reduced 
> python testcase (attached).
> 
> Tested with both svn head and 1.5.1, on both RHEL4 x86_64 and Debian 
> x86_64.  I don't know the debugging procedure for tracing python calls 
> into C++.  Suggestions on that or how to fix the bug welcome.
> 
> Thanks,
> 
> Dave
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list