Bug 306295 - Kmail crashes randomly when selecting IMAP account (not one of the IMAP folders)
Summary: Kmail crashes randomly when selecting IMAP account (not one of the IMAP folders)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-05 14:24 UTC by Zefir
Modified: 2012-11-02 01:46 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 Zefir 2012-09-05 14:24:29 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-3-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

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

Selected/clicked on "inbox" in "Gmail.com" account, and before it finished retrieving content, I've selected the account name itself. Immediately after that, I did the same with second IMAP account I manage using KMail. Sometimes app just hangs on "Loading content" screen and stays thhat way until killed (htop, lsof shows nothing; never tried to start debugging process at that time)

- Custom settings of the application:
Incoming messages filters, minor color (not theme) tweaks

Crash reporting tool found one similar issue with very similar tracing (ID: 276086), but I believe it's not related because:
 - Bug 276086 was reported in KMail 1.13.6, and marked and fixed, I'm using 1.13.7
 - In my case the longer KMail's running the higher chance it's going to crash (first couple hours it works flawlessly)

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f2506161700 (LWP 26051)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f250679deaf in ?? () from /usr/lib/libvlccore.so.5
#2  0x00007f2525339b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#3  0x00007f252776670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f24f5aea700 (LWP 26056)):
#0  0x00007f252775bac3 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f251f4724d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f251f4725f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f25280dd2a6 in QEventDispatcherGlib::processEvents (this=0x3b5a6e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f25280ad8cf in QEventLoop::processEvents (this=this@entry=0x7f24f5ae9e10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f25280adb58 in QEventLoop::exec (this=0x7f24f5ae9e10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2527fb0d70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f252808e1df in QInotifyFileSystemWatcherEngine::run (this=0x7f24f00059f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2527fb3d0b in QThreadPrivate::start (arg=0x7f24f00059f0) at thread/qthread_unix.cpp:307
#9  0x00007f2525339b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f252776670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f252a82f760 (LWP 19730)):
[KCrash Handler]
#6  KMFilterMgr::ref (this=0x0) at ../../kmail/kmfiltermgr.cpp:360
#7  0x00007f25292a6609 in KMail::AccountManager::processNextCheck (this=this@entry=0x1492990, _newMail=_newMail@entry=false) at ../../kmail/accountmanager.cpp:230
#8  0x00007f25292a6f3a in KMail::AccountManager::singleCheckMail (this=0x1492990, account=0x15853b0, interactive=<optimized out>) at ../../kmail/accountmanager.cpp:157
#9  0x00007f2529302c0a in KMail::ImapAccountBase::slotCheckQueuedFolders (this=0x15853b0) at ../../kmail/imapaccountbase.cpp:1158
#10 0x00007f25280c456f in QMetaObject::activate (sender=0x15853b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff24f2e780) at kernel/qobject.cpp:3547
#11 0x00007f252922d9fd in KMAccount::finishedCheck (this=this@entry=0x15853b0, _t1=_t1@entry=false, _t2=_t2@entry=KMAccount::CheckOK) at ./kmaccount.moc:202
#12 0x00007f25292304b9 in KMAccount::checkDone (this=0x15853b0, newmail=false, status=KMAccount::CheckOK) at ../../kmail/kmaccount.cpp:515
#13 0x00007f252930836e in KMAcctImap::killAllJobs (this=0x15853b0, disconnectSlave=false) at ../../kmail/kmacctimap.cpp:204
#14 0x00007f2529322d72 in KMFolderImap::~KMFolderImap (this=0x14e8c20, __in_chrg=<optimized out>) at ../../kmail/kmfolderimap.cpp:95
#15 0x00007f2529322e99 in KMFolderImap::~KMFolderImap (this=0x14e8c20, __in_chrg=<optimized out>) at ../../kmail/kmfolderimap.cpp:104
#16 0x00007f252926ca9b in KMFolder::~KMFolder (this=0x14cd190, __in_chrg=<optimized out>) at ../../kmail/kmfolder.cpp:170
#17 0x00007f252926cdc9 in KMFolder::~KMFolder (this=0x14cd190, __in_chrg=<optimized out>) at ../../kmail/kmfolder.cpp:171
#18 0x00007f25292af4de in qDeleteAll<QList<KMFolderNode*>::iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#19 KMFolderDir::~KMFolderDir (this=0x14a26b0, __in_chrg=<optimized out>) at ../../kmail/kmfolderdir.cpp:91
#20 0x00007f25292af539 in KMFolderDir::~KMFolderDir (this=0x14a26b0, __in_chrg=<optimized out>) at ../../kmail/kmfolderdir.cpp:93
#21 0x00007f25292af5be in qDeleteAll<QList<KMFolderNode*>::iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#22 KMFolderRootDir::~KMFolderRootDir (this=0x14826b8, __in_chrg=<optimized out>) at ../../kmail/kmfolderdir.cpp:37
#23 0x00007f25292b212d in KMFolderMgr::~KMFolderMgr (this=0x14826a0, __in_chrg=<optimized out>) at ../../kmail/kmfoldermgr.cpp:51
#24 0x00007f25292b21c9 in KMFolderMgr::~KMFolderMgr (this=0x14826a0, __in_chrg=<optimized out>) at ../../kmail/kmfoldermgr.cpp:54
#25 0x00007f252936fcdd in KMKernel::cleanup (this=0x7fff24f2edc0) at ../../kmail/kmkernel.cpp:1800
#26 0x0000000000402fd5 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:160

Possible duplicates by query: bug 276086.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-11-02 01:46:01 UTC
kmail1 (4.4.11.1 in debian) is unmaintained.