Bug 294400

Summary: Kmail2 crashed on CTL-Q [ KWallet::Wallet::openWallet ]
Product: [Applications] kmail2 Reporter: Christopher Heiny <christopherheiny>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: christopherheiny, kdenis
Priority: NOR    
Version: 4.8.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Christopher Heiny 2012-02-19 01:30:12 UTC
Application: kmail (4.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.2-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Restarted the WiFi system, which had gone offline, and reconnected to it.  Clicked Get Mail, read the two resulting messages.  Hit Ctrl-Q to exit Kmail.  The crash reporting assistant popped up, and here we are.  I noticed no strange behavior other than the crash.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fc400c4d840 (LWP 2541))]

Thread 3 (Thread 0x7fc3f3ebc700 (LWP 2549)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000034e41b86ec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x34e4b7cc20) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00000034e41b8819 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003a0dc07d90 in start_thread (arg=0x7fc3f3ebc700) at pthread_create.c:309
#4  0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fc3f35bb700 (LWP 2550)):
#0  __pthread_mutex_lock (mutex=0x7fc3ec0009a8) at pthread_mutex_lock.c:51
#1  0x00000034f9a44093 in g_main_context_prepare (context=0x7fc3ec0009a0, priority=0x7fc3f35bac18) at gmain.c:2764
#2  0x00000034f9a44e6d in g_main_context_iterate (context=0x7fc3ec0009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3069
#3  0x00000034f9a4549c in g_main_context_iteration (context=0x7fc3ec0009a0, may_block=1) at gmain.c:3152
#4  0x00000034d7da7dc6 in QEventDispatcherGlib::processEvents (this=0x7fc3ec0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000034d7d78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000034d7d783d7 in QEventLoop::exec (this=0x7fc3f35bad40, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000034d7c78b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000034d7c7bb6b in QThreadPrivate::start (arg=0x1972120) at thread/qthread_unix.cpp:298
#9  0x0000003a0dc07d90 in start_thread (arg=0x7fc3f35bb700) at pthread_create.c:309
#10 0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc400c4d840 (LWP 2541)):
[KCrash Handler]
#6  0x000000000457a240 in ?? ()
#7  0x00000034db16ea87 in KWallet::Wallet::openWallet (name=..., w=115343609, ot=KWallet::Wallet::Synchronous) at /usr/src/debug/kdelibs-4.7.4/kdeui/util/kwallet.cpp:518
#8  0x00000034ea22c223 in MailTransport::TransportManager::wallet (this=0x17798f0) at /usr/src/debug/kdepimlibs-4.7.4/mailtransport/transportmanager.cpp:604
#9  0x00000034ea2239dd in MailTransport::Transport::readPassword (this=0x1827f10) at /usr/src/debug/kdepimlibs-4.7.4/mailtransport/transport.cpp:309
#10 0x00000034d7d91f16 in QObject::event (this=0x1827f10, e=<optimized out>) at kernel/qobject.cpp:1195
#11 0x00000034d8fc9994 in notify_helper (e=0x3cc8070, receiver=0x1827f10, this=0x1529680) at kernel/qapplication.cpp:4550
#12 QApplicationPrivate::notify_helper (this=0x1529680, receiver=0x1827f10, e=0x3cc8070) at kernel/qapplication.cpp:4522
#13 0x00000034d8fce813 in QApplication::notify (this=0x7fff1e068a40, receiver=0x1827f10, e=0x3cc8070) at kernel/qapplication.cpp:4411
#14 0x00000034db050766 in KApplication::notify (this=0x7fff1e068a40, receiver=0x1827f10, event=0x3cc8070) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#15 0x00000034d7d7904c in QCoreApplication::notifyInternal (this=0x7fff1e068a40, receiver=0x1827f10, event=0x3cc8070) at kernel/qcoreapplication.cpp:876
#16 0x00000034d7d7cada in sendEvent (event=0x3cc8070, receiver=0x1827f10) at kernel/qcoreapplication.h:231
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14e1210) at kernel/qcoreapplication.cpp:1500
#18 0x00000034d7da7933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#19 postEventSourceDispatch (s=0x15358f0) at kernel/qeventdispatcher_glib.cpp:279
#20 0x00000034f9a44acd in g_main_dispatch (context=0x1535800) at gmain.c:2441
#21 g_main_context_dispatch (context=0x1535800) at gmain.c:3011
#22 0x00000034f9a452c8 in g_main_context_iterate (context=0x1535800, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#23 0x00000034f9a4549c in g_main_context_iteration (context=0x1535800, may_block=1) at gmain.c:3152
#24 0x00000034d7da7d5f in QEventDispatcherGlib::processEvents (this=0x14e2af0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00000034d906c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#26 0x00000034d7d78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00000034d7d783d7 in QEventLoop::exec (this=0x7fff1e068910, flags=...) at kernel/qeventloop.cpp:204
#28 0x00000034d7d7cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#29 0x0000000000402d23 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.7.4/kmail/main.cpp:145

Possible duplicates by query: bug 286789, bug 284974, bug 284847.

Reported using DrKonqi
Comment 1 Christopher Heiny 2012-05-12 01:30:12 UTC
Created attachment 71033 [details]
New crash information added by DrKonqi

kmail (4.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed: hit CTL-Q.  Kmail2 crashed.

Just capturing a dump from version 4.8.3 in case it might be useful.

-- Backtrace (Reduced):
#7  0x00007f554a5317b7 in KWallet::Wallet::openWallet (name=..., w=115343378, ot=KWallet::Wallet::Synchronous) at /usr/src/debug/kdelibs-4.8.3/kdeui/util/kwallet.cpp:518
#8  0x00007f55457a5393 in MailTransport::TransportManager::wallet (this=0x1134480) at /usr/src/debug/kdepimlibs-4.8.3/mailtransport/transportmanager.cpp:606
#9  0x00007f554579c9fd in MailTransport::Transport::readPassword (this=0x12402e0) at /usr/src/debug/kdepimlibs-4.8.3/mailtransport/transport.cpp:314
#10 0x0000003a8b9927a6 in QObject::event (this=0x12402e0, e=<optimized out>) at kernel/qobject.cpp:1195
#11 0x0000003a8f3c9bc4 in notify_helper (e=0x13d4290, receiver=0x12402e0, this=0xf51f50) at kernel/qapplication.cpp:4554
Comment 2 Denis Kurz 2016-09-24 18:10:06 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 3 Christopher Heiny 2016-09-25 05:59:05 UTC
I gave up on Kmail about a year and a half ago.  As far as I'm concerned, you can close this bug.
Comment 4 Denis Kurz 2017-01-07 23:14:53 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.