Bug 248650

Summary: kmail crashes on exit after being open for awhile.
Product: [Applications] kmail Reporter: richarddowne
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description richarddowne 2010-08-22 03:11:46 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
If kmail has been open continuously for several days, it often becomes unresponsive, and then crashes instead of exiting cleanly when I try to kill it to free up resources.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f40e8db1710 (LWP 16784)):
#0  0x00007f410592cf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f40fd2da4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f40fd2da8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4106298566 in QEventDispatcherGlib::processEvents (this=0x216bf50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f410626d992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f410626dd6c in QEventLoop::exec (this=0x7f40e8db0cf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4106177d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f410624e178 in QInotifyFileSystemWatcherEngine::run (this=0x2163f80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f410617a775 in QThreadPrivate::start (arg=0x2163f80) at thread/qthread_unix.cpp:248
#9  0x00007f4103d839ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f41059396fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4108e1b820 (LWP 16736)):
[KCrash Handler]
#5  KMFilterMgr::deref (this=0x0, force=false) at ../../kmail/kmfiltermgr.cpp:367
#6  0x00007f41077e3ba5 in KMail::AccountManager::processNextCheck (this=0x1ab54f0, _newMail=<value optimized out>) at ../../kmail/accountmanager.cpp:175
#7  0x00007f41077e4a43 in KMail::AccountManager::qt_metacall (this=0x1ab54f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ca59d10) at ./accountmanager.moc:102
#8  0x00007f4106281e3f in QMetaObject::activate (sender=0x19f4e90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2) at kernel/qobject.cpp:3293
#9  0x00007f4107761f4d in KMAccount::finishedCheck (this=0x0, _t1=false, _t2=KMAccount::CheckOK) at ./kmaccount.moc:174
#10 0x00007f4107762531 in KMAccount::checkDone (this=0x19f4e90, newmail=false, status=KMAccount::CheckOK) at ../../kmail/kmaccount.cpp:513
#11 0x00007f410785bb8a in KMAcctImap::killAllJobs (this=0x19f4e90, disconnectSlave=<value optimized out>) at ../../kmail/kmacctimap.cpp:204
#12 0x00007f410785be98 in ~KMAcctImap (this=0x0, __in_chrg=<value optimized out>) at ../../kmail/kmacctimap.cpp:86
#13 0x00007f41077e30be in qDeleteAll<QList<KMAccount*>::const_iterator> (this=0x1ab54f0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#14 qDeleteAll<AccountList> (this=0x1ab54f0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#15 ~AccountManager (this=0x1ab54f0, __in_chrg=<value optimized out>) at ../../kmail/accountmanager.cpp:39
#16 0x00007f41078b8a0f in KMKernel::cleanup (this=0x7fff6ca5a060) at ../../kmail/kmkernel.cpp:1805
#17 0x000000000040348d in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:158

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

Possible duplicates by query: bug 248225, bug 247354, bug 244286, bug 243728, bug 238754.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-22 18:40:08 UTC

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