Bug 323572 - Crash on start after I quit previous kmail because it got stuck on local folder
Summary: Crash on start after I quit previous kmail because it got stuck on local folder
Status: RESOLVED DUPLICATE of bug 315568
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-15 23:29 UTC by Volker Kuhlmann
Modified: 2013-08-26 12:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Kuhlmann 2013-08-15 23:29:09 UTC
Application: kmail (4.10.5)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

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

There are problems with kmail getting stuck synchronising folders in a mixedmaildir resource.
I quit that kmail, but the process never exits.
I start another kmail from the desktop, which crashed before opening any window.

The backtraces of previous reports did not look similar to this one to me.

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

Thread 3 (Thread 0x2b9055f23700 (LWP 6431)):
#0  0x00002b903b73e964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002b90469db7c7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00002b90469db7f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00002b903b73ae0f in start_thread () from /lib64/libpthread.so.0
#4  0x00002b90395947dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x2b9056244700 (LWP 6432)):
#0  0x00002b903958b87d in poll () from /lib64/libc.so.6
#1  0x00002b90412aeaa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00002b90412aebc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00002b9038c5e2e6 in QEventDispatcherGlib::processEvents (this=0x13a43c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00002b9038c2eadf in QEventLoop::processEvents (this=this@entry=0x2b9056243e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00002b9038c2ed68 in QEventLoop::exec (this=0x2b9056243e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00002b9038b310f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00002b9038b340cc in QThreadPrivate::start (arg=0x13b5420) at thread/qthread_unix.cpp:338
#8  0x00002b903b73ae0f in start_thread () from /lib64/libpthread.so.0
#9  0x00002b90395947dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x2b904f563c00 (LWP 6427)):
[KCrash Handler]
#6  KStatusNotifierItem::setStatus (this=0x1377c90, status=KStatusNotifierItem::Active) at /usr/src/debug/kdelibs-4.10.5/kdeui/notifications/kstatusnotifieritem.cpp:156
#7  0x00002b9037aaa4fd in KMail::KMSystemTray::setMode (this=0x1377c90, newMode=0) at /usr/src/debug/kdepim-4.10.5/kmail/kmsystemtray.cpp:162
#8  0x00002b9037ab80c6 in KMKernel::toggleSystemTray (this=0x7fff08394200) at /usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:2062
#9  0x00002b9037b09bd7 in KMMainWidget::readConfig (this=this@entry=0x30db310) at /usr/src/debug/kdepim-4.10.5/kmail/kmmainwidget.cpp:980
#10 0x00002b9037b0a0e1 in KMMainWidget::KMMainWidget (this=0x30db310, parent=<optimized out>, aGUIClient=0x2921680, actionCollection=<optimized out>, config=...) at /usr/src/debug/kdepim-4.10.5/kmail/kmmainwidget.cpp:267
#11 0x00002b9037a6b25b in KMMainWin::KMMainWin (this=0x2921620, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.10.5/kmail/kmmainwin.cpp:67
#12 0x00002b9037abb5ff in KMKernel::openReader (this=0x7fff08394200, onlyCheck=onlyCheck@entry=false) at /usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:578
#13 0x00002b9037abb800 in KMKernel::action (this=this@entry=0x7fff08394200, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at /usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:1372
#14 0x00002b9037abc157 in KMKernel::handleCommandLine (this=0x7fff08394200, noArgsOpensReader=true) at /usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:494
#15 0x00000000004034e7 in KMailApplication::newInstance (this=0x7fff083941d0) at /usr/src/debug/kdepim-4.10.5/kmail/main.cpp:87
#16 0x00002b9036ec9ad2 in KUniqueApplicationAdaptor::newInstance (this=0xf00020, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00002b9036ec9b54 in qt_static_metacall (_a=0x7fff08393220, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:58
#18 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff08393220) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:52
#19 0x00002b9036ec9c8b in KUniqueApplicationAdaptor::qt_metacall (this=0xf00020, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff08393220) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:102
#20 0x00002b903b4d9d8a in QDBusConnectionPrivate::deliverCall (this=this@entry=0xe236e0, object=object@entry=0xf00020, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00002b903b4daf05 in QDBusConnectionPrivate::activateCall (this=this@entry=0xe236e0, object=0xf00020, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#22 0x00002b903b4db876 in QDBusConnectionPrivate::activateObject (this=0xe236e0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#23 0x00002b903b4db96b in QDBusActivateObjectEvent::placeMetaCall (this=0x150fa80) at qdbusintegrator.cpp:1541
#24 0x00002b9038c4477e in QObject::event (this=0x7fff083941d0, e=<optimized out>) at kernel/qobject.cpp:1203
#25 0x00002b9037fdb974 in QApplication::event (this=0x7fff083941d0, e=0x150fa80) at kernel/qapplication.cpp:2544
#26 0x00002b9037fd986c in QApplicationPrivate::notify_helper (this=this@entry=0xe3f380, receiver=receiver@entry=0x7fff083941d0, e=e@entry=0x150fa80) at kernel/qapplication.cpp:4562
#27 0x00002b9037fddceb in QApplication::notify (this=0x7fff083941d0, receiver=0x7fff083941d0, e=0x150fa80) at kernel/qapplication.cpp:4423
#28 0x00002b9036ec37f6 in KApplication::notify (this=0x7fff083941d0, receiver=0x7fff083941d0, event=0x150fa80) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#29 0x00002b9038c2fd8e in QCoreApplication::notifyInternal (this=0x7fff083941d0, receiver=receiver@entry=0x7fff083941d0, event=event@entry=0x150fa80) at kernel/qcoreapplication.cpp:946
#30 0x00002b9038c336f1 in sendEvent (event=0x150fa80, receiver=0x7fff083941d0) at kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xdd6210) at kernel/qcoreapplication.cpp:1570
#32 0x00002b9038c5e133 in sendPostedEvents () at kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0xe40940) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00002b90412ae7d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00002b90412aeb08 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00002b90412aebc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00002b9038c5e2c6 in QEventDispatcherGlib::processEvents (this=0xe37750, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00002b9038079c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00002b9038c2eadf in QEventLoop::processEvents (this=this@entry=0x7fff08393e50, flags=...) at kernel/qeventloop.cpp:149
#40 0x00002b9038c2ed68 in QEventLoop::exec (this=0x7fff08393e50, flags=...) at kernel/qeventloop.cpp:204
#41 0x00002b9038c33a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#42 0x0000000000402e8d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.10.5/kmail/main.cpp:146

Possible duplicates by query: bug 323277, bug 323135, bug 318172, bug 316789, bug 316579.

Reported using DrKonqi
Comment 1 Volker Kuhlmann 2013-08-15 23:40:18 UTC
Before I started the second kmail2:

user    6427  2.9  0.7 1711652 118400 ?      Sl   10:43   0:57 /usr/bin/kmail -caption KMail

After I started the second kmail2 that crashed:

user    9582  0.0  0.1 405536 29148 ?        S    11:23   0:00 /usr/bin/kmail -caption KMail
user    9584  0.0  0.0      0     0 ?        Z    11:23   0:00 [kmail] <defunct>

Two new processes - one still stuck, the other undead.
Comment 2 Jekyll Wu 2013-08-26 12:18:55 UTC

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