[postgis-tickets] [PostGIS] #3256: ST_3DDistance garden crash on malformed polygons

PostGIS trac at osgeo.org
Fri Aug 21 15:08:44 PDT 2015


#3256: ST_3DDistance garden crash on malformed polygons
----------------------+---------------------------
  Reporter:  robe     |      Owner:  nicklas
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.2.0
 Component:  sfcgal   |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Changes (by robe):

 * component:  postgis => sfcgal


Comment:

 I did a backtrace of this, and it seems my sfcgal is kicking.  I don't
 know why it didn't yesterday though so could still be something to do with
 the r13970 change or my ineptness.  Going to recheck.

 Anyway the crash appears to be in SFCGAL from the backtrace:


 {{{
 #0  0x000000006d3048b0 in libSFCGAL!_ZN6SFCGAL7VersionEv () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #1  0x000000006d3048ee in libSFCGAL!_ZN6SFCGAL7VersionEv () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #2  0x000000006d3009b1 in libSFCGAL!_ZN6SFCGAL7VersionEv () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #3  0x000000006d51d59f in
 libSFCGAL!_ZN6SFCGAL10LineString8addPointERKNS_5PointE () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #4  0x000000006d51c579 in
 libSFCGAL!_ZN6SFCGAL10LineString8addPointERKNS_5PointE () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #5  0x000000006d517e8c in
 libSFCGAL!_ZN6SFCGAL10LineString8addPointERKNS_5PointE () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #6  0x000000006d5377d9 in
 libSFCGAL!_ZN6SFCGAL10LineString8addPointERKNS_5PointE () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #7  0x000000006d2f8c6b in
 libSFCGAL!_ZN6SFCGAL11triangulate20triangulatePolygon3DERKNS_7PolygonERNS_19TriangulatedSurfaceE
 () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.d
 #8  0x000000006d26c965 in
 libSFCGAL!_ZN6SFCGAL9algorithm22distancePointPolygon3DERKNS_5PointERKNS_7PolygonE
 () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #9  0x000000006d26cb1b in
 libSFCGAL!_ZN6SFCGAL9algorithm23distancePointGeometry3DERKNS_5PointERKNS_8GeometryE
 () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #10 0x000000006d26cbe4 in
 libSFCGAL!_ZN6SFCGAL9algorithm10distance3DERKNS_8GeometryES3_NS0_15NoValidityCheckE
 () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #11 0x000000006d26cdd0 in
 libSFCGAL!_ZN6SFCGAL9algorithm10distance3DERKNS_8GeometryES3_ () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #12 0x000000006d2b8097 in sfcgal_geometry_distance_3d () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\bin\libSFCGAL.dll
 #13 0x0000000070891f7f in sfcgal_distance3D () from
 C:\ming64gcc48\projects\postgresql\rel\pg9.4w64gcc48edb\lib\postgis-2.2.dll
 #14 0x00000001401118e8 in postgres!ExecProject ()
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3256#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list