Opened 13 years ago

Closed 13 years ago

#3859 closed bug (fixed)

segfault on exit after using GRASS layer

Reported by: strk Owned by:
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: GRASS Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description (last modified by jef)

Sorry for the weird Summary, but this is how I reproduce:

  1. start qgis
  2. add grass vector layer
  3. edit grass vector layer
  4. close the grass vector layer editing window (w/out touching anything else)
  5. close the main qgis window, w/out saving

Here's a backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000001 in ?? ()
(gdb) bt
#0  0x0000000000000001 in ?? ()
#1  0x00007ffff5fbd451 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/libQtCore.so.4
#2  0x000000000063e9ff in QObject::disconnect(QObject const*, char const*) ()
#3  0x00007fffe1b0aef7 in QgsGrassEdit::closeEdit() ()
   from /usr/local/lib/qgis/plugins/libgrassplugin.so
#4  0x00007fffe1aeaf95 in QgsGrassPlugin::~QgsGrassPlugin() ()
   from /usr/local/lib/qgis/plugins/libgrassplugin.so
#5  0x00007ffff5fb5a5c in QObjectPrivate::deleteChildren() ()
   from /usr/lib/libQtCore.so.4
#6  0x00007ffff53bd2d5 in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#7  0x000000000053ab6a in QgisApp::~QgisApp() ()
#8  0x0000000000533d6f in main ()

Sounds like a missing handling of the grass editor window close button.

Note this is from the 1.7.0 branch, commit 2516c38 (there's no 1.7.0 version in trac)

Change History (2)

comment:1 by jef, 13 years ago

Description: modified (diff)

comment:2 by jef, 13 years ago

Resolution: fixed
Status: newclosed

fixed in commit edad445fbbc663549d31c55413c2470691c37944

Note: See TracTickets for help on using tickets.