Summary: | kmail crashes when deleting IMAP messages | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | David Anderson <david> |
Component: | IMAP | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | bjoern, cberzan, cm, crglasoe, fischer, marcus, mhlavink |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
back trace
Email message whose deletion crashes kmail 4.2.2 backtrace and backtrace full |
Description
David Anderson
2006-05-09 06:31:31 UTC
My kmail does the same - currently at 3.5.2, but it has been happening with earlier versions as well. Platform is FreeBSD, happens on several machines, including i386 and amd64. Folder is on IMAP (cyrus) server. This is happening apparently randomly one out of (perhaps) three times, and is more likely when deleting lots of messages (say 1000), but is not directly related to the number of messages - sometimes I can delete 2000 messages without a problem, but deleting 500 may crash a process. My usual procedure is: select messages to be deleted by using search on some criteria, e.g. Subject, go to Last Search folder, select all, delete. It appears that crash happens when new messages are arriving while deletion is in progress. Having lots of messages to be deleted perhaps only makes the vulnerable window longer. Mark Created attachment 17137 [details]
back trace
I experienced this problem recently while deleting around 100 messages in a folder which contains thousands of message. Do not know if the large size of the folder is also responsible for this crash. I am using a mixture of Debian testing/unstable $kmail -v Qt: 3.3.6 KDE: 3.5.3 KMail: 1.9.3 The backtrace of the crash raju_kmail_crash_back_trace_20060727.txt is in comment #2. *** This bug has been marked as a duplicate of 112128 *** I have had an identical crash stack trace when deleting IMAP messages on a slightly post-3.5.8 version of KMail (compiled from sources). I still get crashes when deleting IMAP messages too - it's not unusual. This problem still appears in kmail 1.10.92 running under KDE 4.1.85. It occurs reproducible when deleting several mails, one by one and kmail is (still) transferring data from/to IMAP server at the same time. Reported 3 years ago and still crashing? Wow. Qt: 4.4.3 KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) "release 3.1" KMail: 1.10.92 Kontact (kontact), Signal SIGSEGV [?1034h[Thread debugging using libthread_db enabled] [Current thread is 1 (Thread 0xb49b2700 (LWP 14461))] Thread 1 (Thread 0xb49b2700 (LWP 14461)): [KCrash Handler] #6 KMail::FolderJob::msgList (this=0x3000094) at /usr/include/QtCore/qlist.h:107 #7 0xb0ffa0db in KMAcctImap::ignoreJobsForMessage (this=0x8536e98, msg=0x8e277a8) at /usr/src/debug/kdepim-4.1.87/kmail/kmacctimap.cpp:215 #8 0xb100e885 in KMFolderImap::ignoreJobsForMessage (this=0x8572150, msg=0x8e277a8) at /usr/src/debug/kdepim-4.1.87/kmail/kmfolderimap.cpp:1555 #9 0xb11083d4 in KMMoveCommand::execute (this=0x87f3ab0) at /usr/src/debug/kdepim-4.1.87/kmail/kmcommands.cpp:2086 #10 0xb10f6852 in KMCommand::slotPostTransfer (this=0x87f3ab0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.1.87/kmail/kmcommands.cpp:276 #11 0xb1100954 in KMCommand::qt_metacall (this=0x87f3ab0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfc3187c) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmcommands.moc:86 #12 0xb1100e4a in KMMoveCommand::qt_metacall (this=0x87f3ab0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc3187c) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmcommands.moc:1662 #13 0xb1100f12 in KMDeleteMsgCommand::qt_metacall (this=0x87f3ab0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc3187c) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmcommands.moc:1712 #14 0xb67a5580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #15 0xb67a6302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #16 0xb10f23b3 in KMCommand::messagesTransfered (this=0x87f3ab0, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmcommands.moc:100 #17 0xb1109194 in KMCommand::transferSelectedMsgs (this=0x87f3ab0) at /usr/src/debug/kdepim-4.1.87/kmail/kmcommands.cpp:370 #18 0xb1109383 in KMCommand::slotStart (this=0x87f3ab0) at /usr/src/debug/kdepim-4.1.87/kmail/kmcommands.cpp:268 #19 0xb1100963 in KMCommand::qt_metacall (this=0x87f3ab0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc31a78) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmcommands.moc:85 #20 0xb1100e4a in KMMoveCommand::qt_metacall (this=0x87f3ab0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc31a78) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmcommands.moc:1662 #21 0xb1100f12 in KMDeleteMsgCommand::qt_metacall (this=0x87f3ab0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc31a78) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmcommands.moc:1712 #22 0xb67a5580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #23 0xb67a6302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #24 0xb67ab947 in ?? () from /usr/lib/libQtCore.so.4 #25 0xb67aba6c in ?? () from /usr/lib/libQtCore.so.4 #26 0xb67a004f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #27 0xb5d258fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #28 0xb5d2d75e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #29 0xb6d2c92d in KApplication::notify (this=0xbfc32208, receiver=0x8acdee8, event=0xbfc31f30) at /usr/src/debug/kdelibs-4.1.87/kdeui/kernel/kapplication.cpp:307 #30 0xb6790961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #31 0xb67beb86 in ?? () from /usr/lib/libQtCore.so.4 #32 0xb67bb060 in ?? () from /usr/lib/libQtCore.so.4 #33 0xb513c9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #34 0xb5140063 in ?? () from /usr/lib/libglib-2.0.so.0 #35 0xb5140221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #36 0xb67bafb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #37 0xb5dbe785 in ?? () from /usr/lib/libQtGui.so.4 #38 0xb678f01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #39 0xb678f1da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #40 0xb6791895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #41 0xb5d25777 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #42 0x0804bf8f in main (argc=1, argv=0xbfc32504) at /usr/src/debug/kdepim-4.1.87/kontact/src/main.cpp:218 I have the same crash with KMail 1.11.0 (KDE 4.2.0, Debian experimental, Linux x86-64). Very sorry to see that KMail remains utterly unusable due to a few serious long-standing bugs. Stack trace, for what it's worth: Program: Kmail (kmail), signal SIGSEGV 0x00007fd2243a6ff1 in nanosleep () from /lib/libc.so.6 [Current thread is 0 (LWP 28416)] Thread 2 (Thread 0x40cf7950 (LWP 30731)): #0 0x00007fd2243d1ce2 in select () from /lib/libc.so.6 #1 0x00007fd225805756 in QProcessManager::run (this=0x633d90) at io/qprocess_unix.cpp:301 #2 0x00007fd22573d162 in QThreadPrivate::start (arg=0x633d90) at thread/qthread_unix.cpp:185 #3 0x00007fd21fbe3fc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007fd2243d85ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fd2273c56f0 (LWP 28416)): [KCrash Handler] #5 KMail::FolderJob::msgList (this=0x408cd40000000000) at /usr/include/qt4/QtCore/qlist.h:107 #6 0x00007fd2260fe915 in KMAcctImap::ignoreJobsForMessage (this=0xa81470, msg=0x2050d10) at ../../kmail/kmacctimap.cpp:215 #7 0x00007fd22621e457 in KMMoveCommand::execute (this=0x2120690) at ../../kmail/kmcommands.cpp:2086 #8 0x00007fd226202892 in KMCommand::slotPostTransfer (this=0x2120690, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:276 #9 0x00007fd22620da3e in KMCommand::qt_metacall (this=0x2120690, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2f511a80) at ./kmcommands.moc:86 #10 0x00007fd2262200a5 in KMMoveCommand::qt_metacall (this=0x7fff2f511630, _c=QMetaObject::InvokeMetaMethod, _id=14162864, _a=0x216dd60) at ./kmcommands.moc:1662 #11 0x00007fd2258396e4 in QMetaObject::activate (sender=0x2120690, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x216dd60) at kernel/qobject.cpp:3031 #12 0x00007fd22620018e in KMCommand::messagesTransfered (this=0x7fff2f511630, _t1=KMCommand::OK) at ./kmcommands.moc:100 #13 0x00007fd22621ce30 in KMCommand::transferSelectedMsgs (this=0x2120690) at ../../kmail/kmcommands.cpp:370 #14 0x00007fd22621d056 in KMCommand::slotStart (this=0x2120690) at ../../kmail/kmcommands.cpp:268 #15 0x00007fd22620da52 in KMCommand::qt_metacall (this=0x2120690, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2f511ce0) at ./kmcommands.moc:85 #16 0x00007fd2262200a5 in KMMoveCommand::qt_metacall (this=0x7fff2f511630, _c=QMetaObject::InvokeMetaMethod, _id=14162864, _a=0x216dd60) at ./kmcommands.moc:1662 #17 0x00007fd2258396e4 in QMetaObject::activate (sender=0xde3ac0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x216dd60) at kernel/qobject.cpp:3031 #18 0x00007fd22583f94f in QSingleShotTimer::timerEvent (this=0xde3ac0) at kernel/qtimer.cpp:294 #19 0x00007fd225833ff3 in QObject::event (this=0xde3ac0, e=0x408cd40000000000) at kernel/qobject.cpp:1120 #20 0x00007fd224d49a5d in QApplicationPrivate::notify_helper (this=0x63c1d0, receiver=0xde3ac0, e=0x7fff2f5123a0) at kernel/qapplication.cpp:3803 #21 0x00007fd224d517da in QApplication::notify (this=0x7fff2f512800, receiver=0xde3ac0, e=0x7fff2f5123a0) at kernel/qapplication.cpp:3768 #22 0x00007fd226efdd8b in KApplication::notify (this=0x7fff2f512800, receiver=0xde3ac0, event=0x7fff2f5123a0) at ../../kdeui/kernel/kapplication.cpp:307 #23 0x00007fd225825391 in QCoreApplication::notifyInternal (this=0x7fff2f512800, receiver=0xde3ac0, event=0x7fff2f5123a0) at kernel/qcoreapplication.cpp:587 #24 0x00007fd225851266 in QTimerInfoList::activateTimers (this=0x633880) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 #25 0x00007fd22584d7bd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:160 #26 0x00007fd21d05eaab in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0x00007fd21d06226d in ?? () from /usr/lib/libglib-2.0.so.0 #28 0x00007fd21d06242b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0x00007fd22584d71f in QEventDispatcherGlib::processEvents (this=0x632ba0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319 #30 0x00007fd224ddb47f in QGuiEventDispatcherGlib::processEvents (this=0x7fff2f511630, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198 #31 0x00007fd225823cb2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 793847312}) at kernel/qeventloop.cpp:143 #32 0x00007fd225823e3d in QEventLoop::exec (this=0x7fff2f512650, flags={i = 793847392}) at kernel/qeventloop.cpp:194 #33 0x00007fd2258262ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #34 0x0000000000402f8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146 *** This bug has been confirmed by popular vote. *** Created attachment 32716 [details]
Email message whose deletion crashes kmail
Comment on attachment 32716 [details]
Email message whose deletion crashes kmail
If I delete this kind of message in kmail, via IMAP, Kmail crashes.
Kmail version 1.11.2, kde4.2.2, arch linux
I can confirm, this bug exists in Fedora 10 with KDE 4.2.2. Created attachment 33148 [details]
4.2.2 backtrace and backtrace full
Looks like a duplicate of 163071? Seems to be fixed in 4.3. Can anybody else confirm? (In reply to comment #16) > Seems to be fixed in 4.3. Can anybody else confirm? Not fixed. I get the same crash as in you described in comment #8: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #6 0xb4cb4786 in memcpy () from /lib/libc.so.6 #7 0x0aba0290 in ?? () #8 0xb4f5fb1d in QListData::detach2 () from /usr/lib/qt4/libQtCore.so.4 #9 0xb0c71ec2 in QList<KMMessage*>::detach_helper (this=0xbf9a5fac) at /usr/include/qt4/QtCore/qlist.h:524 #10 0xb0ecabfc in KMail::FolderJob::msgList (this=0xaba2218) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/folderjob.cpp:120 #11 0xb0db34f5 in KMAcctImap::ignoreJobsForMessage (this=0xa1e6d10, msg=0xce2f280) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmacctimap.cpp:215 #12 0xb0dc5a50 in KMFolderImap::ignoreJobsForMessage (this=0xa1a0c58, msg=0xce2f280) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfolderimap.cpp:1564 #13 0xb0e86d3a in KMMoveCommand::execute (this=0xa890220) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:2095 #14 0xb0e956c3 in KMCommand::slotPostTransfer (this=0xa890220, result=KMCommand::OK) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:274 #15 0xb0e95783 in KMCommand::qt_metacall (this=0xa890220, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf9a627c) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:87 #16 0xb0e95ce9 in KMMoveCommand::qt_metacall (this=0xa890220, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9a627c) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:1706 #17 0xb0e95d97 in KMTrashMsgCommand::qt_metacall (this=0xa890220, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9a627c) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:1758 #18 0xb504a2c3 in QMetaObject::metacall () from /usr/lib/qt4/libQtCore.so.4 #19 0xb5058683 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4 #20 0xb0e7d956 in KMCommand::messagesTransfered (this=0xa890220, _t1=KMCommand::OK) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:102 #21 0xb0e9547a in KMCommand::transferSelectedMsgs (this=0xa890220) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:368 #22 0xb0e967ad in KMCommand::slotStart (this=0xa890220) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:266 #23 0xb0e95790 in KMCommand::qt_metacall (this=0xa890220, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf9a64a8) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:86 #24 0xb0e95ce9 in KMMoveCommand::qt_metacall (this=0xa890220, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf9a64a8) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:1706 #25 0xb0e95d97 in KMTrashMsgCommand::qt_metacall (this=0xa890220, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf9a64a8) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:1758 #26 0xb504a2c3 in QMetaObject::metacall () from /usr/lib/qt4/libQtCore.so.4 #27 0xb5058683 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4 #28 0xb5060b04 in ?? () from /usr/lib/qt4/libQtCore.so.4 #29 0xb5060c5b in ?? () from /usr/lib/qt4/libQtCore.so.4 #30 0xb5054dd6 in QObject::event () from /usr/lib/qt4/libQtCore.so.4 #31 0xb553b8b8 in QApplicationPrivate::notify_helper (this=0x9ce5660, receiver=0xae4f5c8, e=0xbf9a6a6c) at kernel/qapplication.cpp:4242 #32 0xb554410c in QApplication::notify (this=0xbf9a6cf8, receiver=0xae4f5c8, e=0xbf9a6a6c) at kernel/qapplication.cpp:4207 #33 0xb5ed127a in KApplication::notify (this=0xbf9a6cf8, receiver=0xae4f5c8, event=0xbf9a6a6c) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302 #34 0xb5043af1 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4 #35 0xb5074703 in ?? () from /usr/lib/qt4/libQtCore.so.4 #36 0xb5070d55 in ?? () from /usr/lib/qt4/libQtCore.so.4 #37 0xb443102e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #38 0xb4434221 in ?? () from /usr/lib/libglib-2.0.so.0 #39 0x09ce6f10 in ?? () #40 0x000000c8 in ?? () #41 0x0a088ac8 in ?? () #42 0x00000012 in ?? () #43 0x00000017 in ?? () #44 0x00000002 in ?? () #45 0xb44c93b8 in ?? () from /usr/lib/libglib-2.0.so.0 #46 0xb44c93e0 in ?? () from /usr/lib/libglib-2.0.so.0 #47 0xbf9a6b64 in ?? () #48 0xb44c93e0 in ?? () from /usr/lib/libglib-2.0.so.0 #49 0x09ce6f14 in ?? () #50 0x00000001 in ?? () #51 0x09ce6f10 in ?? () #52 0x00000000 in ?? () *** Bug 246817 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 163071 *** |