Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2342 closed bug (fixed)

qgis crashes when using the "merge selected features" tool

Reported by: gespiel Owned by: mhugent
Priority: critical: causes crash or data corruption Milestone: Version 1.5.0
Component: Digitising Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Hello,

tried to union the marked obejcts in a vector layer. The function start and near 98% done, qgis crash.

When I reduce the amount of the marked objects, function show 100% is done, but when I will save the changes in the layer, qgis crash.

A screenshot is attached

Attachments (2)

unionobjektsfail.jpg (126.6 KB ) - added by gespiel 14 years ago.
union objects in vector Layer crashes qgis
vereinigungsshape.zip (91.3 KB ) - added by gespiel 14 years ago.
sample data union Objects crash qgis

Download all attachments as: .zip

Change History (10)

by gespiel, 14 years ago

Attachment: unionobjektsfail.jpg added

union objects in vector Layer crashes qgis

comment:1 by lutra, 14 years ago

Can you please post a sample of the problematic data to try reproduce the problem locally? Thanks.

by gespiel, 14 years ago

Attachment: vereinigungsshape.zip added

sample data union Objects crash qgis

in reply to:  1 comment:2 by gespiel, 14 years ago

Replying to lutra:

Can you please post a sample of the problematic data to try reproduce the problem locally? Thanks.

zip file with datas is attached

comment:3 by lutra, 14 years ago

Component: VectorsDigitising
Platform: WindowsAll
Platform Version: xpsp3
Summary: qgis crash execute function "union objects" in vector Layersqgis crashes when using the "merge selected features" tool

The terminal returns

ERROR 1: TopologyException: found non-noded intersection between 2.5578e+06 5.52369e+06, 2.5578e+06 5.52369e+06 and 2.5578e+06 5.52369e+06, 2.55779e+06 5.52369e+06 2.5578e+06 5.52369e+06
Segmentation fault

comment:4 by lutra, 14 years ago

Priority: major: does not work as expectedcritical: causes crash or data corruption

comment:5 by mhugent, 14 years ago

Owner: changed from nobody to mhugent

comment:6 by mhugent, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in r12673. QGIS now shows a message box if there was an error in the merge operation (instead of crashing).

comment:7 by lutra, 14 years ago

Thanks Marco.

I noticed that the "check geomtery validity" tool does not returns any topology error when used in the attached vector. This way the user has no clue why the merge fails.

comment:8 by gespiel, 14 years ago

Hello,

Befor I opened this new ticket, i had first tested the attached vectorlayer also with ftools "check geometrie" and it was ok.

The problematic object in the layer seems to be nr 97 (97 in the dbf, field NR.)You can`t merge it with other objects.

Gerhard

Note: See TracTickets for help on using tickets.