Bug 328224 - Kontact has crashed when fetching e-mail via IMAP
Summary: Kontact has crashed when fetching e-mail via IMAP
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.13
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-11-29 19:04 UTC by Thomas Dreibholz
Modified: 2018-02-01 09:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.39 KB, text/plain)
2014-04-17 14:03 UTC, Till Schäfer
Details
New crash information added by DrKonqi (13.85 KB, text/plain)
2015-06-17 14:17 UTC, David Talmage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2013-11-29 19:04:33 UTC
Application: kontact (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-13-generic x86_64
Distribution: Ubuntu 13.10

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

Kontact under Kubuntu 13.10 has crashed when fetching e-mail via IMAP.

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

Thread 6 (Thread 0x7f59301ab700 (LWP 6101)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f59494fe1cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f59494fe209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5945c28f6e in start_thread (arg=0x7f59301ab700) at pthread_create.c:311
#4  0x00007f594bc8c9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f58ef890700 (LWP 6110)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f594923ebbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f594952da76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5945c28f6e in start_thread (arg=0x7f58ef890700) at pthread_create.c:311
#4  0x00007f594bc8c9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f58dbdb5700 (LWP 7028)):
#0  0x00007f594bc7ff7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f59457506a4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f58d40029b0, timeout=-1, context=0x7f58d40009a0) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:4006
#2  g_main_context_iterate (context=context@entry=0x7f58d40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3707
#3  0x00007f59457507ac in g_main_context_iteration (context=0x7f58d40009a0, may_block=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3773
#4  0x00007f594c405a76 in QEventDispatcherGlib::processEvents (this=0x7f58d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f594c3d75ef in QEventLoop::processEvents (this=this@entry=0x7f58dbdb4d70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f594c3d78e5 in QEventLoop::exec (this=this@entry=0x7f58dbdb4d70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f594c2d688f in QThread::exec (this=this@entry=0x225de40) at thread/qthread.cpp:542
#8  0x00007f594c3b8d13 in QInotifyFileSystemWatcherEngine::run (this=0x225de40) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f594c2d8f2f in QThreadPrivate::start (arg=0x225de40) at thread/qthread_unix.cpp:338
#10 0x00007f5945c28f6e in start_thread (arg=0x7f58dbdb5700) at pthread_create.c:311
#11 0x00007f594bc8c9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f58da524700 (LWP 7070)):
#0  g_mutex_get_impl (mutex=0x7f58d00009a0) at /build/buildd/glib2.0-2.38.1/./glib/gthread-posix.c:123
#1  0x00007f5945790399 in g_mutex_lock (mutex=mutex@entry=0x7f58d00009a0) at /build/buildd/glib2.0-2.38.1/./glib/gthread-posix.c:213
#2  0x00007f594574fd59 in g_main_context_prepare (context=context@entry=0x7f58d00009a0, priority=priority@entry=0x7f58da523c78) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3341
#3  0x00007f59457505c3 in g_main_context_iterate (context=context@entry=0x7f58d00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3692
#4  0x00007f59457507ac in g_main_context_iteration (context=0x7f58d00009a0, may_block=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3773
#5  0x00007f594c405a76 in QEventDispatcherGlib::processEvents (this=0x7f58d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f594c3d75ef in QEventLoop::processEvents (this=this@entry=0x7f58da523db0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f594c3d78e5 in QEventLoop::exec (this=this@entry=0x7f58da523db0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f594c2d688f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f594c2d8f2f in QThreadPrivate::start (arg=0x1cdcaf0) at thread/qthread_unix.cpp:338
#10 0x00007f5945c28f6e in start_thread (arg=0x7f58da524700) at pthread_create.c:311
#11 0x00007f594bc8c9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f58cb1c3700 (LWP 8568)):
#0  0x00007f594bca195e in clock_gettime (clock_id=1, tp=0x7f58cb1c2b00) at ../sysdeps/unix/clock_gettime.c:115
#1  0x00007f594c32d757 in do_gettime (frac=0x7f58cb1c2b00, sec=0x7f58cb1c2af8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f594c406fe5 in updateCurrentTime (this=0x7f58bc01c590) at kernel/qeventdispatcher_unix.cpp:354
#4  QTimerInfoList::timerWait (this=0x7f58bc01c590, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#5  0x00007f594c40582c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f58cb1c2bb4) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f594c4058d5 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f58cb1c2bb4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f594574fd4d in g_main_context_prepare (context=context@entry=0x7f58bc001c00, priority=priority@entry=0x7f58cb1c2c38) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3339
#8  0x00007f59457505c3 in g_main_context_iterate (context=context@entry=0x7f58bc001c00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3692
#9  0x00007f59457507ac in g_main_context_iteration (context=0x7f58bc001c00, may_block=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3773
#10 0x00007f594c405a76 in QEventDispatcherGlib::processEvents (this=0x7f58bc022b90, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007f594c3d75ef in QEventLoop::processEvents (this=this@entry=0x7f58cb1c2d70, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f594c3d78e5 in QEventLoop::exec (this=this@entry=0x7f58cb1c2d70, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f594c2d688f in QThread::exec (this=this@entry=0x2c4e070) at thread/qthread.cpp:542
#14 0x00007f594c3b8d13 in QInotifyFileSystemWatcherEngine::run (this=0x2c4e070) at io/qfilesystemwatcher_inotify.cpp:265
#15 0x00007f594c2d8f2f in QThreadPrivate::start (arg=0x2c4e070) at thread/qthread_unix.cpp:338
#16 0x00007f5945c28f6e in start_thread (arg=0x7f58cb1c3700) at pthread_create.c:311
#17 0x00007f594bc8c9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f594e7167c0 (LWP 6076)):
[KCrash Handler]
#6  0x00007f594bbc8f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f594bbcc5e8 in __GI_abort () at abort.c:90
#8  0x00007f594c2ce912 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x7b2a678 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/kernel/mailkernel.cpp:57") at global/qglobal.cpp:2347
#9  0x00007f594c2cec79 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f58e6ef9fb8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fff3d89ca38) at global/qglobal.cpp:2393
#10 0x00007f594c2cf484 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2576
#11 0x00007f58e6eaeb97 in operator-> (this=<optimized out>) at ../../mailcommon/kernel/mailkernel.cpp:57
#12 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:73
#13 0x00007f58e6e9f970 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x208db20) at ../../mailcommon/folder/foldercollection.cpp:218
#14 0x00007f58e6ea01e2 in MailCommon::FolderCollection::~FolderCollection (this=0x208db20, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:84
#15 0x00007f58e6ea0259 in MailCommon::FolderCollection::~FolderCollection (this=0x208db20, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:86
#16 0x00007f58e6e9ea74 in deref (value=0x208db20, d=0x2111970) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#17 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#18 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#19 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#20 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x288aa40, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#21 0x00007f594bbce071 in __run_exit_handlers (status=255, listp=0x7f594bf536a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#22 0x00007f594bbce0f5 in __GI_exit (status=<optimized out>) at exit.c:99
#23 0x00007f594c870e2e in KCmdLineArgs::isSet (this=this@entry=0x7db5b40, _opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#24 0x0000000000403f17 in KontactApp::newInstance (this=0x7fff3d89dbe0) at ../../../kontact/src/main.cpp:130
#25 0x00007f594dadaccc in KUniqueApplicationAdaptor::newInstance (this=0x1b6ca10, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#26 0x00007f594dadad55 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x1b6ca10, _id=_id@entry=0, _a=_a@entry=0x7fff3d89d1c0, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:58
#27 0x00007f594dadaf73 in qt_static_metacall (_a=0x7fff3d89d1c0, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x1b6ca10) at ./kuniqueapplication_p.moc:101
#28 KUniqueApplicationAdaptor::qt_metacall (this=0x1b6ca10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff3d89d1c0) at ./kuniqueapplication_p.moc:102
#29 0x00007f594affbe36 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x19e35d0, object=object@entry=0x1b6ca10, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#30 0x00007f594affcf8b in QDBusConnectionPrivate::activateCall (this=this@entry=0x19e35d0, object=0x1b6ca10, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#31 0x00007f594affd99d in QDBusConnectionPrivate::activateObject (this=0x19e35d0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#32 0x00007f594affda6b in QDBusActivateObjectEvent::placeMetaCall (this=0x7e7ad60) at qdbusintegrator.cpp:1541
#33 0x00007f594c3f0dce in QObject::event (this=this@entry=0x7fff3d89dbe0, e=e@entry=0x7e7ad60) at kernel/qobject.cpp:1194
#34 0x00007f594c3dcfdc in QCoreApplication::event (this=this@entry=0x7fff3d89dbe0, e=e@entry=0x7e7ad60) at kernel/qcoreapplication.cpp:1758
#35 0x00007f594cdceea3 in QApplication::event (this=0x7fff3d89dbe0, e=0x7e7ad60) at kernel/qapplication.cpp:2549
#36 0x00007f594cdc9dfc in QApplicationPrivate::notify_helper (this=this@entry=0x1a07d60, receiver=receiver@entry=0x7fff3d89dbe0, e=e@entry=0x7e7ad60) at kernel/qapplication.cpp:4567
#37 0x00007f594cdd0470 in QApplication::notify (this=this@entry=0x7fff3d89dbe0, receiver=receiver@entry=0x7fff3d89dbe0, e=e@entry=0x7e7ad60) at kernel/qapplication.cpp:4353
#38 0x00007f594dad3a6a in KApplication::notify (this=0x7fff3d89dbe0, receiver=0x7fff3d89dbe0, event=0x7e7ad60) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007f594c3d88bd in QCoreApplication::notifyInternal (this=0x7fff3d89dbe0, receiver=receiver@entry=0x7fff3d89dbe0, event=event@entry=0x7e7ad60) at kernel/qcoreapplication.cpp:946
#40 0x00007f594c3dbe1f in sendEvent (event=0x7e7ad60, receiver=0x7fff3d89dbe0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x19c21d0) at kernel/qcoreapplication.cpp:1570
#42 0x00007f594c3dc2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#43 0x00007f594c406073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=s@entry=0x19fbf40) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007f59457503b6 in g_main_dispatch (context=0x1a08130) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3065
#46 g_main_context_dispatch (context=context@entry=0x1a08130) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3641
#47 0x00007f5945750708 in g_main_context_iterate (context=context@entry=0x1a08130, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3712
#48 0x00007f59457507ac in g_main_context_iteration (context=0x1a08130, may_block=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3773
#49 0x00007f594c405a55 in QEventDispatcherGlib::processEvents (this=0x19c3690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007f594ce6b9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f594c3d75ef in QEventLoop::processEvents (this=this@entry=0x7fff3d89dae0, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f594c3d78e5 in QEventLoop::exec (this=this@entry=0x7fff3d89dae0, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f594c3dce5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#54 0x00007f594cdc834c in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x0000000000403660 in main (argc=3, argv=0x7fff3d89dd28) at ../../../kontact/src/main.cpp:219

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

Possible duplicates by query: bug 326104, bug 324949, bug 322594, bug 321981, bug 321414.

Reported using DrKonqi
Comment 1 Till Schäfer 2014-04-17 14:03:19 UTC
Created attachment 86140 [details]
New crash information added by DrKonqi

kontact (4.13) on KDE Platform 4.13.0 using Qt 4.8.5

- What I was doing when the application crashed:

i activated kontact with a short cut. this is a very common pattern for this crash in my case. i minize kontact or it is in the background. after calling the shortcut of kontact, it raises to the top. 1 of a hundret times or so it crashes with this message.

please update the bug to 4.13.0

-- Backtrace (Reduced):
#6  0x00007f39dc8a84c5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f39dc8a9948 in __GI_abort () at abort.c:90
[...]
#11 0x00007f397e0f1567 in operator-> (this=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.13.0/work/kmail-4.13.0/mailcommon/kernel/mailkernel.cpp:57
#12 MailCommon::Kernel::self () at /var/tmp/portage/kde-base/kmail-4.13.0/work/kmail-4.13.0/mailcommon/kernel/mailkernel.cpp:73
#13 0x00007f397e13abf9 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x2081390) at /var/tmp/portage/kde-base/kmail-4.13.0/work/kmail-4.13.0/mailcommon/folder/foldercollection.cpp:218
Comment 2 Martin 2014-05-14 21:19:24 UTC
I also experienced the bug. It is the first time but right now KMail crashes every time I start it.
Comment 3 David Talmage 2015-06-17 14:17:50 UTC
Created attachment 93209 [details]
New crash information added by DrKonqi

kontact (4.14.6) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:

I started Kontact from the application menu.  My Kontact fetches mail from my IMAP server on startup.

-- Backtrace (Reduced):
#6  0x00007f14875c0267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f14875c1eca in __GI_abort () at abort.c:89
[...]
#11 0x00007f142147dfff in operator-> (this=<optimized out>) at ../../mailcommon/kernel/mailkernel.cpp:58
#12 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:75
#13 0x00007f14214c8a13 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x1526e70) at ../../mailcommon/folder/foldercollection.cpp:218
Comment 4 Denis Kurz 2017-06-23 19:36:24 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks (5.x). Those 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 oportunity 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 5 Denis Kurz 2018-02-01 09:49:22 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.