#445 closed bug (fixed)
qgis crash deleting point in postgis table
Reported by: | Owned by: | mhugent | |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Digitising | Version: | 0.8 |
Keywords: | Cc: | cavallini@… | |
Must Fix for Release: | Yes | Platform: | Debian |
Platform Version: | etch | Awaiting user input: | no |
Description
When we try to delete a point in postgis table qgis crash:
Warning: QPainter::begin: Painter already active Segmentation fault
This happens every time we allow editing, select a point, and click on the "cut" icon. It doesn't happen with linestring or polygon.
The problem is similar to http://svn.qgis.org/trac/ticket/132
I don't know if it's could be correlate, but connection to db seems lower than before.
Change History (6)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Must Fix for Release: | No → Yes |
---|
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Made QgsVectorLayer and QgsFeature more robust against 0 geometry objects.
comment:4 by , 17 years ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
The bug fixing caused a side effect: If I try to select from query builder on a table (I tried also as db superuser with full grants) I get an error message: 'Connection to database failed: FATAL: password authentication failed for user "username"'. Furthermore, if I select all records from a table with missing geoms, then zoom to selection, qgis crashes. If I exclude the records with missing geoms, the zoom works well (no crash). So missing geoms appear to be a problem not only for digitizing, but also for selecting. The query builder might be a side effect?
Works for me.
Can you provide a backtrace from the crash?