Opened 9 years ago

Closed 9 years ago

Last modified 8 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

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by strk

Attachment: bug586.xml.gz added

XML testcase

comment:1 Changed 9 years ago by strk

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 Changed 9 years ago by strk

Keywords: history added
Resolution: fixed
Status: assignedclosed

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

comment:3 Changed 9 years ago by strk

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 Changed 9 years ago by strk

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 Changed 8 years ago by strk

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

Note: See TracTickets for help on using tickets.