Bug 344270

Summary: kmail crashed on restart
Product: [Applications] kmail2 Reporter: saleem ali <saleem24>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andysem, kdenis, richard, stillcompiling
Priority: NOR Keywords: drkonqi
Version: 4.14.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description saleem ali 2015-02-17 11:50:17 UTC
Application: kmail (4.14.4)
KDE Platform Version: 4.14.4
Qt Version: 4.8.6
Operating System: Linux 3.18.6-200.fc21.x86_64 x86_64
Distribution: "Korora release 21 (Darla)"

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

kmail got an error while downloading messages from server. kmail configured for google account.
when tried to restart it crashed on dell xps 1645 running korora21

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb028e43900 (LWP 2554))]

Thread 3 (Thread 0x7fafdafb4700 (LWP 2560)):
#0  0x0000003d0440c590 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d31572093 in JSC::BlockAllocator::blockFreeingThreadMain() () from /lib64/libQtWebKit.so.4
#2  0x0000003d31877636 in WTF::wtfThreadEntryPoint(void*) () from /lib64/libQtWebKit.so.4
#3  0x0000003d0440752a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003d0410079d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fafda139700 (LWP 2563)):
#0  0x0000003d040f51fd in poll () from /lib64/libc.so.6
#1  0x0000003d06849e24 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x0000003d06849f3c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003d0f7b4a3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x0000003d0f784261 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003d0f7845c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003d0f679b59 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x0000003d0f67c3bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x0000003d0440752a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003d0410079d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb028e43900 (LWP 2554)):
[KCrash Handler]
#5  0x00007fb0336c2cc1 in KStatusNotifierItem::setStatus(KStatusNotifierItem::ItemStatus) () from /lib64/libkdeui.so.5
#6  0x00007fb03286b3d0 in KMail::KMSystemTray::setMode(int) () from /lib64/libkmailprivate.so.4
#7  0x00007fb032875863 in KMKernel::toggleSystemTray() () from /lib64/libkmailprivate.so.4
#8  0x00007fb0328a468f in KMMainWidget::readConfig() () from /lib64/libkmailprivate.so.4
#9  0x00007fb0328b397c in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, KSharedPtr<KSharedConfig>) () from /lib64/libkmailprivate.so.4
#10 0x00007fb0328638f8 in KMMainWin::KMMainWin(QWidget*) () from /lib64/libkmailprivate.so.4
#11 0x00007fb032874427 in KMKernel::openReader(bool) () from /lib64/libkmailprivate.so.4
#12 0x00007fb032878a44 in KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, KUrl const&, KUrl::List const&, QStringList const&, QString const&, QString const&) () from /lib64/libkmailprivate.so.4
#13 0x00007fb0328799c7 in KMKernel::handleCommandLine(bool) () from /lib64/libkmailprivate.so.4
#14 0x00000000004035ab in KMailApplication::newInstance() ()
#15 0x00007fb03359ed5a in KUniqueApplicationAdaptor::newInstance(QByteArray const&, QByteArray const&) () from /lib64/libkdeui.so.5
#16 0x00007fb03359ee3d in KUniqueApplicationAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.19] () from /lib64/libkdeui.so.5
#17 0x00007fb03359f043 in KUniqueApplicationAdaptor::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libkdeui.so.5
#18 0x0000003d10024656 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /lib64/libQtDBus.so.4
#19 0x0000003d1002586b in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) () from /lib64/libQtDBus.so.4
#20 0x0000003d10026260 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () from /lib64/libQtDBus.so.4
#21 0x0000003d100263eb in QDBusActivateObjectEvent::placeMetaCall(QObject*) () from /lib64/libQtDBus.so.4
#22 0x0000003d0f79e951 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#23 0x0000003d127cd153 in QApplication::event(QEvent*) () from /lib64/libQtGui.so.4
#24 0x0000003d127c7efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#25 0x0000003d127ce958 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#26 0x00007fb03359786a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#27 0x0000003d0f78570d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#28 0x0000003d0f7889d1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#29 0x0000003d0f7b48ae in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#30 0x0000003d06849aeb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x0000003d06849e88 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#32 0x0000003d06849f3c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x0000003d0f7b4a1e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#34 0x0000003d1286b136 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#35 0x0000003d0f784261 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#36 0x0000003d0f7845c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#37 0x0000003d0f789ca9 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#38 0x0000000000402ef2 in main ()

Possible duplicates by query: bug 330673, bug 329063, bug 328795, bug 328218, bug 327274.

