[QGIS-trac] Re: [Quantum GIS] #3859: segfault on exit after using GRASS layer

Quantum GIS qgis at qgis.org
Tue May 31 15:21:36 EDT 2011


#3859: segfault on exit after using GRASS layer
------------------------------------------------+---------------------------
   Reporter:  strk                              |              Owner:               
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  GRASS                             |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  Debian                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
Description changed by jef:

Old description:

> Sorry for the weird Summary, but this is how I reproduce:
>
> 1. start qgis
> 1. add grass vector layer
> 1. edit grass vector layer
> 1. close the grass vector layer editing window (w/out touching anything
> else)
> 1. 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)

New description:

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

  1. start qgis
  1. add grass vector layer
  1. edit grass vector layer
  1. close the grass vector layer editing window (w/out touching anything
 else)
  1. 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)

--

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3859#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list