Bug 302489

Summary: kontact (KDE 4.8.4, Kubuntu 12.04, 64 bit) has crashed
Product: [Applications] kontact Reporter: Thomas Dreibholz <dreibh>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Dreibholz 2012-06-25 07:20:44 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

kontact (KDE 4.8.4, Kubuntu 12.04, 64 bit) has crashed, *possibly* after disrupted IMAP connection.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f10ae3507c0 (LWP 31794))]

Thread 4 (Thread 0x7f109174d700 (LWP 31795)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f10aab54dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f10aab54f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f10a6018e9a in start_thread (arg=0x7f109174d700) at pthread_create.c:308
#4  0x00007f10ab8864bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1090e34700 (LWP 31796)):
#0  0x00007f10a601c05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f108c000a60) at pthread_mutex_unlock.c:290
#2  0x00007f10a5b875d1 in g_mutex_unlock (mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:227
#3  0x00007f10a5b4befc in g_main_context_iterate (context=0x7f108c0009a0, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3094
#4  0x00007f10a5b4c164 in g_main_context_iteration (context=0x7f108c0009a0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007f10abffb426 in QEventDispatcherGlib::processEvents (this=0x7f108c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f10abfcac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f10abfcaed7 in QEventLoop::exec (this=0x7f1090e33dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f10abec9fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f10abeccfcb in QThreadPrivate::start (arg=0x2495820) at thread/qthread_unix.cpp:298
#10 0x00007f10a6018e9a in start_thread (arg=0x7f1090e34700) at pthread_create.c:308
#11 0x00007f10ab8864bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1043451700 (LWP 31917)):
#0  0x00007f10ab87ab03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f10a5b4c036 in g_main_context_poll (n_fds=1, fds=0x7f103c003b30, timeout=-1, context=0x7f103c002600, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f103c002600, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x7f103c002600, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007f10a5b4c164 in g_main_context_iteration (context=0x7f103c002600, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007f10abffb426 in QEventDispatcherGlib::processEvents (this=0x7f103c007eb0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f10abfcac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f10abfcaed7 in QEventLoop::exec (this=0x7f1043450d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f10abec9fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f10abfaa9ff in QInotifyFileSystemWatcherEngine::run (this=0x2b004d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f10abeccfcb in QThreadPrivate::start (arg=0x2b004d0) at thread/qthread_unix.cpp:298
#11 0x00007f10a6018e9a in start_thread (arg=0x7f1043451700) at pthread_create.c:308
#12 0x00007f10ab8864bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f10ae3507c0 (LWP 31794)):
[KCrash Handler]
#6  0x00007f10483b91d5 in KMMainWidget::slotSendQueued (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:2675
#7  0x00007f10483cdd56 in KMMainWidget::showNotifications (this=0x2a41d60) at ../../kmail/kmmainwidget.cpp:400
#8  0x00007f10483d6605 in KMMainWidget::qt_static_metacall (_o=0x2a41d60, _c=<optimized out>, _id=<optimized out>, _a=0x7fff913c0b20) at ./kmmainwidget.moc:475
#9  0x00007f10abfe0281 in QMetaObject::activate (sender=0x2a42028, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#10 0x00007f10abfe5179 in QObject::event (this=0x2a42028, e=<optimized out>) at kernel/qobject.cpp:1157
#11 0x00007f10ac9c6894 in notify_helper (e=0x7fff913c1230, receiver=0x2a42028, this=0x22e2f70) at kernel/qapplication.cpp:4559
#12 QApplicationPrivate::notify_helper (this=0x22e2f70, receiver=0x2a42028, e=0x7fff913c1230) at kernel/qapplication.cpp:4531
#13 0x00007f10ac9cb713 in QApplication::notify (this=0x7fff913c2fa0, receiver=0x2a42028, e=0x7fff913c1230) at kernel/qapplication.cpp:4420
#14 0x00007f10ad7009e6 in KApplication::notify (this=0x7fff913c2fa0, receiver=0x2a42028, event=0x7fff913c1230) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007f10abfcbe9c in QCoreApplication::notifyInternal (this=0x7fff913c2fa0, receiver=0x2a42028, event=0x7fff913c1230) at kernel/qcoreapplication.cpp:876
#16 0x00007f10abffd1f2 in sendEvent (event=0x7fff913c1230, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QTimerInfoList::activateTimers (this=0x22e4760) at kernel/qeventdispatcher_unix.cpp:611
#18 0x00007f10abffac0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#19 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#20 0x00007f10abffac31 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#21 0x00007f10a5b4bd53 in g_main_dispatch (context=0x22e4130) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#22 g_main_context_dispatch (context=0x22e4130) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#23 0x00007f10a5b4c0a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x22e4130, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#24 g_main_context_iterate (context=0x22e4130, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#25 0x00007f10a5b4c164 in g_main_context_iteration (context=0x22e4130, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#26 0x00007f10abffb3bf in QEventDispatcherGlib::processEvents (this=0x22acc10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0x00007f10aca6ed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f10abfcac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f10abfcaed7 in QEventLoop::exec (this=0x7fff913c14a0, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f10ace96936 in QDialog::exec (this=0x29416c0) at dialogs/qdialog.cpp:554
#31 0x00007f10ad6676ba in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at ../../kdeui/dialogs/kmessagebox.cpp:344
#32 0x00007f10ad667e94 in KMessageBox::createKMessageBox (dialog=0x29416c0, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#33 0x00007f10ad668b8b in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:854
#34 0x00007f10ad668dab in KMessageBox::error (parent=<optimized out>, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:821
#35 0x00007f10a83d3ad2 in Akonadi::EntityTreeModelPrivate::fetchJobDone (this=0x2993f00, job=0x31cd900) at ../../akonadi/entitytreemodel_p.cpp:1209
#36 0x00007f10abfe0281 in QMetaObject::activate (sender=0x31cd900, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff913c1e40) at kernel/qobject.cpp:3547
#37 0x00007f10ac456182 in KJob::result (this=<optimized out>, _t1=0x31cd900) at ./kjob.moc:208
#38 0x00007f10ac4561c0 in KJob::emitResult (this=0x31cd900) at ../../kdecore/jobs/kjob.cpp:318
#39 0x00007f10ac45627e in KJob::kill (this=0x31cd900, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:117
#40 0x00007f10a84446a7 in Akonadi::Session::clear (this=0x28a2e70) at ../../akonadi/session.cpp:431
#41 0x00007f10a844494b in Akonadi::Session::~Session (this=0x28a2e70, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:394
#42 0x00007f10a8444999 in Akonadi::Session::~Session (this=0x28a2e70, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:396
#43 0x00007f10abfde935 in QObjectPrivate::deleteChildren (this=0x28da470) at kernel/qobject.cpp:1908
#44 0x00007f10abfe4b9c in QObject::~QObject (this=0x28e0b00, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#45 0x00007f104838780d in KMKernel::~KMKernel (this=0x28e0b00, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:226
#46 0x00007f1048387979 in KMKernel::~KMKernel (this=0x28e0b00, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:236
#47 0x00007f10486c26d5 in KMailPart::~KMailPart (this=0x276e080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#48 0x00007f10486c27c9 in KMailPart::~KMailPart (this=0x276e080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:140
#49 0x00007f10adb4560e in KontactInterface::Plugin::~Plugin (this=0x2744230, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#50 0x00007f104965cb6f in KMailPlugin::~KMailPlugin (this=0x2744230, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#51 0x00007f104965cb99 in KMailPlugin::~KMailPlugin (this=0x2744230, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#52 0x00007f10adf7d2e7 in Kontact::MainWindow::~MainWindow (this=0x244bc10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:289
#53 0x00007f10adf7d449 in Kontact::MainWindow::~MainWindow (this=0x244bc10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:291
#54 0x00007f10abfe5478 in QObject::event (this=0x244bc10, e=<optimized out>) at kernel/qobject.cpp:1176
#55 0x00007f10aca16b7b in QWidget::event (this=0x244bc10, event=0x320c690) at kernel/qwidget.cpp:8821
#56 0x00007f10acdf0c4b in QMainWindow::event (this=0x244bc10, event=0x320c690) at widgets/qmainwindow.cpp:1478
#57 0x00007f10ad7fc4d8 in KXmlGuiWindow::event (this=0x244bc10, ev=0x320c690) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#58 0x00007f10ac9c6894 in notify_helper (e=0x320c690, receiver=0x244bc10, this=0x22e2f70) at kernel/qapplication.cpp:4559
#59 QApplicationPrivate::notify_helper (this=0x22e2f70, receiver=0x244bc10, e=0x320c690) at kernel/qapplication.cpp:4531
#60 0x00007f10ac9cb713 in QApplication::notify (this=0x7fff913c2fa0, receiver=0x244bc10, e=0x320c690) at kernel/qapplication.cpp:4420
#61 0x00007f10ad7009e6 in KApplication::notify (this=0x7fff913c2fa0, receiver=0x244bc10, event=0x320c690) at ../../kdeui/kernel/kapplication.cpp:311
#62 0x00007f10abfcbe9c in QCoreApplication::notifyInternal (this=0x7fff913c2fa0, receiver=0x244bc10, event=0x320c690) at kernel/qcoreapplication.cpp:876
#63 0x00007f10abfcfc6a in sendEvent (event=0x320c690, receiver=0x244bc10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#64 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x22ab380) at kernel/qcoreapplication.cpp:1500
#65 0x00007f10abffaf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#66 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#67 0x00007f10a5b4bd53 in g_main_dispatch (context=0x22e4130) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#68 g_main_context_dispatch (context=0x22e4130) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#69 0x00007f10a5b4c0a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x22e4130, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#70 g_main_context_iterate (context=0x22e4130, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#71 0x00007f10a5b4c164 in g_main_context_iteration (context=0x22e4130, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#72 0x00007f10abffb3bf in QEventDispatcherGlib::processEvents (this=0x22acc10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#73 0x00007f10aca6ed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007f10abfcac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007f10abfcaed7 in QEventLoop::exec (this=0x7fff913c2f30, flags=...) at kernel/qeventloop.cpp:204
#76 0x00007f10abfcff67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#77 0x0000000000403629 in main (argc=1, argv=0x7fff913c35c8) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:26:25 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:32:14 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.