Reported using DrKonqi
Comment 1 Lastique 2015-03-13 08:03:28 UTC
Application: kmail (4.14.1)
KDE Platform Version: 4.14.1
Qt Version: 4.8.6
Operating System: Linux 3.16.0-31-generic x86_64
Distribution: Ubuntu 14.10

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

I set to display HTML message bodies for a contact and restarted Kmail. The crash occurred on restart.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1177301900 (LWP 8153))]

Thread 6 (Thread 0x7f114da4b700 (LWP 8158)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1168f2881d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1168f28859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1171eba0a5 in start_thread (arg=0x7f114da4b700) at pthread_create.c:309
#4  0x00007f11745facfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f110c89e700 (LWP 8159)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1168c6920d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1168f57fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1171eba0a5 in start_thread (arg=0x7f110c89e700) at pthread_create.c:309
#4  0x00007f11745facfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f110799e700 (LWP 8160)):
#0  g_mutex_unlock (mutex=0x7f11000009a0) at /build/buildd/glib2.0-2.42.1/./glib/gthread-posix.c:1349
#1  0x00007f116c563dfe in g_main_context_iterate (context=context@entry=0x7f11000009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3759
#2  0x00007f116c563ffc in g_main_context_iteration (context=0x7f11000009a0, may_block=1) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#3  0x00007f1174f9404e in QEventDispatcherGlib::processEvents (this=0x7f11000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1174f654f1 in QEventLoop::processEvents (this=this@entry=0x7f110799dce0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1174f65805 in QEventLoop::exec (this=this@entry=0x7f110799dce0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1174e63c39 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f1174e6639f in QThreadPrivate::start (arg=0x1c0e4d0) at thread/qthread_unix.cpp:349
#8  0x00007f1171eba0a5 in start_thread (arg=0x7f110799e700) at pthread_create.c:309
#9  0x00007f11745facfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f1105713700 (LWP 8161)):
#0  0x00007f11745f084d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f116c563ee4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f10f8003210, timeout=-1, context=0x7f10f80009a0) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:4076
#2  g_main_context_iterate (context=context@entry=0x7f10f80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3776
#3  0x00007f116c563ffc in g_main_context_iteration (context=0x7f10f80009a0, may_block=1) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#4  0x00007f1174f9404e in QEventDispatcherGlib::processEvents (this=0x7f10f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f1174f654f1 in QEventLoop::processEvents (this=this@entry=0x7f1105712ca0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1174f65805 in QEventLoop::exec (this=this@entry=0x7f1105712ca0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1174e63c39 in QThread::exec (this=this@entry=0x22acad0) at thread/qthread.cpp:538
#8  0x00007f1174f47033 in QInotifyFileSystemWatcherEngine::run (this=0x22acad0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f1174e6639f in QThreadPrivate::start (arg=0x22acad0) at thread/qthread_unix.cpp:349
#10 0x00007f1171eba0a5 in start_thread (arg=0x7f1105713700) at pthread_create.c:309
#11 0x00007f11745facfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f10fee11700 (LWP 8013)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f116030bc8a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f116030bcb9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1171eba0a5 in start_thread (arg=0x7f10fee11700) at pthread_create.c:309
#4  0x00007f11745facfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f1177301900 (LWP 8153)):
[KCrash Handler]
#6  0x00007f1176e4e217 in KStatusNotifierItem::setStatus (this=this@entry=0x1eea080, status=status@entry=KStatusNotifierItem::Active) at ../../kdeui/notifications/kstatusnotifieritem.cpp:161
#7  0x00007f1176034205 in KMail::KMSystemTray::setMode (this=0x1eea080, newMode=0) at ../../kmail/kmsystemtray.cpp:167
#8  0x00007f117603e6c3 in KMKernel::toggleSystemTray (this=0x7fff5f124c30) at ../../kmail/kmkernel.cpp:2059
#9  0x00007f117607135f in KMMainWidget::readConfig (this=this@entry=0x1c43260) at ../../kmail/kmmainwidget.cpp:875
#10 0x00007f117607fba1 in KMMainWidget::KMMainWidget (this=0x1c43260, parent=<optimized out>, aGUIClient=0x1959fac0, actionCollection=<optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:271
#11 0x00007f117602c574 in KMMainWin::KMMainWin (this=0x1959fa60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:67
#12 0x00007f117603d247 in KMKernel::openReader (this=this@entry=0x7fff5f124c30, onlyCheck=onlyCheck@entry=false) at ../../kmail/kmkernel.cpp:532
#13 0x00007f11760418b4 in KMKernel::action (this=this@entry=0x7fff5f124c30, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=...) at ../../kmail/kmkernel.cpp:1363
#14 0x00007f1176042837 in KMKernel::handleCommandLine (this=0x7fff5f124c30, noArgsOpensReader=noArgsOpensReader@entry=true) at ../../kmail/kmkernel.cpp:441
#15 0x000000000040344b in KMailApplication::newInstance (this=0x7fff5f124c00) at ../../kmail/main.cpp:87
#16 0x00007f1176d2aa5a in KUniqueApplicationAdaptor::newInstance (this=0x15d5740, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007f1176d2ab3d in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x15d5740, _id=_id@entry=0, _a=_a@entry=0x7fff5f123ff0, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#18 0x00007f1176d2ad43 in qt_static_metacall (_a=0x7fff5f123ff0, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x15d5740) at ./kuniqueapplication_p.moc:100
#19 KUniqueApplicationAdaptor::qt_metacall (this=0x15d5740, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff5f123ff0) at ./kuniqueapplication_p.moc:101
#20 0x00007f1172a44bf6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x14c4a90, object=object@entry=0x15d5740, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00007f1172a45dab in QDBusConnectionPrivate::activateCall (this=this@entry=0x14c4a90, object=0x15d5740, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#22 0x00007f1172a46798 in QDBusConnectionPrivate::activateObject (this=0x14c4a90, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#23 0x00007f1172a4691b in QDBusActivateObjectEvent::placeMetaCall (this=0x193417c0) at qdbusintegrator.cpp:1541
#24 0x00007f1174f7ef41 in QObject::event (this=this@entry=0x7fff5f124c00, e=e@entry=0x193417c0) at kernel/qobject.cpp:1222
#25 0x00007f1174f6aebc in QCoreApplication::event (this=this@entry=0x7fff5f124c00, e=e@entry=0x193417c0) at kernel/qcoreapplication.cpp:1765
#26 0x00007f117549b203 in QApplication::event (this=0x7fff5f124c00, e=0x193417c0) at kernel/qapplication.cpp:2549
#27 0x00007f117549611c in QApplicationPrivate::notify_helper (this=this@entry=0x14d9130, receiver=receiver@entry=0x7fff5f124c00, e=e@entry=0x193417c0) at kernel/qapplication.cpp:4570
#28 0x00007f117549c870 in QApplication::notify (this=this@entry=0x7fff5f124c00, receiver=receiver@entry=0x7fff5f124c00, e=e@entry=0x193417c0) at kernel/qapplication.cpp:4356
#29 0x00007f1176d2357a in KApplication::notify (this=0x7fff5f124c00, receiver=0x7fff5f124c00, event=0x193417c0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f1174f6686d in QCoreApplication::notifyInternal (this=0x7fff5f124c00, receiver=receiver@entry=0x7fff5f124c00, event=event@entry=0x193417c0) at kernel/qcoreapplication.cpp:953
#31 0x00007f1174f69f41 in sendEvent (event=0x193417c0, receiver=0x7fff5f124c00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x14211f0) at kernel/qcoreapplication.cpp:1577
#33 0x00007f1174f6a3d3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#34 0x00007f1174f93ed3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x14d2e20) at kernel/qeventdispatcher_glib.cpp:287
#36 0x00007f116c563c5d in g_main_dispatch (context=0x14d9610) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
#37 g_main_context_dispatch (context=context@entry=0x14d9610) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
#38 0x00007f116c563f48 in g_main_context_iterate (context=context@entry=0x14d9610, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3781
#39 0x00007f116c563ffc in g_main_context_iteration (context=0x14d9610, may_block=1) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#40 0x00007f1174f94031 in QEventDispatcherGlib::processEvents (this=0x1422af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#41 0x00007f11755394e6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f1174f654f1 in QEventLoop::processEvents (this=this@entry=0x7fff5f124860, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f1174f65805 in QEventLoop::exec (this=this@entry=0x7fff5f124860, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f1174f6af67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#45 0x00007f11754944dc in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x0000000000402d8b in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146
Comment 2 Joshua Clayton 2015-05-06 14:52:49 UTC
In my case, a mailing-list filter hung, so I stopped akonadi, closed kmail.
kmail crashed on restart. Logging completely out is the only way to get it back into a working state.

Another possible clue: when started from the command line, I get the following warning:

me@my-pc:~$ kmail
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f47a25c3800 (LWP 3296))]

