Bug 276135

Summary: Kmail crash when clicking on email link
Product: [Unmaintained] kmail Reporter: Fred Albrecht <fred>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fred Albrecht 2011-06-20 17:35:54 UTC
Application: kmail (1.13.6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
clicking on mailto URI in Firefox

Kmail crashed immediately without stating the interface. 
After further experimenting, it also directly crashes when started by itself.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb33a149840 (LWP 4947))]

Thread 3 (Thread 0x7fb31bdf1700 (LWP 4949)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fb32e041392 in ?? () from /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0
#2  0x00007fb32ef932af in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb32ef93ca9 in g_async_queue_timed_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb32efe7a5a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb32efe53e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb334c72d8c in start_thread (arg=0x7fb31bdf1700) at pthread_create.c:304
#7  0x00007fb3370c304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb31b2db700 (LWP 4950)):
#0  0x00007fb3370b5f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb32efbe104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb32efbe9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb3261efc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fb32efe53e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb334c72d8c in start_thread (arg=0x7fb31b2db700) at pthread_create.c:304
#6  0x00007fb3370c304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb33a149840 (LWP 4947)):
[KCrash Handler]
#6  0x00007fb338dd46a9 in KMail::SearchJob::searchCompleteFolder (this=0x2475590) at ../../kmail/searchjob.cpp:87
#7  0x00007fb338c25e2f in KMFolderImap::search (this=0x2522520, pattern=0x2435a90) at ../../kmail/kmfolderimap.cpp:2408
#8  0x00007fb338d463b0 in KMSearch::slotProcessNextBatch (this=0x2ac8190) at ../../kmail/kmfoldersearch.cpp:272
#9  0x00007fb338d46508 in KMSearch::qt_metacall (this=0x2ac8190, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff9f24e060) at ./kmfoldersearch.moc:85
#10 0x00007fb3379fd5f8 in QMetaObject::activate (sender=0x2aa7a20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#11 0x00007fb3379fc1c9 in QObject::event (this=0x2aa7a20, e=<value optimized out>) at kernel/qobject.cpp:1190
#12 0x00007fb337ed69e4 in QApplicationPrivate::notify_helper (this=0x224ad60, receiver=0x2aa7a20, e=0x7fff9f24e760) at kernel/qapplication.cpp:4462
#13 0x00007fb337edb3aa in QApplication::notify (this=<value optimized out>, receiver=0x2aa7a20, e=0x7fff9f24e760) at kernel/qapplication.cpp:4341
#14 0x00007fb339b82866 in KApplication::notify (this=0x7fff9f250810, receiver=0x2aa7a20, event=0x7fff9f24e760) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fb3379e849c in QCoreApplication::notifyInternal (this=0x7fff9f250810, receiver=0x2aa7a20, event=0x7fff9f24e760) at kernel/qcoreapplication.cpp:731
#16 0x00007fb337a15f12 in sendEvent (this=0x224d510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QTimerInfoList::activateTimers (this=0x224d510) at kernel/qeventdispatcher_unix.cpp:604
#18 0x00007fb337a12cf4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#19 0x00007fb32efbdbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fb32efbe3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fb32efbe639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb337a133ef in QEventDispatcherGlib::processEvents (this=0x21a0310, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#23 0x00007fb337f7ddfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007fb3379e7882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007fb3379e7abc in QEventLoop::exec (this=0x7fff9f24eb10, flags=...) at kernel/qeventloop.cpp:201
#26 0x00007fb339c027bd in KWallet::Wallet::openWallet (name=..., w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:304
#27 0x00007fb3327584dd in MailTransport::TransportManager::wallet (this=0x2444f10) at ../../mailtransport/transportmanager.cpp:602
#28 0x00007fb3327502dd in MailTransport::Transport::readPassword (this=0x24e5410) at ../../mailtransport/transport.cpp:305
#29 0x00007fb332750a30 in MailTransport::Transport::qt_metacall (this=0x24e5410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./transport.moc:72
#30 0x00007fb3379fc49a in QObject::event (this=0x24e5410, e=<value optimized out>) at kernel/qobject.cpp:1226
#31 0x00007fb337ed69e4 in QApplicationPrivate::notify_helper (this=0x224ad60, receiver=0x24e5410, e=0x24f2b90) at kernel/qapplication.cpp:4462
#32 0x00007fb337edb3aa in QApplication::notify (this=<value optimized out>, receiver=0x24e5410, e=0x24f2b90) at kernel/qapplication.cpp:4341
#33 0x00007fb339b82866 in KApplication::notify (this=0x7fff9f250810, receiver=0x24e5410, event=0x24f2b90) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fb3379e849c in QCoreApplication::notifyInternal (this=0x7fff9f250810, receiver=0x24e5410, event=0x24f2b90) at kernel/qcoreapplication.cpp:731
#35 0x00007fb3379ebc25 in sendEvent (receiver=0x0, event_type=0, data=0x21a0b30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21a0b30) at kernel/qcoreapplication.cpp:1372
#37 0x00007fb337a13253 in sendPostedEvents (s=0x224cac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0x224cac0) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007fb32efbdbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fb32efbe3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fb32efbe639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fb337a133ef in QEventDispatcherGlib::processEvents (this=0x21a0310, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007fb337f7ddfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fb3379e7882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007fb3379e7abc in QEventLoop::exec (this=0x7fff9f24f950, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007fb339c027bd in KWallet::Wallet::openWallet (name=..., w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:304
#47 0x00007fb338c69a4f in KMKernel::wallet (this=0x7fff9f2506a0) at ../../kmail/kmkernel.cpp:2497
#48 0x00007fb338bf248d in KMail::NetworkAccount::readPassword (this=0x2ac4200) at ../../kmail/networkaccount.cpp:328
#49 0x00007fb338bf2c6b in KMail::NetworkAccount::readConfig (this=0x2ac4200, config=...) at ../../kmail/networkaccount.cpp:170
#50 0x00007fb338bfc82c in KMail::ImapAccountBase::readConfig (this=0x2ac4200, config=...) at ../../kmail/imapaccountbase.cpp:207
#51 0x00007fb338ba0a97 in KMail::AccountManager::readConfig (this=0x247d150) at ../../kmail/accountmanager.cpp:131
#52 0x00007fb338c712b1 in KMKernel::init (this=0x7fff9f2506a0) at ../../kmail/kmkernel.cpp:1542
#53 0x0000000000403127 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:131

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

Possible duplicates by query: bug 275304, bug 274180, bug 272860, bug 272533, bug 248011.

Reported using DrKonqi
Comment 1 Laurent Montel 2011-06-24 11:29:23 UTC
kmail1
Comment 2 Christophe Marin 2011-07-08 09:08:45 UTC

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