Bug 321952 - Marble sometimes crashes in GeoDataTreeModel when closing
Summary: Marble sometimes crashes in GeoDataTreeModel when closing
Status: RESOLVED WORKSFORME
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: 1.6 (KDE 4.11)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-07-04 14:53 UTC by Bernhard Beschow
Modified: 2018-10-31 14:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (17.37 KB, text/plain)
2015-02-18 16:00 UTC, Paul Wise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Beschow 2013-07-04 14:53:12 UTC
Application: marble (1.5.90 (1.6 Beta 2))
KDE Platform Version: 4.10.5 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.9.8-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Marble may crash in GeoDataTreeModel when closing due to unknown reasons. After clearing a route and then hiding the elevation profile float item, Marble crashed when I closed it.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Marble – Virtueller Globus (marble), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fef2b95b780 (LWP 11767))]

Thread 7 (Thread 0x7fef136cb700 (LWP 11773)):
#0  0x00007fffa1376b17 in ?? ()
#1  0x00007fef298a2a90 in ?? () from /usr/lib/libQtCore.so.4
#2  0x000000022976bce4 in ?? ()
#3  0x00007fef0c002860 in ?? ()
#4  0x00007fef136cac68 in ?? ()
#5  0x00007fef136cac00 in ?? ()
#6  0x000000007fffffff in ?? ()
#7  0x00007fef136cac70 in ?? ()
#8  0x00007fef27f1326d in clock_gettime () from /usr/lib/libc.so.6
#9  0x00007fef297ca507 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fef298a4205 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007fef298a29dc in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007fef298a2a85 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007fef21a6e73d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#14 0x00007fef21a6efb3 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007fef21a6f19c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007fef298a2ba6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007fef29874b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0x00007fef29874e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007fef297736ef in QThread::exec() () from /usr/lib/libQtCore.so.4
#20 0x00007fef29856303 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007fef29775d8f in ?? () from /usr/lib/libQtCore.so.4
#22 0x00007fef27400dd2 in start_thread () from /usr/lib/libpthread.so.0
#23 0x00007fef27f01cdd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fef0b39b700 (LWP 11774)):
#0  0x00007fef21a6eb28 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#1  0x00007fef21a6f02b in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fef21a6f19c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fef298a2ba6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fef29874b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fef29874e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fef297736ef in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fef29856303 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fef29775d8f in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fef27400dd2 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fef27f01cdd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7feeffe63700 (LWP 11780)):
#0  0x00007fef274048b4 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fef264342cd in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fef26434309 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fef27400dd2 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fef27f01cdd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7feebf560700 (LWP 11784)):
#0  0x00007fef274048b4 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fef2617674d in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fef26463a66 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fef27400dd2 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fef27f01cdd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7feebe15e700 (LWP 11801)):
#0  0x00007fef21a6f19f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#1  0x00007fef298a2ba6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#2  0x00007fef29874b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0x00007fef29874e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fef297736ef in QThread::exec() () from /usr/lib/libQtCore.so.4
#5  0x00007fef29775d8f in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fef27400dd2 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fef27f01cdd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7feebe95f700 (LWP 11846)):
#0  0x00007fffa1376b17 in ?? ()
#1  0x0000000000000020 in ?? ()
#2  0x0000000221aae4f9 in ?? ()
#3  0x00007fee9c001330 in ?? ()
#4  0x00007fee9c001330 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fef2b95b780 (LWP 11767)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007fef2ae23867 in Marble::GeoDataTreeModel::parent (this=0x28293f8, index=...) at /home/shentey/Projekte/marble/src/src/lib/GeoDataTreeModel.cpp:373
#7  0x00007fef2ae29699 in QModelIndex::parent (this=this@entry=0x7fffa1288c90) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#8  0x00007fef2ae26933 in KDescendantsProxyModel::mapFromSource (this=0x2829410, sourceIndex=...) at /home/shentey/Projekte/marble/src/src/lib/kdescendantsproxymodel.cpp:445
#9  0x00007fef2ae2645e in KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved (this=0x28300c0, parent=..., start=<optimized out>, end=1) at /home/shentey/Projekte/marble/src/src/lib/kdescendantsproxymodel.cpp:707
#10 0x00007fef29889ba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007fef298d39e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#12 0x00007fef2986c865 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#13 0x00007fef2ae2421d in Marble::GeoDataTreeModel::removeFeature (this=this@entry=0x28293f8, parent=0x282e478, row=row@entry=1) at /home/shentey/Projekte/marble/src/src/lib/GeoDataTreeModel.cpp:603
#14 0x00007fef2ae242fe in Marble::GeoDataTreeModel::removeFeature (this=0x28293f8, feature=0x2d33238) at /home/shentey/Projekte/marble/src/src/lib/GeoDataTreeModel.cpp:627
#15 0x00007fef2ae24355 in Marble::GeoDataTreeModel::removeDocument (this=<optimized out>, document=<optimized out>) at /home/shentey/Projekte/marble/src/src/lib/GeoDataTreeModel.cpp:653
#16 0x00007fef2aec9690 in Marble::BookmarkManagerPrivate::~BookmarkManagerPrivate (this=0x282feb0, __in_chrg=<optimized out>) at /home/shentey/Projekte/marble/src/src/lib/BookmarkManager.cpp:39
#17 0x00007fef2aec96d0 in Marble::BookmarkManager::~BookmarkManager (this=0x2829468, __in_chrg=<optimized out>) at /home/shentey/Projekte/marble/src/src/lib/BookmarkManager.cpp:79
#18 0x00007fef2adfc830 in Marble::MarbleModelPrivate::~MarbleModelPrivate (this=0x28292f0, __in_chrg=<optimized out>) at /home/shentey/Projekte/marble/src/src/lib/MarbleModel.cpp:109
#19 0x00007fef2adfab15 in Marble::MarbleModel::~MarbleModel (this=0x2829248, __in_chrg=<optimized out>) at /home/shentey/Projekte/marble/src/src/lib/MarbleModel.cpp:198
#20 0x00007fef2adf6a11 in Marble::MarbleWidget::~MarbleWidget (this=0x2828d40, __in_chrg=<optimized out>) at /home/shentey/Projekte/marble/src/src/lib/MarbleWidget.cpp:177
#21 0x00007fef2adf6a49 in Marble::MarbleWidget::~MarbleWidget (this=0x2828d40, __in_chrg=<optimized out>) at /home/shentey/Projekte/marble/src/src/lib/MarbleWidget.cpp:178
#22 0x00007fef2988c498 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#23 0x00007fef28c65ee7 in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#24 0x000000000041f809 in Marble::ControlView::~ControlView (this=0x2821b30, __in_chrg=<optimized out>) at /home/shentey/Projekte/marble/src/src/ControlView.cpp:84
#25 0x00007fef2b5644e6 in KParts::Part::~Part() () from /usr/lib/libkparts.so.4
#26 0x000000000042eaa6 in Marble::MarblePart::~MarblePart (this=0x2825880, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/shentey/Projekte/marble/src/src/marble_part.cpp:199
#27 0x000000000042eae9 in Marble::MarblePart::~MarblePart (this=0x2825880, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/shentey/Projekte/marble/src/src/marble_part.cpp:205
#28 0x000000000042498e in Marble::MainWindow::~MainWindow (this=0x2825d30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/shentey/Projekte/marble/src/src/KdeMainWindow.cpp:71
#29 0x00000000004249e9 in Marble::MainWindow::~MainWindow (this=0x2825d30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/shentey/Projekte/marble/src/src/KdeMainWindow.cpp:72
#30 0x00007fef2988df98 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x00007fef28c6972b in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x00007fef2901f5e3 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00007fef2a3d84c9 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#34 0x00007fef28c1a12c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007fef28c206f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#36 0x00007fef2a2ebf5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007fef29875efd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#38 0x00007fef29878f4f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#39 0x00007fef298a32c3 in ?? () from /usr/lib/libQtCore.so.4
#40 0x00007fef21a6eda6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0x00007fef21a6f0f8 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x00007fef21a6f19c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0x00007fef298a2b85 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x00007fef28cb72e6 in ?? () from /usr/lib/libQtGui.so.4
#45 0x00007fef29874b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00007fef29874e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0x00007fef29879f8b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#48 0x000000000041d9b7 in main (argc=<optimized out>, argv=<optimized out>) at /home/shentey/Projekte/marble/src/src/kdemain.cpp:403

