Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#586 closed defect (fixed)

Segfault from intersection

Reported by: strk Owned by: strk
Priority: major Milestone: 3.3.6
Component: Default Version: 3.3.5
Severity: Unassigned Keywords: history
Cc:

Description

Attachments (1)

bug586.xml.gz (88.9 KB ) - added by strk 12 years ago.
XML testcase

Download all attachments as: .zip

Change History (6)

by strk, 12 years ago

Attachment: bug586.xml.gz added

XML testcase

comment:1 by strk, 12 years ago

Owner: changed from geos-devel@… to strk
Status: newassigned

Looks like a stack overflow while infinitely recurring into UnaryUnion to fix an invalidity. It's indeed a new "feature" to reduce the chances of getting invalid results in output.

comment:2 by strk, 12 years ago

Keywords: history added
Resolution: fixed
Status: assignedclosed

r3711 in trunk (r3712 for the test) and r3713 in 3.3 branch

comment:3 by strk, 12 years ago

Resolution: fixed
Status: closedreopened

Before fully closing this, I think I saw the test still failing in 3.3 branch (not segfaulting but failing). Looking at it to be sure nothing else got broken. An exception would still be acceptable, but worth checking out why.

comment:4 by strk, 12 years ago

Resolution: fixed
Status: reopenedclosed

I just realized that it was the _original_ XML succeeding (the one attached), not the simplified one I pushed into the repo.

A further tweaked test was committed in r3714 for 3.3 branch and r3715 in trunk.

comment:5 by strk, 11 years ago

NOTE: the testcase for this triggers an exception in JTS 1.13+

Note: See TracTickets for help on using tickets.