Opened 3 years ago

Closed 3 years ago

Last modified 3 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:

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by strk

XML testcase

comment:1 Changed 3 years ago by strk

  • Owner changed from geos-devel@… to strk
  • Status changed from new to assigned

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

  • Keywords history added
  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:3 Changed 3 years ago by strk

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

  • Resolution set to fixed
  • Status changed from reopened to closed

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

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

Note: See TracTickets for help on using tickets.