Thread 5 (Thread 0x7f477ac14700 (LWP 3383)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4793c3981d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4793c39859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f479d1076aa in start_thread (arg=0x7f477ac14700) at pthread_create.c:333
#4  0x00007f479f864eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f4739a81700 (LWP 3421)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f479397a20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4793c68fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f479d1076aa in start_thread (arg=0x7f4739a81700) at pthread_create.c:333
#4  0x00007f479f864eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f4738e23700 (LWP 3425)):
#0  0x00007f479f8598dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f47974ccebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47974ccfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47a0efd82e in QEventDispatcherGlib::processEvents (this=0x7f472c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f47a0ecccd1 in QEventLoop::processEvents (this=this@entry=0x7f4738e22dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f47a0ecd035 in QEventLoop::exec (this=this@entry=0x7f4738e22dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f47a0dc0e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f47a0dc36ff in QThreadPrivate::start (arg=0x288fc30) at thread/qthread_unix.cpp:349
#8  0x00007f479d1076aa in start_thread (arg=0x7f4738e23700) at pthread_create.c:333
#9  0x00007f479f864eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f47313f7700 (LWP 3688)):
#0  0x00007ffd9e3eec2e in clock_gettime ()
#1  0x00007f479f87338d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f47a0e1aac5 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f47a0efe635 in updateCurrentTime (this=0x7f4728002ee0) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f4728002ee0, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f47a0efceec in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f47313f6bb4) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007f47a0efcfb5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007f47974cc3fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f47974ccde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f47974ccfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f47a0efd82e in QEventDispatcherGlib::processEvents (this=0x7f47280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x00007f47a0ecccd1 in QEventLoop::processEvents (this=this@entry=0x7f47313f6d80, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f47a0ecd035 in QEventLoop::exec (this=this@entry=0x7f47313f6d80, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f47a0dc0e89 in QThread::exec (this=this@entry=0x468dfa0) at thread/qthread.cpp:538
#15 0x00007f47a0ead443 in QInotifyFileSystemWatcherEngine::run (this=0x468dfa0) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007f47a0dc36ff in QThreadPrivate::start (arg=0x468dfa0) at thread/qthread_unix.cpp:349
#17 0x00007f479d1076aa in start_thread (arg=0x7f47313f7700) at pthread_create.c:333
#18 0x00007f479f864eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f47a25c3800 (LWP 3296)):
[KCrash Handler]
#6  0x00007f47a210e411 in KStatusNotifierItem::setStatus (this=this@entry=0x2b13d50, status=status@entry=KStatusNotifierItem::Active) at ../../kdeui/notifications/kstatusnotifieritem.cpp:156
#7  0x00007f47a12e3315 in KMail::KMSystemTray::setMode (this=0x2b13d50, newMode=0) at ../../kmail/kmsystemtray.cpp:168
#8  0x00007f47a12edad3 in KMKernel::toggleSystemTray (this=0x7ffd9e3e6bf0) at ../../kmail/kmkernel.cpp:2047
#9  0x00007f47a131d31f in KMMainWidget::readConfig (this=this@entry=0x27d8050) at ../../kmail/kmmainwidget.cpp:862
#10 0x00007f47a132c8cc in KMMainWidget::KMMainWidget (this=0x27d8050, parent=<optimized out>, aGUIClient=0x265cca0, actionCollection=0x264ae60, config=...) at ../../kmail/kmmainwidget.cpp:258
#11 0x00007f47a12db7a8 in KMMainWin::KMMainWin (this=0x265cc40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:63
#12 0x00007f47a12ec617 in KMKernel::openReader (this=this@entry=0x7ffd9e3e6bf0, onlyCheck=onlyCheck@entry=false) at ../../kmail/kmkernel.cpp:536
#13 0x00007f47a12f0db4 in KMKernel::action (this=this@entry=0x7ffd9e3e6bf0, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=...) at ../../kmail/kmkernel.cpp:1352
#14 0x00007f47a12f1d79 in KMKernel::handleCommandLine (this=0x7ffd9e3e6bf0, noArgsOpensReader=noArgsOpensReader@entry=true) at ../../kmail/kmkernel.cpp:445
#15 0x000000000040343b in KMailApplication::newInstance (this=0x7ffd9e3e6bc0) at ../../kmail/main.cpp:87
#16 0x00007f47a1fea06a in KUniqueApplicationAdaptor::newInstance (this=0x24d9260, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007f47a1fea14d in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x24d9260, _id=_id@entry=0, _a=_a@entry=0x7ffd9e3e5f10, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#18 0x00007f47a1fea353 in qt_static_metacall (_a=0x7ffd9e3e5f10, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x24d9260) at ./kuniqueapplication_p.moc:100
#19 KUniqueApplicationAdaptor::qt_metacall (this=0x24d9260, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffd9e3e5f10) at ./kuniqueapplication_p.moc:101
#20 0x00007f479dc976a6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x238b690, object=object@entry=0x24d9260, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00007f479dc988bb in QDBusConnectionPrivate::activateCall (this=this@entry=0x238b690, object=0x24d9260, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#22 0x00007f479dc992b0 in QDBusConnectionPrivate::activateObject (this=0x238b690, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#23 0x00007f479dc9943b in QDBusActivateObjectEvent::placeMetaCall (this=0x4451ee0) at qdbusintegrator.cpp:1541
#24 0x00007f47a0ee7891 in QObject::event (this=this@entry=0x7ffd9e3e6bc0, e=e@entry=0x4451ee0) at kernel/qobject.cpp:1222
#25 0x00007f47a0ed29fc in QCoreApplication::event (this=this@entry=0x7ffd9e3e6bc0, e=e@entry=0x4451ee0) at kernel/qcoreapplication.cpp:1767
#26 0x00007f47a021acd3 in QApplication::event (this=0x7ffd9e3e6bc0, e=0x4451ee0) at kernel/qapplication.cpp:2549
#27 0x00007f47a02159bc in QApplicationPrivate::notify_helper (this=this@entry=0x23af2e0, receiver=receiver@entry=0x7ffd9e3e6bc0, e=e@entry=0x4451ee0) at kernel/qapplication.cpp:4570
#28 0x00007f47a021c4d8 in QApplication::notify (this=this@entry=0x7ffd9e3e6bc0, receiver=receiver@entry=0x7ffd9e3e6bc0, e=e@entry=0x4451ee0) at kernel/qapplication.cpp:4356
#29 0x00007f47a1fe2b4a in KApplication::notify (this=0x7ffd9e3e6bc0, receiver=0x7ffd9e3e6bc0, event=0x4451ee0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f47a0ece17d in QCoreApplication::notifyInternal (this=0x7ffd9e3e6bc0, receiver=receiver@entry=0x7ffd9e3e6bc0, event=event@entry=0x4451ee0) at kernel/qcoreapplication.cpp:955
#31 0x00007f47a0ed1a21 in sendEvent (event=0x4451ee0, receiver=0x7ffd9e3e6bc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2323220) at kernel/qcoreapplication.cpp:1579
#33 0x00007f47a0ed1eb3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#34 0x00007f47a0efd69e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x239efc0) at kernel/qeventdispatcher_glib.cpp:300
#36 0x00007f47974ccc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f47974ccf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f47974ccfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f47a0efd80e in QEventDispatcherGlib::processEvents (this=0x2324b20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#40 0x00007f47a02bdc66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f47a0ecccd1 in QEventLoop::processEvents (this=this@entry=0x7ffd9e3e6800, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f47a0ecd035 in QEventLoop::exec (this=this@entry=0x7ffd9e3e6800, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f47a0ed2ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#44 0x00007f47a0213c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x0000000000402d82 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145
Comment 3 Richard Johnson 2015-05-15 17:07:24 UTC
Created attachment 92627 [details]
New crash information added by DrKonqi

kmail (4.14.6) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:

KMail locked up when I tried to un-delete a message (move back to inbox from trash folder..)

-- Backtrace (Reduced):
#6  0x00007f6239448427 in KStatusNotifierItem::setStatus (this=this@entry=0x1a3c430, status=status@entry=KStatusNotifierItem::Active) at ../../kdeui/notifications/kstatusnotifieritem.cpp:161
#7  0x00007f623861d315 in KMail::KMSystemTray::setMode (this=0x1a3c430, newMode=0) at ../../kmail/kmsystemtray.cpp:168
#8  0x00007f6238627ad3 in KMKernel::toggleSystemTray (this=0x7ffc6c168270) at ../../kmail/kmkernel.cpp:2047
#9  0x00007f623865731f in KMMainWidget::readConfig (this=this@entry=0x299e2e0) at ../../kmail/kmmainwidget.cpp:862
#10 0x00007f62386668cc in KMMainWidget::KMMainWidget (this=0x299e2e0, parent=<optimized out>, aGUIClient=0x16663e0, actionCollection=0x17e7900, config=...) at ../../kmail/kmmainwidget.cpp:258
Comment 4 Denis Kurz 2017-01-20 22:19:44 UTC

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