Bug 322669

Summary: Pooe KDE and KMAIL shurtdowns
Product: [Applications] kmail2 Reporter: Kevin Kehoe <bloodyspartan>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.10.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kevin Kehoe 2013-07-22 03:55:06 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 i686
Distribution: "openSUSE 12.3 (i586)"

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

Nothing shuts down gracefully, Order machine to shut down and all the Kde progs crash on shutdown

The crash can be reproduced sometimes.

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

Thread 3 (Thread 0xaef1fb40 (LWP 2533)):
#0  0xb584d792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb5e2785c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb333965d in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb333968f in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb5849b5e in start_thread () from /lib/libpthread.so.0
#5  0xb5e1a16e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xae5f7b40 (LWP 2534)):
#0  0xb43753d0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0xb4375acf in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb4375d31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb61728af in QEventDispatcherGlib::processEvents (this=0xadc00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb613f39c in QEventLoop::processEvents (this=this@entry=0xae5f7258, flags=...) at kernel/qeventloop.cpp:149
#5  0xb613f691 in QEventLoop::exec (this=0xae5f7258, flags=...) at kernel/qeventloop.cpp:204
#6  0xb602ab6c in QThread::exec (this=this@entry=0x8d66ac8) at thread/qthread.cpp:542
#7  0xb602accb in QThread::run (this=0x8d66ac8) at thread/qthread.cpp:609
#8  0xb602df78 in QThreadPrivate::start (arg=0x8d66ac8) at thread/qthread_unix.cpp:338
#9  0xb5849b5e in start_thread () from /lib/libpthread.so.0
#10 0xb5e1a16e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1458740 (LWP 2350)):
[KCrash Handler]
#6  0xb54a7168 in vtable for KMime::Headers::To () from /usr/lib/libkmime.so.4
#7  0xb4d3efc4 in MailTransport::TransportManagerPrivate::prepareWallet (this=0x85e0958) at /usr/src/debug/kdepimlibs-4.10.5/mailtransport/transportmanager.cpp:599
#8  0xb4d50520 in MailTransport::TransportManager::wallet (this=0x855f1f0) at /usr/src/debug/kdepimlibs-4.10.5/mailtransport/transportmanager.cpp:590
#9  0xb4d51945 in MailTransport::Transport::readPassword (this=0x85f1bf0) at /usr/src/debug/kdepimlibs-4.10.5/mailtransport/transport.cpp:305
#10 0xb4d52258 in MailTransport::TransportManager::loadPasswords (this=0x855f1f0) at /usr/src/debug/kdepimlibs-4.10.5/mailtransport/transportmanager.cpp:608
#11 0xb4d50709 in MailTransport::TransportManager::loadPasswordsAsync (this=0x855f1f0) at /usr/src/debug/kdepimlibs-4.10.5/mailtransport/transportmanager.cpp:658
#12 0xb4d50e65 in MailTransport::TransportManagerPrivate::readConfig (this=0x85e0958) at /usr/src/debug/kdepimlibs-4.10.5/mailtransport/transportmanager.cpp:467
#13 0xb4d513c4 in MailTransport::TransportManagerPrivate::slotTransportsChanged (this=0x85e0958) at /usr/src/debug/kdepimlibs-4.10.5/mailtransport/transportmanager.cpp:546
#14 0xb4d527df in MailTransport::TransportManager::qt_static_metacall (_o=_o@entry=0x855f1f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=12, _a=_a@entry=0xbf9e73cc) at /usr/src/debug/kdepimlibs-4.10.5/build/mailtransport/moc_transportmanager.cpp:104
#15 0xb4d5294c in MailTransport::TransportManager::qt_metacall (this=0x855f1f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf9e73cc) at /usr/src/debug/kdepimlibs-4.10.5/build/mailtransport/moc_transportmanager.cpp:148
#16 0xb587f4d6 in QDBusConnectionPrivate::deliverCall (this=0x8387480, object=0x855f1f0, msg=..., metaTypes=..., slotIdx=-1253412504) at qdbusintegrator.cpp:951
#17 0xb5889eed in QDBusCallDeliveryEvent::placeMetaCall (this=0xd9eba40, object=0x855f1f0) at qdbusintegrator_p.h:103
#18 0xb6156bab in QObject::event (this=0x855f1f0, e=0xd9eba40) at kernel/qobject.cpp:1203
#19 0xb63fcbac in QApplicationPrivate::notify_helper (this=0x8395240, receiver=0x855f1f0, e=0xd9eba40) at kernel/qapplication.cpp:4562
#20 0xb64015cc in QApplication::notify (this=0xd9eba40, receiver=0x855f1f0, e=0xd9eba40) at kernel/qapplication.cpp:3944
#21 0xb7490ae1 in KApplication::notify (this=0xbf9e7ca4, receiver=0x855f1f0, event=0xd9eba40) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#22 0xb61408ce in QCoreApplication::notifyInternal (this=0xbf9e7ca4, receiver=0x855f1f0, event=0xd9eba40) at kernel/qcoreapplication.cpp:946
#23 0xb6144621 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x834f130) at kernel/qcoreapplication.cpp:1570
#25 0xb614489c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1463
#26 0xb6172714 in sendPostedEvents () at kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x8394760) at kernel/qeventdispatcher_glib.cpp:279
#28 0xb43758b3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb4375c50 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb4375d31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb6172891 in QEventDispatcherGlib::processEvents (this=0x83529a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0xb64ae4aa in QGuiEventDispatcherGlib::processEvents (this=0x83529a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb613f39c in QEventLoop::processEvents (this=this@entry=0xbf9e7b68, flags=...) at kernel/qeventloop.cpp:149
#34 0xb613f691 in QEventLoop::exec (this=0xbf9e7b68, flags=...) at kernel/qeventloop.cpp:204
#35 0xb614494a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0xb63faa24 in QApplication::exec () at kernel/qapplication.cpp:3823
#37 0x0804a602 in ?? ()
#38 0xb5d55525 in __libc_start_main () from /lib/libc.so.6
#39 0x0804ab09 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 18:18:57 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:41: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.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.