-
Notifications
You must be signed in to change notification settings - Fork 353
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
segfault with select ST_Node(ST_GeomFromText('LINESTRING EMPTY'))
#601
Comments
I think before the fix to #539 it was triggering an assert (in geos 3.9) Using geos 3.9:
I also get the same assert using postgis/postgis:12-2.5 which ships with geos 3.7.1 (from |
This enjoyably crashes for me too, I think I'm on the head of geos. Anyways, nice clear reproducer. |
Fixed at 49c84d5. |
Using PostGIS docker image 14-3.2-alpine, which ships with postgis 3.2.1 and geos 3.10,
I have a segfault with
select ST_Node(ST_GeomFromText('LINESTRING EMPTY'))
here's the core dump backtrace
I'm not sure if the bug is in geos OR PostGIS, so I'm opening it in both places :)
See https://trac.osgeo.org/postgis/ticket/5145
to reproduce easily:
docker run --rm --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgis/postgis:14-3.2-alpine
(remove-d
to not start in background)docker run -it --rm --link some-postgres postgres psql postgresql://postgres:mysecretpassword@some-postgres -c "select ST_Node(ST_GeomFromText('LINESTRING EMPTY'))"
The text was updated successfully, but these errors were encountered: