Ticket #271 (closed bug: fixed)

Opened 7 years ago

Last modified 4 years ago

svn 2006.09.14 crashes after using "Move vertex" on an empty canvas

Reported by: tutey@… Owned by: g_j_m
Priority: major: does not work as expected Milestone:
Component: MapCanvas Version: Trunk
Keywords: Cc:
Platform Version: Platform: Linux
Must Fix for Release: Awaiting user input:

Description

1. start Qgis

2. press "Move vertex"

3. left-click on the canvas

4. crash:

#0  0xb6b86f3d in QgsVectorLayer::vectorType (this=0x0)
    at qgsvectorlayer.cpp:1300
#1  0xb6afc115 in QgsMapToolVertexEdit::canvasPressEvent (this=0x8203380,
    e=0xbfe86088) at qgsmaptoolvertexedit.cpp:154
#2  0xb6ad80cb in QgsMapCanvas::contentsMousePressEvent (this=0x8144118,
    e=0xbfe86088) at qgsmapcanvas.cpp:649
#3  0xb7579792 in Q3ScrollView::viewportMousePressEvent ()
   from /usr/lib/libQt3Support.so.4
#4  0xb7579e28 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4
#5  0xb6fed796 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#6  0xb6feea5a in QApplication::notify () from /usr/lib/libQtGui.so.4
#7  0xb703fe7d in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#8  0xb703f568 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#9  0xb705084e in non-virtual thunk to QDesktopWidget::~QDesktopWidget() ()
   from /usr/lib/libQtGui.so.4
#10 0xb77d568a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#11 0xb77d589d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#12 0xb77d7fe7 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#13 0xb6fed565 in QApplication::exec () from /usr/lib/libQtGui.so.4
#14 0x0804c4b8 in main (argc=1, argv=0xbfe86cf4) at main.cpp:604

Change History

Changed 7 years ago by g_j_m

  • owner changed from wonder to g_j_m

Changed 7 years ago by morb_au

Probably best to start-up the Add/Move/Delete? Vertex buttons disabled, so that this sequence can't occur.

Changed 7 years ago by mhugent

  • status changed from new to closed
  • resolution set to fixed

Optional toos are disabled now at startup.

Changed 7 years ago by tutey@…

  • status changed from closed to reopened
  • resolution fixed deleted

The bug is *not* fixed in current SVN HEAD. Still the tools are available at strtup and still 'Move vertex' -> click on canvas make QGIS crash.

Maciek

Changed 7 years ago by mhugent

It works for me with an updated svn copy (23.09.). The digitizing buttons are disabled after startup. I'm using QGIS on Kubuntu with qt-4.1.2. Are there other developers/users where the digitising buttons are enabled at startup?

Marco

Changed 7 years ago by anonymous

  • status changed from reopened to closed
  • resolution set to fixed

My bad, please accept apologies. I tested with an older build by mistake. It's fixed in the yesterday's one.

Maciek

Changed 4 years ago by anonymous

  • milestone Version 0.8 deleted

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.