[Qgis-developer] Segmentation fault when refreshing browser panel

Radim Blazek radim.blazek at gmail.com
Fri Aug 28 00:52:13 PDT 2015


On Fri, Aug 28, 2015 at 1:36 AM, Pedro Venâncio
<pedrongvenancio at gmail.com> wrote:
> Hi,
>
> I'm working with QGIS master, compiled the day before yesterday, and it
> crashed me (segmentation fault) several times when I was doing "Refresh" in
> the Browser Panel (inside QGIS), 3 or 4 times in a row.
>
> I have the backtrace of 3 of these crashes:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb42c5a5e in QBasicAtomicInt::ref (this=0x65726f63)
>     at /usr/include/qt4/QtCore/qatomic_i386.h:120
> 120                     : "memory");
> (gdb) bt
> #0  0xb42c5a5e in QBasicAtomicInt::ref (this=0x65726f63)
>     at /usr/include/qt4/QtCore/qatomic_i386.h:120
> #1  0xb43e5cb7 in QVector<QgsDataItem*>::QVector (this=0xbfb9e1f4, v=...)
>     at /usr/include/qt4/QtCore/qvector.h:123
> #2  0xb43e5a6b in QgsDataItem::children (this=0x84a7d7a8)
>     at /home/pedro/qgis/QGIS-master/src/core/qgsdataitem.h:180
> #3  0xb43e45df in QgsBrowserModel::findItem (this=0x9410f30, item=0x8f010e8,
>     parent=0x84a7d7a8)
>     at /home/pedro/qgis/QGIS-master/src/core/qgsbrowsermodel.cpp:343
> #4  0xb43e468a in QgsBrowserModel::findItem (this=0x9410f30, item=0x8f010e8,
>     parent=0xafc3800)
[....]
>
> But right now I'm not able to reproduce again. Can anyone confirm?

Refresh after what has happened outside the browser? It could be a
crash when an item was added/removed and the browser crashes trying to
apply that change to the tree. But that is one of the very basic tasks
it is doing (files are even auto refreshed using system notifier) so
there would have to be something particular in it.

Maybe a GRASS item? GRASS mapset with import running?

Radim

> I'm using Linux Xubuntu 14.04.
>
> Best regards,
> Pedro Venâncio
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list