[Qgis-developer] QGIS crashes when stopping editing mode

Boehnke, Christian c.boehnke at fugro.de
Tue Jun 30 02:38:24 PDT 2015


Hi everybody,

QGIS crashes when discarding all changes made to a vector layer.

I'm writing a plugin to access and modify the attribute table while the layer is in editing mode. When starting the editing mode, I change the attribute values for each new feature with the coordinates from canvas and other given information. When the editing mode stops without saving anything, QGIS crashes giving me a hint with a dump file. The error message is attached (sorry, that it is in german).

I use QGIS 2.8.1 on Windows 8 Pro, 64-bit. My QGIS is in 32-bit to deal with databases. Find attached my minimal python script.

Do you have any ideas how to solve this problem?

Thank you
Christian Böhnke

PS: Curiosly, a few minutes ago it took QGIS 4 times to crash, when discarding all changes to my vector layer. At the fifth time, it crashed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150630/14e4467d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewObject.zip
Type: application/x-zip-compressed
Size: 49553 bytes
Desc: NewObject.zip
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150630/14e4467d/attachment-0001.bin>


More information about the Qgis-developer mailing list