Bug 360227 - Crash on Exit
Summary: Crash on Exit
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-07 21:19 UTC by Chris
Modified: 2018-02-01 09:54 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 Chris 2016-03-07 21:19:32 UTC
Application: kontact (4.14.10)
KDE Platform Version: 4.14.17
Qt Version: 4.8.6
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
Has crashed repeatedly today have hanging on email loads each time resulting in this crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f34e1832800 (LWP 11131))]

Thread 5 (Thread 0x7f34c4b7c700 (LWP 11132)):
#0  0x00007f34d8d8c03f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f34ddf12eb6 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f34ddf12ee9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f34d8d880a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f34ded02fed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f3484279700 (LWP 11133)):
#0  0x00007f34d8d8c03f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f34ddc85b3d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f34ddf3aa06 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f34d8d880a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f34ded02fed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f3475125700 (LWP 11144)):
#0  0x00007f34decf6c8d in read () from /lib64/libc.so.6
#1  0x00007f34d87fcb60 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f34d87bb999 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f34d87bbdf8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f34d87bbf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f34df4f7fde in QEventDispatcherGlib::processEvents (this=0x7f34700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f34df4c9d4f in QEventLoop::processEvents (this=this@entry=0x7f3475124de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f34df4ca045 in QEventLoop::exec (this=this@entry=0x7f3475124de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f34df3c74df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#9  0x00007f34df3c9bbf in QThreadPrivate::start (arg=0x112b7b0) at thread/qthread_unix.cpp:349
#10 0x00007f34d8d880a4 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f34ded02fed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f346e0d1700 (LWP 11395)):
#0  0x00007f34d8d8c03f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f347bce086b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f347bfdcee0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f347bce08a9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f34d8d880a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f34ded02fed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f34e1832800 (LWP 11131)):
[KCrash Handler]
#6  operator QItemSelectionModel* (this=<error reading variable: Cannot access memory at address 0x600000009>) at ../../src/corelib/kernel/qpointer.h:78
#7  QAbstractItemView::selectionModel (this=0x600000001) at itemviews/qabstractitemview.cpp:766
#8  0x00007f347a3468ae in MailCommon::FolderTreeWidget::selectedCollections (this=<optimized out>) at /usr/src/debug/kdepim-4.14.10/mailcommon/folder/foldertreewidget.cpp:243
#9  0x00007f347a9dcf4d in KMMainWidget::updateFolderMenu (this=0x1423310) at /usr/src/debug/kdepim-4.14.10/kmail/kmmainwidget.cpp:3928
#10 0x00007f347a9de01c in KMMainWidget::slotUpdateActionsAfterMailChecking (this=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmmainwidget.cpp:429
#11 0x00007f347aac433a in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.14.10/build/kmail/moc_kmmainwidget.cpp:461
#12 0x00007f34df4df0fa in QMetaObject::activate (sender=0x1423550, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3576
#13 0x00007f34df4e32b1 in QObject::event (this=0x1423550, e=<optimized out>) at kernel/qobject.cpp:1193
#14 0x00007f34dfed579c in QApplicationPrivate::notify_helper (this=this@entry=0xd87880, receiver=receiver@entry=0x1423550, e=e@entry=0x7fff0535daf0) at kernel/qapplication.cpp:4565
#15 0x00007f34dfedbcdd in QApplication::notify (this=this@entry=0x7fff0535ee40, receiver=receiver@entry=0x1423550, e=e@entry=0x7fff0535daf0) at kernel/qapplication.cpp:4351
#16 0x00007f34e0bece1a in KApplication::notify (this=0x7fff0535ee40, receiver=0x1423550, event=0x7fff0535daf0) at /usr/src/debug/kdelibs-4.14.17/kdeui/kernel/kapplication.cpp:311
#17 0x00007f34df4cb18d in QCoreApplication::notifyInternal (this=0x7fff0535ee40, receiver=0x1423550, event=event@entry=0x7fff0535daf0) at kernel/qcoreapplication.cpp:953
#18 0x00007f34df4fabbc in sendEvent (event=0x7fff0535daf0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#19 QTimerInfoList::activateTimers (this=0xd9ba60) at kernel/qeventdispatcher_unix.cpp:636
#20 0x00007f34df4f7e01 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#21 0x00007f34d87bbc84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f34d87bbed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f34d87bbf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f34df4f7fbe in QEventDispatcherGlib::processEvents (this=0xd58ae0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#25 0x00007f34dff726a6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f34df4c9d4f in QEventLoop::processEvents (this=this@entry=0x7fff0535dd70, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f34df4ca045 in QEventLoop::exec (this=this@entry=0x7fff0535dd70, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f34e037856c in QDialog::exec (this=0x1df2380) at dialogs/qdialog.cpp:562
#29 0x00007f34e0b605b2 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x1df2380, icon=..., text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x0, options=..., details=..., notifyType=notifyType@entry=QMessageBox::Critical) at /usr/src/debug/kdelibs-4.14.17/kdeui/dialogs/kmessagebox.cpp:344
#30 0x00007f34e0b607f1 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x1df2380, icon=icon@entry=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x0, options=..., details=...) at /usr/src/debug/kdelibs-4.14.17/kdeui/dialogs/kmessagebox.cpp:159
#31 0x00007f34e0b609fe in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at /usr/src/debug/kdelibs-4.14.17/kdeui/dialogs/kmessagebox.cpp:854
#32 0x00007f34e0b60b0a in KMessageBox::error (parent=parent@entry=0x0, text=..., caption=..., options=...) at /usr/src/debug/kdelibs-4.14.17/kdeui/dialogs/kmessagebox.cpp:821
#33 0x00007f34dad11454 in Akonadi::EntityTreeModelPrivate::pasteJobDone (this=<optimized out>, job=0x32bfd50) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/entitytreemodel_p.cpp:1399
#34 0x00007f34df4df0fa in QMetaObject::activate (sender=sender@entry=0x32bfd50, m=m@entry=0x7f34dfcea6e0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff0535e2e0) at kernel/qobject.cpp:3576
#35 0x00007f34df95f132 in KJob::result (this=this@entry=0x32bfd50, _t1=_t1@entry=0x32bfd50) at /usr/src/debug/kdelibs-4.14.17/build/kdecore/kjob.moc:207
#36 0x00007f34df95f170 in KJob::emitResult (this=this@entry=0x32bfd50) at /usr/src/debug/kdelibs-4.14.17/kdecore/jobs/kjob.cpp:318
#37 0x00007f34df95f20d in KJob::kill (this=0x32bfd50, verbosity=verbosity@entry=KJob::EmitResult) at /usr/src/debug/kdelibs-4.14.17/kdecore/jobs/kjob.cpp:117
#38 0x00007f34dad9ea9e in Akonadi::Session::clear (this=this@entry=0x11c1bf0) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/session.cpp:517
#39 0x00007f34dad9eb1c in Akonadi::Session::~Session (this=0x11c1bf0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/session.cpp:470
#40 0x00007f34dad9eb59 in Akonadi::Session::~Session (this=0x11c1bf0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/session.cpp:472
#41 0x00007f34df4e19e8 in QObjectPrivate::deleteChildren (this=this@entry=0x136b4b0) at kernel/qobject.cpp:1944
#42 0x00007f34df4e3f7f in QObject::~QObject (this=0x13566d0, __in_chrg=<optimized out>) at kernel/qobject.cpp:954
#43 0x00007f347a9ae6cb in KMKernel::~KMKernel (this=0x13566d0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmkernel.cpp:250
#44 0x00007f347a9ae7f9 in KMKernel::~KMKernel (this=0x13566d0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmkernel.cpp:263
#45 0x00007f347ad7a89b in KMailPart::~KMailPart (this=this@entry=0xff22b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmail_part.cpp:115
#46 0x00007f347ad7a969 in KMailPart::~KMailPart (this=0xff22b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmail_part.cpp:116
#47 0x00007f34e12358be in KontactInterface::Plugin::~Plugin (this=0x1155250, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.14.10/kontactinterface/plugin.cpp:92
#48 0x00007f34816496b6 in KMailPlugin::~KMailPlugin (this=0x1155250, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kontact/plugins/kmail/kmail_plugin.cpp:173
#49 0x00007f34816496d9 in KMailPlugin::~KMailPlugin (this=0x1155250, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kontact/plugins/kmail/kmail_plugin.cpp:177
#50 0x00007f34e145c4ce in Kontact::MainWindow::~MainWindow (this=this@entry=0xf360d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kontact/src/mainwindow.cpp:296
#51 0x00007f34e145c629 in Kontact::MainWindow::~MainWindow (this=0xf360d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kontact/src/mainwindow.cpp:298
#52 0x00007f34df4e34d8 in QObject::event (this=this@entry=0xf360d0, e=e@entry=0x32108c0) at kernel/qobject.cpp:1212
#53 0x00007f34dff24cab in QWidget::event (this=this@entry=0xf360d0, event=event@entry=0x32108c0) at kernel/qwidget.cpp:8859
#54 0x00007f34e02da8d3 in QMainWindow::event (this=this@entry=0xf360d0, event=event@entry=0x32108c0) at widgets/qmainwindow.cpp:1478
#55 0x00007f34e0ca0dc1 in KMainWindow::event (this=this@entry=0xf360d0, ev=ev@entry=0x32108c0) at /usr/src/debug/kdelibs-4.14.17/kdeui/widgets/kmainwindow.cpp:1126
#56 0x00007f34e0cd88a9 in KXmlGuiWindow::event (this=0xf360d0, ev=0x32108c0) at /usr/src/debug/kdelibs-4.14.17/kdeui/xmlgui/kxmlguiwindow.cpp:126
#57 0x00007f34dfed579c in QApplicationPrivate::notify_helper (this=this@entry=0xd87880, receiver=receiver@entry=0xf360d0, e=e@entry=0x32108c0) at kernel/qapplication.cpp:4565
#58 0x00007f34dfedbcdd in QApplication::notify (this=this@entry=0x7fff0535ee40, receiver=receiver@entry=0xf360d0, e=e@entry=0x32108c0) at kernel/qapplication.cpp:4351
#59 0x00007f34e0bece1a in KApplication::notify (this=0x7fff0535ee40, receiver=0xf360d0, event=0x32108c0) at /usr/src/debug/kdelibs-4.14.17/kdeui/kernel/kapplication.cpp:311
#60 0x00007f34df4cb18d in QCoreApplication::notifyInternal (this=0x7fff0535ee40, receiver=receiver@entry=0xf360d0, event=event@entry=0x32108c0) at kernel/qcoreapplication.cpp:953
#61 0x00007f34df4ce45d in sendEvent (event=0x32108c0, receiver=0xf360d0) at kernel/qcoreapplication.h:231
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xd53240) at kernel/qcoreapplication.cpp:1577
#63 0x00007f34df4ce903 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#64 0x00007f34df4f87fe in sendPostedEvents () at kernel/qcoreapplication.h:236
#65 postEventSourceDispatch (s=0xd9a980) at kernel/qeventdispatcher_glib.cpp:300
#66 0x00007f34d87bbc84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#67 0x00007f34d87bbed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#68 0x00007f34d87bbf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f34df4f7fbe in QEventDispatcherGlib::processEvents (this=0xd58ae0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#70 0x00007f34dff726a6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x00007f34df4c9d4f in QEventLoop::processEvents (this=this@entry=0x7fff0535ed40, flags=...) at kernel/qeventloop.cpp:149
#72 0x00007f34df4ca045 in QEventLoop::exec (this=this@entry=0x7fff0535ed40, flags=...) at kernel/qeventloop.cpp:204
#73 0x00007f34df4cf499 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#74 0x00007f34dfed3f6c in QApplication::exec () at kernel/qapplication.cpp:3823
#75 0x00000000004037f2 in main (argc=1, argv=0x7fff0535ef88) at /usr/src/debug/kdepim-4.14.10/kontact/src/main.cpp:219

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

Possible duplicates by query: bug 357243.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 21:28:29 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:54:35 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.