Opened 13 years ago

Closed 13 years ago

#1738 closed defect (fixed)

ST_MakeValid crash

Reported by: strk Owned by: strk
Priority: critical Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

The attached script crashes the backend with a single call to ST_MakeValid.

Attachments (1)

ST_MakeValidCrash.sql (2.4 KB ) - added by strk 13 years ago.

Download all attachments as: .zip

Change History (4)

by strk, 13 years ago

Attachment: ST_MakeValidCrash.sql added

comment:1 by strk, 13 years ago

Owner: changed from pramsey to strk
Status: newassigned

comment:2 by strk, 13 years ago

Further simplification:

SELECT ST_MakeValid('MULTIPOLYGON(((1725063 4819121, 1725104 4819067, 1725060 4819087, 1725064.14183882 4819094.70208557,1725064.13656044 4819094.70235069,1725064.14210359 4819094.70227252,1725064.14210362 4819094.70227252,1725064.13656043 4819094.70235069,1725055. 4819094, 1725055 4819094, 1725055 4819094, 1725063 4819121)))' ::geometry);

comment:3 by strk, 13 years ago

Resolution: fixed
Status: assignedclosed

Crash was due to an unhandled exception from GEOSSymDifference from within BuildArea call (used by ST_MakeValid).

It's fixed by r9581

But you still get an exception, which will be discussed in #1735

Note: See TracTickets for help on using tickets.