Opened 15 years ago
Closed 15 years ago
#2025 closed bug (fixed)
QGIS crashes after editing shapefiles w/o dbf file
Reported by: | zicke | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.4.0 |
Component: | Data Provider | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | RedHat |
Platform Version: | Awaiting user input: | no |
Description
- Load Shapefile
- Toggle Editing
- Select some features
- Merge Selected Features
- Toggle Editing -> Save
- QGIS crashes
gdb backtrace is attached.
I'm using QGIS 1.4.0-Trunk (code revision 11822).
Attachments (1)
Change History (8)
by , 15 years ago
Attachment: | gdb_bt.txt added |
---|
comment:1 by , 15 years ago
Must Fix for Release: | No → Yes |
---|
comment:2 by , 15 years ago
Hm, it works without crash for me here. Could you add a sample dataset and a description which features you select exactly for merging? From the backtrace, it seems there is an error writing to the dbf file. So I wonder if there is a problem related to the dbf file, e.g. file permission. Please also report your GDAL version.
Marco
comment:3 by , 15 years ago
It was a dbf file problem since it wasn't existing. QGIS is able to load a shapefile w/o dbf file and it is possible to move vertex points etc. But QGIS crashes after trying to save the edits.
Stefan
comment:4 by , 15 years ago
Component: | Digitising → Data Provider |
---|---|
Milestone: | → Version 1.4.0 |
follow-up: 7 comment:6 by , 15 years ago
Summary: | QGIS crashes after merging objects from shapefile → QGIS crashes after editing shapefiles w/o dbf file |
---|
comment:7 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in r11824: shapes files without DBFs lack the capability ChangeAttributeValues, so the merge tool shouldn't work on them.
gdb backtrace