Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 959 Bytes

20.md

File metadata and controls

19 lines (18 loc) · 959 Bytes

This statement crashes the debug version of the DuckDB Spatial extension:

SELECT ST_PointOnSurface(g)  FROM (SELECT ST_GeomFromText('MULTIPOINT((0 0), EMPTY)') As g);

The assertion failed here:

duckdb: /duckdb_spatial/build/debug/deps/projects/Source/GEOS/src/algorithm/InteriorPointPoint.cpp:68: void geos::algorithm::InteriorPointPoint::add(const geos::geom::CoordinateXY*): Assertion `point' failed.

Version:

┌─────────────────┬────────────┐
│ library_version │ source_id  │
│     varchar     │  varchar   │
├─────────────────┼────────────┤
│ v0.9.2-dev209   │ 6545a55cfe │
└─────────────────┴────────────┘

The assertion failure is triggered using the latest nightly version of the Spatial extension.