Reported using DrKonqi
Comment 1 Paul Wise 2015-02-18 16:00:19 UTC
Created attachment 91156 [details]
New crash information added by DrKonqi

marble (1.9.2 (stable release)) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

I closed the application and then the crash happened.

-- Backtrace (Reduced):
#6  Marble::GeoDataTreeModel::parent (this=0x239e030, index=...) at ../../../../src/lib/marble/GeoDataTreeModel.cpp:502
#7  0x00007fbbe26888cc in parent (this=0x7fffdb74b340) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#8  KDescendantsProxyModel::mapFromSource (this=0x239e048, sourceIndex=...) at ../../../../src/lib/marble/kdescendantsproxymodel.cpp:440
#9  0x00007fbbe2689d87 in KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved (this=0x239fd70, parent=..., start=<optimized out>, end=7) at ../../../../src/lib/marble/kdescendantsproxymodel.cpp:702
#10 0x00007fbbe268f689 in KDescendantsProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdescendantsproxymodel.moc:73
Comment 2 Andrew Crouthamel 2018-10-31 04:14:18 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Paul Wise 2018-10-31 04:23:55 UTC
I've tried to reproduce it with marble 17.08.3 and I do not get any crash.
Comment 4 Andrew Crouthamel 2018-10-31 14:49:23 UTC
Thanks for the update!