Bug 327274

Summary: Crash after restart of kmail after lock on reading new email from imap.
Product: [Applications] kmail2 Reporter: trzeci <pawel.susicki>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.10.5   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description trzeci 2013-11-07 13:04:58 UTC
Application: kmail (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.8.13.4-server-1.mga3 x86_64
Distribution: "Mageia 3"

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

Exit from locked kmail.
Kmail locked on reading new email from imap.
Restarted kmail.

The crash can be reproduced sometimes.

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

Thread 4 (Thread 0x7f2218eff700 (LWP 19563)):
#0  0x00007f2239e135c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f222f540f75 in ?? () from /lib64/libQtWebKit.so.4
#2  0x00007f222f540fc9 in ?? () from /lib64/libQtWebKit.so.4
#3  0x00007f2239e0fd18 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f223be0f7cd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f21d7947700 (LWP 19567)):
#0  0x00007f2239e135c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f222f283719 in ?? () from /lib64/libQtWebKit.so.4
#2  0x00007f222f56f49e in ?? () from /lib64/libQtWebKit.so.4
#3  0x00007f2239e0fd18 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f223be0f7cd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f21d6a4f700 (LWP 19579)):
#0  0x00007f2239e12a9f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f223417ca01 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#2  0x00007f223413f999 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#3  0x00007f223413fac4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f223c79e9c6 in QEventDispatcherGlib::processEvents (this=0x7f21c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f223c76f15f in QEventLoop::processEvents (this=this@entry=0x7f21d6a4ee00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f223c76f3e8 in QEventLoop::exec (this=0x7f21d6a4ee00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f223c670660 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f223c67363c in QThreadPrivate::start (arg=0x177afe0) at thread/qthread_unix.cpp:338
#9  0x00007f2239e0fd18 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f223be0f7cd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f223ea9e780 (LWP 19547)):
[KCrash Handler]
#6  KStatusNotifierItem::setStatus (this=0x1a45550, status=KStatusNotifierItem::Active) at /usr/src/debug/kdelibs-4.10.5/kdeui/notifications/kstatusnotifieritem.cpp:160
#7  0x00007f223d858f7d in KMail::KMSystemTray::setMode(int) () from /lib64/libkmailprivate.so.4
#8  0x00007f223d866c96 in KMKernel::toggleSystemTray() () from /lib64/libkmailprivate.so.4
#9  0x00007f223d8b89e7 in KMMainWidget::readConfig() () from /lib64/libkmailprivate.so.4
#10 0x00007f223d8b8ef0 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, KSharedPtr<KSharedConfig>) () from /lib64/libkmailprivate.so.4
#11 0x00007f223d819b8b in KMMainWin::KMMainWin(QWidget*) () from /lib64/libkmailprivate.so.4
#12 0x00007f223d869aa7 in KMKernel::openReader(bool) () from /lib64/libkmailprivate.so.4
#13 0x00007f223d869ca0 in KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, KUrl const&, KUrl::List const&, QStringList const&) () from /lib64/libkmailprivate.so.4
#14 0x00007f223d86a5f5 in KMKernel::handleCommandLine(bool) () from /lib64/libkmailprivate.so.4
#15 0x0000000000403287 in KMailApplication::newInstance() ()
#16 0x00007f223e4e9a72 in KUniqueApplicationAdaptor::newInstance (this=0x12b3c40, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007f223e4e9af4 in qt_static_metacall (_a=0x7fff0d0a1980, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:57
#18 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff0d0a1980) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:51
#19 0x00007f223e4e9c2b in KUniqueApplicationAdaptor::qt_metacall (this=0x12b3c40, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0d0a1980) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:101
#20 0x00007f223a04aed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x10fb4e0, object=object@entry=0x12b3c40, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00007f223a04bfd5 in QDBusConnectionPrivate::activateCall (this=this@entry=0x10fb4e0, object=0x12b3c40, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#22 0x00007f223a04c946 in QDBusConnectionPrivate::activateObject (this=0x10fb4e0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#23 0x00007f223a04ca3b in QDBusActivateObjectEvent::placeMetaCall (this=0x1c9f1a0) at qdbusintegrator.cpp:1541
#24 0x00007f223c784dae in QObject::event (this=0x7fff0d0a2930, e=<optimized out>) at kernel/qobject.cpp:1194
#25 0x00007f223cc9b4c4 in QApplication::event (this=0x7fff0d0a2930, e=0x1c9f1a0) at kernel/qapplication.cpp:2544
#26 0x00007f223cc993bc in QApplicationPrivate::notify_helper (this=this@entry=0x1121c00, receiver=receiver@entry=0x7fff0d0a2930, e=e@entry=0x1c9f1a0) at kernel/qapplication.cpp:4562
#27 0x00007f223cc9d83a in QApplication::notify (this=0x7fff0d0a2930, receiver=0x7fff0d0a2930, e=0x1c9f1a0) at kernel/qapplication.cpp:4423
#28 0x00007f223e4e37a6 in KApplication::notify (this=0x7fff0d0a2930, receiver=0x7fff0d0a2930, event=0x1c9f1a0) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#29 0x00007f223c7704ae in QCoreApplication::notifyInternal (this=0x7fff0d0a2930, receiver=receiver@entry=0x7fff0d0a2930, event=event@entry=0x1c9f1a0) at kernel/qcoreapplication.cpp:949
#30 0x00007f223c773f61 in sendEvent (event=0x1c9f1a0, receiver=0x7fff0d0a2930) at kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10ad1f0) at kernel/qcoreapplication.cpp:1573
#32 0x00007f223c79e813 in sendPostedEvents () at kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x122c640) at kernel/qeventdispatcher_glib.cpp:280
#34 0x00007f223413f6d5 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#35 0x00007f223413fa08 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#36 0x00007f223413fac4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#37 0x00007f223c79e9a6 in QEventDispatcherGlib::processEvents (this=0x10aead0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#38 0x00007f223cd3952e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f223c76f15f in QEventLoop::processEvents (this=this@entry=0x7fff0d0a25b0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f223c76f3e8 in QEventLoop::exec (this=0x7fff0d0a25b0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f223c774278 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#42 0x0000000000402c63 in main ()

This bug may be a duplicate of or related to bug 315568.

Possible duplicates by query: bug 324053, bug 323572, bug 323277, bug 323135, bug 318172.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-07 14:15:52 UTC

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