Bug 347088 - Marble segfaults when closing
Summary: Marble segfaults when closing
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-03 09:55 UTC by phil
Modified: 2016-04-02 07:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phil 2015-05-03 09:55:58 UTC
Application: marble (1.9.95 (1.10 Beta 3))
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-15-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
Closing Marble via menu (File > Quit)

Before that I was playing around with different map types (switched between a few and downloaded some but not used), info boxes (making some visible and hiding others), and adding measure points.
I also hid the Toolbar though I don't see how that would cause the crash.

-- Backtrace:
Application: Marble Virtual Globe (marble), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4603e07800 (LWP 10385))]

Thread 10 (Thread 0x7f45e1ee7700 (LWP 10387)):
#0  0x00007f460032b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45f9979ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45f9979fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4600ac682e in QEventDispatcherGlib::processEvents (this=0x7f45dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f4600a95cd1 in QEventLoop::processEvents (this=this@entry=0x7f45e1ee6d80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4600a96035 in QEventLoop::exec (this=this@entry=0x7f45e1ee6d80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4600989e89 in QThread::exec (this=this@entry=0xee8b90) at thread/qthread.cpp:538
#7  0x00007f4600a76443 in QInotifyFileSystemWatcherEngine::run (this=0xee8b90) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f460098c6ff in QThreadPrivate::start (arg=0xee8b90) at thread/qthread_unix.cpp:349
#9  0x00007f45fa4c76aa in start_thread (arg=0x7f45e1ee7700) at pthread_create.c:333
#10 0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f45d888f700 (LWP 10388)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f45fe87181d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f45fe871859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f45fa4c76aa in start_thread (arg=0x7f45d888f700) at pthread_create.c:333
#4  0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f4597f8c700 (LWP 10389)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f45fe5b220d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f45fe8a0fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f45fa4c76aa in start_thread (arg=0x7f4597f8c700) at pthread_create.c:333
#4  0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f457effd700 (LWP 10416)):
#0  0x00007f460032749d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45f99bd2f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45f997996c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45f9979e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f45f9979fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4600ac682e in QEventDispatcherGlib::processEvents (this=0x7f45780013e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f4600a95cd1 in QEventLoop::processEvents (this=this@entry=0x7f457effcdd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4600a96035 in QEventLoop::exec (this=this@entry=0x7f457effcdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4600989e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#9  0x00007f460098c6ff in QThreadPrivate::start (arg=0x15e8710) at thread/qthread_unix.cpp:349
#10 0x00007f45fa4c76aa in start_thread (arg=0x7f457effd700) at pthread_create.c:333
#11 0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f4594b48700 (LWP 10417)):
#0  0x00007f460032749d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45f99bd2f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45f997996c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45f9979e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f45f9979fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4600ac682e in QEventDispatcherGlib::processEvents (this=0x7f4554002390, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f4600a95cd1 in QEventLoop::processEvents (this=this@entry=0x7f4594b47dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4600a96035 in QEventLoop::exec (this=this@entry=0x7f4594b47dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4600989e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#9  0x00007f460098c6ff in QThreadPrivate::start (arg=0xdbc6e0) at thread/qthread_unix.cpp:349
#10 0x00007f45fa4c76aa in start_thread (arg=0x7f4594b48700) at pthread_create.c:333
#11 0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f4584ff9700 (LWP 10418)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f45ff502a7a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f45ff502aa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f45fa4c76aa in start_thread (arg=0x7f4584ff9700) at pthread_create.c:333
#4  0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f4547fff700 (LWP 14323)):
#0  0x00007f460032b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45f9979ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45f9979fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4600ac682e in QEventDispatcherGlib::processEvents (this=0x7f4570000a10, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f4600a95cd1 in QEventLoop::processEvents (this=this@entry=0x7f4547ffedd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4600a96035 in QEventLoop::exec (this=this@entry=0x7f4547ffedd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4600989e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f460098c6ff in QThreadPrivate::start (arg=0x4eb15d0) at thread/qthread_unix.cpp:349
#8  0x00007f45fa4c76aa in start_thread (arg=0x7f4547fff700) at pthread_create.c:333
#9  0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f4587fff700 (LWP 15052)):
#0  0x00007f45f99be7a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f45f9979eb1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45f9979fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4600ac682e in QEventDispatcherGlib::processEvents (this=0x7f454c0bc880, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f4600a95cd1 in QEventLoop::processEvents (this=this@entry=0x7f4587ffed80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4600a96035 in QEventLoop::exec (this=this@entry=0x7f4587ffed80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4600989e89 in QThread::exec (this=this@entry=0x3b71620) at thread/qthread.cpp:538
#7  0x00007f4600a76443 in QInotifyFileSystemWatcherEngine::run (this=0x3b71620) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f460098c6ff in QThreadPrivate::start (arg=0x3b71620) at thread/qthread_unix.cpp:349
#9  0x00007f45fa4c76aa in start_thread (arg=0x7f4587fff700) at pthread_create.c:333
#10 0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f457dffb700 (LWP 20383)):
#0  0x00007f460032749d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45f99bd2f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45f997996c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45f9979e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f45f9979fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4600ac682e in QEventDispatcherGlib::processEvents (this=0x7f4580006240, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f4600a95cd1 in QEventLoop::processEvents (this=this@entry=0x7f457dffad80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4600a96035 in QEventLoop::exec (this=this@entry=0x7f457dffad80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4600989e89 in QThread::exec (this=this@entry=0x3cd69d0) at thread/qthread.cpp:538
#9  0x00007f4600a76443 in QInotifyFileSystemWatcherEngine::run (this=0x3cd69d0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f460098c6ff in QThreadPrivate::start (arg=0x3cd69d0) at thread/qthread_unix.cpp:349
#11 0x00007f45fa4c76aa in start_thread (arg=0x7f457dffb700) at pthread_create.c:333
#12 0x00007f4600336eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4603e07800 (LWP 10385)):
[KCrash Handler]
#6  0x0000000000000001 in ?? ()
#7  0x00007f46032dc3e3 in Marble::GeoDataTreeModel::parent (this=0xe4d6a0, index=...) at ../../../../src/lib/marble/GeoDataTreeModel.cpp:496
#8  0x00007f46032e183c in parent (this=0x7ffdef358be0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  KDescendantsProxyModel::mapFromSource (this=0xe4d6b8, sourceIndex=...) at ../../../../src/lib/marble/kdescendantsproxymodel.cpp:440
#10 0x00007f46032e2b0c in KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved (this=0xe4dcf0, parent=..., start=8, end=8) at ../../../../src/lib/marble/kdescendantsproxymodel.cpp:693
#11 0x00007f46032e8719 in KDescendantsProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdescendantsproxymodel.moc:73
#12 0x00007f4600aac19c in QMetaObject::activate (sender=sender@entry=0xe4d6a0, m=m@entry=0x7f4600dfc8a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffdef358e70) at kernel/qobject.cpp:3567
#13 0x00007f4600af8794 in QAbstractItemModel::rowsAboutToBeRemoved (this=this@entry=0xe4d6a0, _t1=..., _t2=_t2@entry=8, _t3=_t3@entry=8) at .moc/release-shared/moc_qabstractitemmodel.cpp:203
#14 0x00007f4600a8d295 in QAbstractItemModel::beginRemoveRows (this=this@entry=0xe4d6a0, parent=..., first=first@entry=8, last=last@entry=8) at kernel/qabstractitemmodel.cpp:2470
#15 0x00007f46032dd75d in Marble::GeoDataTreeModel::removeFeature (this=0xe4d6a0, parent=0xe653a8, row=8) at ../../../../src/lib/marble/GeoDataTreeModel.cpp:826
#16 0x00007f46032dd849 in Marble::GeoDataTreeModel::removeFeature (this=0xe4d6a0, feature=0x4c86d28) at ../../../../src/lib/marble/GeoDataTreeModel.cpp:850
#17 0x00007f46032dd875 in Marble::GeoDataTreeModel::removeDocument (this=<optimized out>, document=<optimized out>) at ../../../../src/lib/marble/GeoDataTreeModel.cpp:876
#18 0x00007f46033d1481 in ~BookmarkManagerPrivate (this=0xe4c6c0, __in_chrg=<optimized out>) at ../../../../src/lib/marble/BookmarkManager.cpp:42
#19 Marble::BookmarkManager::~BookmarkManager (this=0xe4d738, __in_chrg=<optimized out>) at ../../../../src/lib/marble/BookmarkManager.cpp:83
#20 0x00007f460328fd4f in ~MarbleModelPrivate (this=0xe4d5c0, __in_chrg=<optimized out>) at ../../../../src/lib/marble/MarbleModel.cpp:121
#21 Marble::MarbleModel::~MarbleModel (this=0xe7cc00, __in_chrg=<optimized out>) at ../../../../src/lib/marble/MarbleModel.cpp:209
#22 0x00007f460328b99a in Marble::MarbleAbstractPresenter::~MarbleAbstractPresenter (this=0xe7cbf0, __in_chrg=<optimized out>) at ../../../../src/lib/marble/MarbleAbstractPresenter.cpp:43
#23 0x00007f4603288c81 in ~MarbleWidgetPrivate (this=0xe7cbf0, __in_chrg=<optimized out>) at ../../../../src/lib/marble/MarbleWidget.cpp:108
#24 ~MarbleWidgetPrivate (this=0xe7cbf0, __in_chrg=<optimized out>) at ../../../../src/lib/marble/MarbleWidget.cpp:113
#25 Marble::MarbleWidget::~MarbleWidget (this=0xe7c9b0, __in_chrg=<optimized out>) at ../../../../src/lib/marble/MarbleWidget.cpp:161
#26 0x00007f4603288cc9 in Marble::MarbleWidget::~MarbleWidget (this=0xe7c9b0, __in_chrg=<optimized out>) at ../../../../src/lib/marble/MarbleWidget.cpp:162
#27 0x00007f4600aaecc8 in QObjectPrivate::deleteChildren (this=this@entry=0xe27580) at kernel/qobject.cpp:1935
#28 0x00007f460137b7f3 in QWidget::~QWidget (this=0xe4f410, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#29 0x000000000043e269 in Marble::ControlView::~ControlView (this=0xe4f410, __in_chrg=<optimized out>) at ../../../../src/apps/marble-ui/ControlView.cpp:108
#30 0x00007f46039fdbaf in KParts::Part::~Part() () from /usr/lib/libkparts.so.4
#31 0x000000000042f3ad in Marble::MarblePart::~MarblePart (this=0xe50350, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../src/apps/marble-kde/marble_part.cpp:209
#32 0x000000000042f3e9 in Marble::MarblePart::~MarblePart (this=0xe50350, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../src/apps/marble-kde/marble_part.cpp:215
#33 0x000000000041c6fb in Marble::MainWindow::~MainWindow (this=0xe1cf60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../src/apps/marble-kde/KdeMainWindow.cpp:145
#34 0x000000000041c769 in Marble::MainWindow::~MainWindow (this=0xe1cf60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../src/apps/marble-kde/KdeMainWindow.cpp:146
#35 0x00007f4600ab08b8 in QObject::event (this=0xe1cf60, e=<optimized out>) at kernel/qobject.cpp:1203
#36 0x00007f460137c2e3 in QWidget::event (this=0xe1cf60, event=0x682fbd0) at kernel/qwidget.cpp:8859
#37 0x00007f460175c8e3 in QMainWindow::event (this=0xe1cf60, event=0x682fbd0) at widgets/qmainwindow.cpp:1478
#38 0x00007f46028bab09 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#39 0x00007f46013289bc in QApplicationPrivate::notify_helper (this=this@entry=0xcf3330, receiver=receiver@entry=0xe1cf60, e=e@entry=0x682fbd0) at kernel/qapplication.cpp:4570
#40 0x00007f460132f4d8 in QApplication::notify (this=0x7ffdef359a70, receiver=0xe1cf60, e=0x682fbd0) at kernel/qapplication.cpp:4356
#41 0x00007f46027b8b4a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#42 0x00007f4600a9717d in QCoreApplication::notifyInternal (this=0x7ffdef359a70, receiver=receiver@entry=0xe1cf60, event=event@entry=0x682fbd0) at kernel/qcoreapplication.cpp:955
#43 0x00007f4600a9aa21 in sendEvent (event=0x682fbd0, receiver=0xe1cf60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xc6cd90) at kernel/qcoreapplication.cpp:1579
#45 0x00007f4600a9aeb3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#46 0x00007f4600ac669e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=0xcf5d30) at kernel/qeventdispatcher_glib.cpp:300
#48 0x00007f45f9979c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f45f9979f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f45f9979fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f4600ac680e in QEventDispatcherGlib::processEvents (this=0xcdbcb0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#52 0x00007f46013d0c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f4600a95cd1 in QEventLoop::processEvents (this=this@entry=0x7ffdef359940, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f4600a96035 in QEventLoop::exec (this=this@entry=0x7ffdef359940, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f4600a9bab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#56 0x00007f4601326c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x000000000041bf5c in main (argc=<optimized out>, argv=<optimized out>) at ../../../../src/apps/marble-kde/kdemain.cpp:407

The reporter indicates this bug may be a duplicate of or related to bug 321952.

Possible duplicates by query: bug 321952.

Reported using DrKonqi
Comment 1 Dennis Nienhüser 2016-04-02 07:08:33 UTC
From the backtrace I'd say this was caused by the sync manager and should be fixed in the current stable release.