#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)
Change History (10)
by , 14 years ago
Attachment: | unionobjektsfail.jpg added |
---|
follow-up: 2 comment:1 by , 14 years ago
Can you please post a sample of the problematic data to try reproduce the problem locally? Thanks.
comment:2 by , 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 , 14 years ago
Component: | Vectors → Digitising |
---|---|
Platform: | Windows → All |
Platform Version: | xpsp3 |
Summary: | qgis crash execute function "union objects" in vector Layers → qgis 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 , 14 years ago
Priority: | major: does not work as expected → critical: causes crash or data corruption |
---|
comment:5 by , 14 years ago
Owner: | changed from | to
---|
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r12673. QGIS now shows a message box if there was an error in the merge operation (instead of crashing).
comment:7 by , 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 , 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
union objects in vector Layer crashes qgis