Opened 16 years ago

Last modified 15 years ago

#219 closed defect

This geometry causes buffer(?, 0) to crash the PostGresql server — at Initial Version

Reported by: robe Owned by: geos-devel@…
Priority: major Milestone: 3.0.4
Component: Default Version: 3.0.3
Severity: Unassigned Keywords:
Cc: mbdavis@…

Description

This was submitted to PostGIS -- and we have confirmed this to be an issue in 3.0.3 and 3.1.0 SVN of GEOS with newer installs of PostGIS and believe its a GEOS bug and not a PostGIS one. Refer to http://code.google.com/p/postgis/issues/detail?id=81

What steps will reproduce the problem?

  1. Run the attached script

2. 3.

What is the expected output? What do you see instead?

server closed the connection unexpectedly

This probably means the server terminated abnormally before or while processing the request.

connection to server was lost

What version of the product are you using? On what operating system?

psql 8.3.5 postgis_version: 1.3 USE_GEOS=1 USE_PROJ=1 USE_STATS=1 postgis_geos_version: 3.0.1-CAPI-1.4.2 Fedora 10

Please provide any additional information below.

The following is written to the log file:

bufferOriginalPrecision failed (TopologyException: unable to assign hole to a shell), trying with reduced precision recomputing with precision scale factor = 1e+09 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09

dstahlke svdev [local] SELECT:

../../source/headers/geos/noding/SegmentString.h:175: void geos::noding::SegmentString::testInvariant() const: Assertion `pts->size()

1' failed.

LOG: server process (PID 863) was terminated by signal 6: Aborted LOG: terminating any other active server processes LOG: all server processes terminated; reinitializing LOG: database system was interrupted; last known up at 2008-12-05 14:16:19 AKST LOG: database system was not properly shut down; automatic recovery in progress LOG: record with zero length at 0/3C5BC340 LOG: redo is not required LOG: database system is ready to accept connections LOG: autovacuum launcher started

Change History (1)

by robe, 16 years ago

Attachment: geos-bug.sql added
Note: See TracTickets for help on using tickets.