[PostGIS] #6029: sfcgal-master branch failing garden test CG_ForceLHR

PostGIS trac at osgeo.org
Mon Dec 15 21:14:39 PST 2025


#6029: sfcgal-master branch failing garden test CG_ForceLHR
---------------------+-----------------------------
 Reporter:  robe     |      Owner:  Loïc Bartoletti
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS SFCGAL
Component:  sfcgal   |    Version:  master
 Keywords:           |
---------------------+-----------------------------
 This crashes


 {{{
 SELECT CG_ForceLHR(ST_GeomFromText('MULTIPOLYGON (((9 9, 9 1, 1 1, 2 4, 7
 7, 9 9)), EMPTY)', 4326))
 }}}


 Trace from GHA:
 https://github.com/Snowflake-
 Labs/postgis/actions/runs/20250727656/job/58141922950#step:4:1409

 {{{
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 Core was generated by `/usr/local/pgsql/bin/postgres '''.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0x00007f699894f519 in CGAL::Sign
 CGAL::Polygon::internal::orientation_2_no_precondition<__gnu_cxx::__normal_iterator<CGAL::Point_2<CGAL::Epeck>
 const*, std::vector<CGAL::Point_2<CGAL::Epeck>,
 std::allocator<CGAL::Point_2<CGAL::Epeck> > > >,
 CGAL::Epeck>(__gnu_cxx::__normal_iterator<CGAL::Point_2<CGAL::Epeck>
 const*, std::vector<CGAL::Point_2<CGAL::Epeck>,
 std::allocator<CGAL::Point_2<CGAL::Epeck> > > >,
 __gnu_cxx::__normal_iterator<CGAL::Point_2<CGAL::Epeck> const*,
 std::vector<CGAL::Point_2<CGAL::Epeck>,
 std::allocator<CGAL::Point_2<CGAL::Epeck> > > >, CGAL::Epeck const&)
 [clone .isra.0] () from /usr/local/lib/libSFCGAL.so.2

 Thread 1 (Thread 0x7f69a4f50780 (LWP 11120)):
 #0  0x00007f699894f519 in CGAL::Sign
 CGAL::Polygon::internal::orientation_2_no_precondition<__gnu_cxx::__normal_iterator<CGAL::Point_2<CGAL::Epeck>
 const*, std::vector<CGAL::Point_2<CGAL::Epeck>,
 std::allocator<CGAL::Point_2<CGAL::Epeck> > > >,
 CGAL::Epeck>(__gnu_cxx::__normal_iterator<CGAL::Point_2<CGAL::Epeck>
 const*, std::vector<CGAL::Point_2<CGAL::Epeck>,
 std::allocator<CGAL::Point_2<CGAL::Epeck> > > >,
 __gnu_cxx::__normal_iterator<CGAL::Point_2<CGAL::Epeck> const*,
 std::vector<CGAL::Point_2<CGAL::Epeck>,
 std::allocator<CGAL::Point_2<CGAL::Epeck> > > >, CGAL::Epeck const&)
 [clone .isra.0] () from /usr/local/lib/libSFCGAL.so.2
 }}}

 I just compiled in windows against sfcgal-master and had same error:
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6029>
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