Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#839 closed bug (fixed)

Crash when moving a vertex

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

Description

The following steps cause qgis to crash:

  • Load a linestring layer (from PostgreSQL in my case)
  • Enable editing on the layer
  • Click on the 'move vertex' tool
  • Click on the map, well away from the linestring, hold down the left mouse button and move the mouse
  • Qgis will crash

The backtrace starts with:

#0  0xb711fab9 in QgsGeometryVertexIndex::back ()
   from /home/gavin/local/lib/libqgis_core.so
#1  0x0817ca0c in QgsMapToolVertexEdit::canvasMoveEvent ()
#2  0xb703fb72 in QgsMapCanvas::mouseMoveEvent ()
   from /home/gavin/local/lib/libqgis_gui.so
#3  0xb78734e6 in QWidget::event (this=0x8469388, event=0xbfda7444)
    at kernel/qwidget.cpp:5703

This is with svn r7668 with the dialog box warning about the snap tolerance disabled. I think that prior to being able to disable the dialog box, a click down and move without selecting a vertex was not possible.

Gavin

Change History (2)

comment:1 by jef, 16 years ago

Resolution: fixed
Status: newclosed

fixed in r7678

comment:2 by (none), 15 years ago

Milestone: Version 0.9.1

Milestone Version 0.9.1 deleted

Note: See TracTickets for help on using tickets.