Bug 245420

Summary: crash while appling filter in background and reading email in foreground
Product: [Unmaintained] kmail Reporter: Francesco Riosa <vivo75+kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Francesco Riosa 2010-07-22 11:31:41 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34 x86_64
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
Kmail is setup to read via imap four account, one of these has a Spam folder, I've setup a button in toolbar to launch a filter who move messages which are spam to the folder Spam.

Also my server (Dovecot) has sive rules to move spam in folders categorized by probability to be spam, so often I do select all messages in these folders and launch the filter that move these messages to the Spam folder all at once.

While kmail is moving the messages sometimes between different accounts, I do read other emails, in such situation sometimes kmail crash, today it crashed when clicking on a message in a different folder.




 -- Backtrace:
Application: KMail (kmail), signal: Aborted
[KCrash Handler]
#5  0x00007f4fe135f775 in raise () from /lib/libc.so.6
#6  0x00007f4fe1360f80 in abort () from /lib/libc.so.6
#7  0x00007f4fe28c84fe in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2266
#8  0x00007f4fe28c8668 in qt_message (msgType=QtFatalMsg, msg=0x7f4fe2a19c30 "ASSERT: \"%s\" in file %s, line %d", ap=0x7ffff02c48f0) at global/qglobal.cpp:2312
#9  0x00007f4fe28c87fb in qFatal (msg=0x5355 <Address 0x5355 out of bounds>) at global/qglobal.cpp:2495
#10 0x00007f4fe326df28 in KMail::MessageProperty::forget (msgBase=0x39d3c40) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/messageproperty.cpp:180
#11 0x00007f4fe32b2cc4 in ~KMMsgBase (this=0x5355, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/kmmsgbase.cpp:128
#12 0x00007f4fe31b4cc1 in ~KMMessage (this=0x39d3c40, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/kmmessage.cpp:228
#13 0x00007f4fe32b35f4 in KMMsgList::clear (this=0x2972418, doDelete=true, syncDict=true) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/kmmsglist.cpp:37
#14 0x00007f4fe3264a4b in FolderStorage::remove (this=0x29723a0) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/folderstorage.cpp:784
#15 0x00007f4fe327fbd6 in KMFolderMgr::remove (this=0x2659320, aFolder=<value optimized out>) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/kmfoldermgr.cpp:354
#16 0x00007f4fe326bb72 in ~ActionScheduler (this=0x3a9c9e0, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/actionscheduler.cpp:136
#17 0x00007f4fe29c816b in QObject::event (this=0x3a9c9e0, e=0x5355) at kernel/qobject.cpp:1223
#18 0x00007f4fe1d6cfef in QApplicationPrivate::notify_helper (this=0x1a42ac0, receiver=0x3a9c9e0, e=0x2763db0) at kernel/qapplication.cpp:4302
#19 0x00007f4fe1d746ea in QApplication::notify (this=0x7ffff02c5760, receiver=0x3a9c9e0, e=0x2763db0) at kernel/qapplication.cpp:4185
#20 0x00007f4fe4116c52 in KApplication::notify (this=0x7ffff02c5760, receiver=0x3a9c9e0, event=0x2763db0) at /usr/src/debug/kde-base/kdelibs-4.4.5/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#21 0x00007f4fe29b86a2 in QCoreApplication::notifyInternal (this=0x7ffff02c5760, receiver=0x3a9c9e0, event=0x2763db0) at kernel/qcoreapplication.cpp:726
#22 0x00007f4fe29b9409 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1926100) at kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1926100) at kernel/qcoreapplication.cpp:1367
#24 0x00007f4fe29e1593 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#26 0x00007f4fd91d407a in g_main_dispatch (context=0x1a45110) at gmain.c:1960
#27 IA__g_main_context_dispatch (context=0x1a45110) at gmain.c:2513
#28 0x00007f4fd91d76a1 in g_main_context_iterate (context=0x1a45110, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#29 0x00007f4fd91d785e in IA__g_main_context_iteration (context=0x1a45110, may_block=1) at gmain.c:2654
#30 0x00007f4fe29e122c in QEventDispatcherGlib::processEvents (this=0x1955bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007f4fe1e173fa in QGuiEventDispatcherGlib::processEvents (this=0x5355, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f4fe29b71d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f4fe29b7523 in QEventLoop::exec (this=0x7ffff02c55a0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f4fe29b9755 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#35 0x000000000040300b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/main.cpp:156

Possible duplicates by query: bug 224842, bug 202103, bug 201779.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-08-08 01:33:05 UTC

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