Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#599 closed defect (duplicate)

Segfault with ST_Union

Reported by: ppawel Owned by: geos-devel@…
Priority: major Milestone: 3.3.6
Component: Default Version: 3.3.5
Severity: Unassigned Keywords:
Cc: ppawel

Description

Simply execute the query below...

SELECT ST_Union(
'0102000020E610000020000000CE89E2FA1C04ED3F908BC5CAC37649407D2B6DCC4602ED3FE0C4EB55BF7649407A765490FA06ED3FCF28A787B2764940533AA28C020EED3F6FC6C4419D7649400949B0822914ED3F79A40BFB877649402C1B310E8916ED3F69E9656F847649404DD070146A17ED3F650A8CAB80764940016B7AF59617ED3FCD71135A7B76494048663F9CD120ED3F46A22B6C61764940C63FC7A24426ED3F1086F01E56764940EC7E5F6DD62AED3FE64581994A7649404ADD29786532ED3F89BC40A43A76494012E22593AE34ED3F6946F58C337649406F23AF18BF3AED3F4AD6E1E82A764940EBC2B414353DED3F2E3F709527764940EBC2B414353DED3F1D7E92962576494066283806AE3CED3F8FB5752623764940A61EB3FD7538ED3FDC8BC3F418764940F90A1C1A6030ED3FAC5AD2510E76494094EB5C07BD2DED3F96B4E21B0A76494092B1DAFCBF2AED3F763E970403764940F579D67FE728ED3FDD9FE63FFF754940F43F5475EA25ED3F04159F4CED7549409F7EABD09B25ED3F4EEDB199E87549405842D2020F27ED3FBD378600E075494042DFCC9EBA28ED3F9DBB0276DA754940D5C78D6CF827ED3FD40E7F4DD6754940F050B92EA127ED3FDBBD816ED4754940D4C78D6CF827ED3FD40E7F4DD6754940D5C78D6CF827ED3FD40E7F4DD6754940650FA3D6EA21ED3F22A98592C9754940883F790E1B1BED3FEF8A85C6B8754940'::geometry,
'0102000020E61000001D000000CE89E2FA1C04ED3F908BC5CAC37649407D2B6DCC4602ED3FE0C4EB55BF7649407A765490FA06ED3FCF28A787B2764940533AA28C020EED3F6FC6C4419D7649400949B0822914ED3F79A40BFB877649402C1B310E8916ED3F69E9656F847649404DD070146A17ED3F650A8CAB80764940016B7AF59617ED3FCD71135A7B76494048663F9CD120ED3F46A22B6C61764940C63FC7A24426ED3F1086F01E56764940EC7E5F6DD62AED3FE64581994A7649404ADD29786532ED3F89BC40A43A76494012E22593AE34ED3F6946F58C337649406F23AF18BF3AED3F4AD6E1E82A764940EBC2B414353DED3F2E3F709527764940EBC2B414353DED3F1D7E92962576494066283806AE3CED3F8FB5752623764940A61EB3FD7538ED3FDC8BC3F418764940F90A1C1A6030ED3FAC5AD2510E76494094EB5C07BD2DED3F96B4E21B0A76494092B1DAFCBF2AED3F763E970403764940F579D67FE728ED3FDD9FE63FFF754940F43F5475EA25ED3F04159F4CED7549409F7EABD09B25ED3F4EEDB199E87549405842D2020F27ED3FBD378600E075494042DFCC9EBA28ED3F9DBB0276DA754940D4C78D6CF827ED3FD40E7F4DD6754940650FA3D6EA21ED3F22A98592C9754940883F790E1B1BED3FEF8A85C6B8754940'::geometry
);

Change History (5)

comment:1 Changed 8 years ago by ppawel

Cc: ppawel added

comment:2 Changed 8 years ago by strk

Did you try with the tip of the 3.3 branch yet ? See #586

comment:3 in reply to:  2 Changed 8 years ago by ppawel

Replying to strk:

Did you try with the tip of the 3.3 branch yet ? See #586

Yes, I built GEOS from 3.3 branch and the segfault still happens. However, in the backtrace it looks like check_valid returns false which is strange since ST_IsValid is true for both geometries... I will double check that I have built everything correctly.

comment:4 Changed 8 years ago by strk

Resolution: duplicate
Status: newclosed

It actually works for me. I've added this case in the existing testsuite with r3720 in trunk and r3721 in 3.3 branch. Does make check fail for you after svn update ?

I'm considering this a duplicate of #586

comment:5 Changed 8 years ago by ppawel

I confirm that both #598 and this ticket can be closed - it works with the latest 3.3 branch. Sorry for the false alarm.

Note: See TracTickets for help on using tickets.