Skip to content

Instantly share code, notes, and snippets.

@mbernasocchi
Created August 14, 2015 15:15
Show Gist options
  • Save mbernasocchi/4bf99540baf757191599 to your computer and use it in GitHub Desktop.
Save mbernasocchi/4bf99540baf757191599 to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000575454 in QList<QString>::operator= (this=0xf900000111,
l=...) at /usr/include/qt4/QtCore/qlist.h:439
439 if (d != l.d) {
(gdb) bt
#0 0x0000000000575454 in QList<QString>::operator= (this=0xf900000111,
l=...) at /usr/include/qt4/QtCore/qlist.h:439
#1 0x00000000005750ef in QStringList::operator= (this=0xf900000111) at
/usr/include/qt4/QtCore/qstringlist.h:66
#2 0x00007ffff3fc6983 in QgsMapRenderer::setLayerSet
(this=0xf900000079, layers=...) at
/home/marco/dev/QGIS/master/src/core/qgsmaprenderer.cpp:1005
#3 0x00007fff78f733c4 in QgsGlobeTileSource::setLayerSet
(this=0x1f43e50, layerSet=...) at
/home/marco/dev/QGIS/master/src/plugins/globe/qgsglobetilesource.cpp:157
#4 0x00007fff78f54a59 in GlobePlugin::layersAdded (this=0x1bd9030,
mapLayers=...) at
/home/marco/dev/QGIS/master/src/plugins/globe/globe_plugin.cpp:902
#5 0x00007fff78f4fcc9 in GlobePlugin::setupMap (this=0x1bd9030) at
/home/marco/dev/QGIS/master/src/plugins/globe/globe_plugin.cpp:460
#6 0x00007fff78f4eab5 in GlobePlugin::run (this=0x1bd9030) at
/home/marco/dev/QGIS/master/src/plugins/globe/globe_plugin.cpp:351
#7 0x00007fff78f890f4 in GlobePlugin::qt_static_metacall (_o=0x1bd9030,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffffffc490) at
/home/marco/dev/QGIS/master/build-globe25/src/plugins/globe/moc_globe_plugin.cxx:68
#8 0x00007ffff24431ec in QMetaObject::activate
(sender=sender@entry=0x1c6d260, m=m@entry=0x7ffff226a540
<QAction::staticMetaObject>,
local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7fffffffc490)
at kernel/qobject.cpp:3567
#9 0x00007ffff176efd2 in QAction::triggered (this=this@entry=0x1c6d260,
_t1=false) at .moc/release-shared/moc_qaction.cpp:276
#10 0x00007ffff1770b57 in QAction::activate (this=0x1c6d260,
event=<optimized out>) at kernel/qaction.cpp:1257
#11 0x00007ffff1b4c8e3 in QAbstractButtonPrivate::click
(this=this@entry=0x1c6eb20) at widgets/qabstractbutton.cpp:530
#12 0x00007ffff1b4ca34 in QAbstractButton::mouseReleaseEvent
(this=0x1c6eaf0, e=0x7fffffffca60) at widgets/qabstractbutton.cpp:1123
#13 0x00007ffff1c0eb1a in QToolButton::mouseReleaseEvent
(this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#14 0x00007ffff17c8dc8 in QWidget::event (this=0x1c6eaf0,
event=0x7fffffffca60) at kernel/qwidget.cpp:8775
#15 0x00007ffff17759bc in QApplicationPrivate::notify_helper
(this=this@entry=0xf8b4a0, receiver=receiver@entry=0x1c6eaf0,
e=e@entry=0x7fffffffca60) at kernel/qapplication.cpp:4570
#16 0x00007ffff177c63f in QApplication::notify (this=<optimized out>,
receiver=0x1c6eaf0, e=0x7fffffffca60) at kernel/qapplication.cpp:4113
#17 0x00007ffff3eb60fd in QgsApplication::notify (this=0x7fffffffd980,
receiver=0x1c6eaf0, event=0x7fffffffca60) at
/home/marco/dev/QGIS/master/src/core/qgsapplication.cpp:253
#18 0x00007ffff242e1cd in QCoreApplication::notifyInternal
(this=0x7fffffffd980, receiver=receiver@entry=0x1c6eaf0,
event=event@entry=0x7fffffffca60) at kernel/qcoreapplication.cpp:955
#19 0x00007ffff177bc9f in sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x1c6eaf0, event=event@entry=0x7fffffffca60,
alienWidget=alienWidget@entry=0x1c6eaf0,
nativeWidget=nativeWidget@entry=0x12b4070,
buttonDown=buttonDown@entry=0x7ffff22a3578 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#21 0x00007ffff17f59a2 in QETWidget::translateMouseEvent
(this=this@entry=0x12b4070, event=event@entry=0x7fffffffcdc0) at
kernel/qapplication_x11.cpp:4632
#22 0x00007ffff17f524c in QApplication::x11ProcessEvent
(this=0x7fffffffd980, event=event@entry=0x7fffffffcdc0) at
kernel/qapplication_x11.cpp:3626
#23 0x00007ffff181dba2 in x11EventSourceDispatch (s=0xf73970,
callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#24 0x00007fffed1d1c3d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fffed1d1f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fffed1d1fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff245d85e in QEventDispatcherGlib::processEvents
(this=0xf70730, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#28 0x00007ffff181dc66 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007ffff242cd21 in QEventLoop::processEvents
(this=this@entry=0x7fffffffd1a0, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007ffff242d085 in QEventLoop::exec
(this=this@entry=0x7fffffffd1a0, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007ffff2432b09 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1227
more output:
(gdb) print l
$1 = (const QList<QString> &) @0x7fffffff7d20: {{p = {static shared_null
= {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1,
array = {0x0}}, d = 0x1ffbc40}, d = 0x1ffbc40}}
(gdb) print l.d
$2 = (QListData::Data *) 0x1ffbc40
(gdb) print d
$3 = {i = {0, 1076887552}, d = 16}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment