Bug 311634

Summary: kontact/kmail hangs then crashes upon openinng/checking for new mail
Product: [Applications] kontact Reporter: bosyber
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.9.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bosyber 2012-12-13 15:05:22 UTC
Application: kontact (4.9.4)
KDE Platform Version: 4.9.4
Qt Version: 4.8.2
Operating System: Linux 3.5.0-20-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Just started Kontact, wanted to check mail - but the mail content never showed up. Instead I stared at an empty window for a while, until it crashed.

-- 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 0x7f4e405737c0 (LWP 14394))]

Thread 3 (Thread 0x7f4e38b88700 (LWP 14395)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4e51bd0dec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f4e52599de0) at wtf/FastMalloc.cpp:2495
#2  0x00007f4e51bd0f19 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f4e4d080e9a in start_thread (arg=0x7f4e38b88700) at pthread_create.c:308
#4  0x00007f4e52905cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4e38287700 (LWP 14396)):
#0  0x00007f4e528fa303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4e4cbb3036 in g_main_context_poll (n_fds=1, fds=0x7f4e300029c0, timeout=6365, context=0x7f4e300009a0, 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=0x7f4e300009a0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x7f4e300009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007f4e4cbb3164 in g_main_context_iteration (context=0x7f4e300009a0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007f4e5307c906 in QEventDispatcherGlib::processEvents (this=0x7f4e300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f4e5304be42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4e5304c097 in QEventLoop::exec (this=0x7f4e38286dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4e52f4b057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f4e52f4e07b in QThreadPrivate::start (arg=0x24d0240) at thread/qthread_unix.cpp:307
#10 0x00007f4e4d080e9a in start_thread (arg=0x7f4e38287700) at pthread_create.c:308
#11 0x00007f4e52905cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4e405737c0 (LWP 14394)):
[KCrash Handler]
#6  0x00007f4def93a40f in MailCommon::FolderTreeWidget::selectedCollections (this=0x2e09670) at ../../mailcommon/foldertreewidget.cpp:244
#7  0x00007f4defcfe598 in KMMainWidget::updateFolderMenu (this=0x2e09b50) at ../../kmail/kmmainwidget.cpp:4167
#8  0x00007f4defd139da in KMMainWidget::qt_static_metacall (_o=0x2e09b50, _c=<optimized out>, _id=<optimized out>, _a=0x7fff78d919f0) at ./kmmainwidget.moc:462
#9  0x00007f4e53061761 in QMetaObject::activate (sender=0x33b6950, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#10 0x00007f4e5306af2f in QSingleShotTimer::timerEvent (this=0x33b6950) at kernel/qtimer.cpp:317
#11 0x00007f4e53066659 in QObject::event (this=0x33b6950, e=<optimized out>) at kernel/qobject.cpp:1157
#12 0x00007f4e53a487b4 in notify_helper (e=0x7fff78d92110, receiver=0x33b6950, this=0x23a4a00) at kernel/qapplication.cpp:4556
#13 QApplicationPrivate::notify_helper (this=0x23a4a00, receiver=0x33b6950, e=0x7fff78d92110) at kernel/qapplication.cpp:4528
#14 0x00007f4e53a4d583 in QApplication::notify (this=0x7fff78d93e80, receiver=0x33b6950, e=0x7fff78d92110) at kernel/qapplication.cpp:4417
#15 0x00007f4e54783786 in KApplication::notify (this=0x7fff78d93e80, receiver=0x33b6950, event=0x7fff78d92110) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f4e5304d30c in QCoreApplication::notifyInternal (this=0x7fff78d93e80, receiver=0x33b6950, event=0x7fff78d92110) at kernel/qcoreapplication.cpp:915
#17 0x00007f4e5307e6d2 in sendEvent (event=0x7fff78d92110, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QTimerInfoList::activateTimers (this=0x23a5d60) at kernel/qeventdispatcher_unix.cpp:611
#19 0x00007f4e5307c0ed in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#20 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#21 0x00007f4e5307c111 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#22 0x00007f4e4cbb2d53 in g_main_dispatch (context=0x23a6100) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#23 g_main_context_dispatch (context=0x23a6100) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#24 0x00007f4e4cbb30a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x23a6100, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#25 g_main_context_iterate (context=0x23a6100, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#26 0x00007f4e4cbb3164 in g_main_context_iteration (context=0x23a6100, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#27 0x00007f4e5307c89f in QEventDispatcherGlib::processEvents (this=0x239c410, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007f4e53af0cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f4e5304be42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f4e5304c097 in QEventLoop::exec (this=0x7fff78d92380, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f4e53f18f86 in QDialog::exec (this=0x2bdce60) at dialogs/qdialog.cpp:554
#32 0x00007f4e546ea7ca in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at ../../kdeui/dialogs/kmessagebox.cpp:344
#33 0x00007f4e546eafa4 in KMessageBox::createKMessageBox (dialog=0x2bdce60, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#34 0x00007f4e546ebc9b in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:854
#35 0x00007f4e546ebebb in KMessageBox::error (parent=<optimized out>, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:821
#36 0x00007f4e4f4431f2 in Akonadi::EntityTreeModelPrivate::fetchJobDone (this=0x2bf3750, job=0x2be9dc0) at ../../akonadi/entitytreemodel_p.cpp:1211
#37 0x00007f4e53061761 in QMetaObject::activate (sender=0x2be9dc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff78d92d20) at kernel/qobject.cpp:3547
#38 0x00007f4e534d8482 in KJob::result (this=<optimized out>, _t1=0x2be9dc0) at ./kjob.moc:208
#39 0x00007f4e534d84c0 in KJob::emitResult (this=0x2be9dc0) at ../../kdecore/jobs/kjob.cpp:318
#40 0x00007f4e534d857e in KJob::kill (this=0x2be9dc0, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:117
#41 0x00007f4e4f4b70c7 in Akonadi::Session::clear (this=0x2ad1540) at ../../akonadi/session.cpp:425
#42 0x00007f4e4f4b746b in Akonadi::Session::~Session (this=0x2ad1540, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:394
#43 0x00007f4e4f4b74b9 in Akonadi::Session::~Session (this=0x2ad1540, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:396
#44 0x00007f4e5305fe15 in QObjectPrivate::deleteChildren (this=0x2b19b20) at kernel/qobject.cpp:1908
#45 0x00007f4e5306607c in QObject::~QObject (this=0x2b4f530, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#46 0x00007f4defcc147f in KMKernel::~KMKernel (this=0x2b4f530, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:229
#47 0x00007f4defcc1629 in KMKernel::~KMKernel (this=0x2b4f530, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:239
#48 0x00007f4e340cf6d5 in KMailPart::~KMailPart (this=0x2848c30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#49 0x00007f4e340cf7c9 in KMailPart::~KMailPart (this=0x2848c30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:140
#50 0x00007f4e54bc860e in KontactInterface::Plugin::~Plugin (this=0x26863c0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#51 0x00007f4e34936b6f in KMailPlugin::~KMailPlugin (this=0x26863c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#52 0x00007f4e34936b99 in KMailPlugin::~KMailPlugin (this=0x26863c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#53 0x00007f4e54fff987 in Kontact::MainWindow::~MainWindow (this=0x24e3d80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:291
#54 0x00007f4e54fffae9 in Kontact::MainWindow::~MainWindow (this=0x24e3d80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:293
#55 0x00007f4e53066958 in QObject::event (this=0x24e3d80, e=<optimized out>) at kernel/qobject.cpp:1176
#56 0x00007f4e53a989eb in QWidget::event (this=0x24e3d80, event=0x25db7e0) at kernel/qwidget.cpp:8830
#57 0x00007f4e53e7311b in QMainWindow::event (this=0x24e3d80, event=0x25db7e0) at widgets/qmainwindow.cpp:1478
#58 0x00007f4e5487fa88 in KXmlGuiWindow::event (this=0x24e3d80, ev=0x25db7e0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#59 0x00007f4e53a487b4 in notify_helper (e=0x25db7e0, receiver=0x24e3d80, this=0x23a4a00) at kernel/qapplication.cpp:4556
#60 QApplicationPrivate::notify_helper (this=0x23a4a00, receiver=0x24e3d80, e=0x25db7e0) at kernel/qapplication.cpp:4528
#61 0x00007f4e53a4d583 in QApplication::notify (this=0x7fff78d93e80, receiver=0x24e3d80, e=0x25db7e0) at kernel/qapplication.cpp:4417
#62 0x00007f4e54783786 in KApplication::notify (this=0x7fff78d93e80, receiver=0x24e3d80, event=0x25db7e0) at ../../kdeui/kernel/kapplication.cpp:311
#63 0x00007f4e5304d30c in QCoreApplication::notifyInternal (this=0x7fff78d93e80, receiver=0x24e3d80, event=0x25db7e0) at kernel/qcoreapplication.cpp:915
#64 0x00007f4e530510ea in sendEvent (event=0x25db7e0, receiver=0x24e3d80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#65 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2369380) at kernel/qcoreapplication.cpp:1539
#66 0x00007f4e5307c473 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#67 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#68 0x00007f4e4cbb2d53 in g_main_dispatch (context=0x23a6100) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#69 g_main_context_dispatch (context=0x23a6100) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#70 0x00007f4e4cbb30a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x23a6100, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#71 g_main_context_iterate (context=0x23a6100, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#72 0x00007f4e4cbb3164 in g_main_context_iteration (context=0x23a6100, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#73 0x00007f4e5307c89f in QEventDispatcherGlib::processEvents (this=0x239c410, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#74 0x00007f4e53af0cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007f4e5304be42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007f4e5304c097 in QEventLoop::exec (this=0x7fff78d93e10, flags=...) at kernel/qeventloop.cpp:204
#77 0x00007f4e530513e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#78 0x00000000004035c9 in main (argc=1, argv=0x7fff78d944a8) at ../../../kontact/src/main.cpp:219

This bug may be a duplicate of or related to bug 308147, bug 288141, bug 299224.

Possible duplicates by query: bug 308147, bug 307140, bug 301831, bug 299283, bug 289893.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-12-22 14:02:41 UTC

*** This bug has been marked as a duplicate of bug 288141 ***