Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failed in InteriorPointPoint #20

Open
cuteDen-ECNU opened this issue Nov 7, 2023 · 1 comment
Open

Assertion failed in InteriorPointPoint #20

cuteDen-ECNU opened this issue Nov 7, 2023 · 1 comment

Comments

@cuteDen-ECNU
Copy link
Owner

cuteDen-ECNU commented Nov 7, 2023

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.

@cuteDen-ECNU
Copy link
Owner Author

cuteDen-ECNU commented Nov 8, 2023

bugtracker link: duckdb/duckdb-spatial#176
fix link: d3f5332
reproduce: b1ecd10

@cuteDen-ECNU cuteDen-ECNU added duplicate This issue or pull request already exists fixed and removed reported duplicate This issue or pull request already exists labels Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant