Bug 184043

Summary: Kmails crashes when applying filters
Product: [Unmaintained] kmail Reporter: Matthew Moore <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash report

Description Matthew Moore 2009-02-11 20:16:56 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

Kmail crashes when running filters on the mail box.  My mail box is hosted remotely (i.e. on my mail server) and I'm using IMAP to access it.  It has about 1500 mails in it and I'm trying to filter about 200 mails a day into about 5 or so folders.  If I try and filter everything kmail will crash.  If I select about 20-30 mails kmail won't always crash, but after a few rounds of selecting 20 emails and hitting ctrl-J it will crash.

I would hope that I could apply the filter on all 1500 emails with out it crashing.  However I'd settle for being able to select a few hundered at a time and being able to filter them.

I'm using ubuntu 8.10 and kmail is installed from the ubuntu packages.

I'm not using any plugins.  

Here is the debug:

Application: KMail (kmail), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb41156c0 (LWP 6789)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0xb754efec in ?? () from /usr/lib/libkmailprivate.so.4
#6  0xb7550016 in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb75502ad in ?? () from /usr/lib/libkmailprivate.so.4
#8  0xb7e2da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb7e2e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7e687a7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#11 0xb7e3440e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#12 0xb7e2853f in QObject::event () from /usr/lib/libQtCore.so.4
#13 0xb67078ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#14 0xb670f72e in QApplication::notify () from /usr/lib/libQtGui.so.4
#15 0xb709eb2d in KApplication::notify () from /usr/lib/libkdeui.so.5
#16 0xb7e18e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#17 0xb7e46d81 in ?? () from /usr/lib/libQtCore.so.4
#18 0xb7e43520 in ?? () from /usr/lib/libQtCore.so.4
#19 0xb62ce6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb62d1da3 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb62d1f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb7e43478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#23 0xb67a1ea5 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb7e1752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#25 0xb7e176ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#26 0xb7e19da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#27 0xb6707767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#28 0x0804a6c0 in _start ()
#0  0xb7f2f430 in __kernel_vsyscall ()
Comment 1 Dario Andres 2009-02-11 23:52:27 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You need to install the "kdepim-dbg" package
Thanks :)
Comment 2 Matthew Moore 2009-02-12 20:36:44 UTC
Created attachment 31253 [details]
crash report

This was created by trying to filter 1600 emails in my inbox by hitting ctrl-a and then ctrl-j.
Comment 3 Jaime Torres 2009-02-12 20:44:26 UTC
Just pasting the backtrace here.

Application: KMail (kmail), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb428b6c0 (LWP 6843)]
[KCrash handler]
#6  0xb76c4fec in KMail::ActionScheduler::actionMessage (this=0x9978968, 
    res=KMFilterAction::GoOn)
    at /build/buildd/kdepim-4.1.3/kmail/actionscheduler.cpp:668
#7  0xb76c6016 in KMail::ActionScheduler::filterMessage (this=0x9978968)
    at /build/buildd/kdepim-4.1.3/kmail/actionscheduler.cpp:641
#8  0xb76c62ad in KMail::ActionScheduler::qt_metacall (this=0x9978968, 
    _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfba6d98)
    at /build/buildd/kdepim-4.1.3/obj-i486-linux-gnu/kmail/actionscheduler.moc:123
#9  0xb7fa3a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7fa47e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb7fde7a7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#12 0xb7faa40e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#13 0xb7f9e53f in QObject::event () from /usr/lib/libQtCore.so.4
#14 0xb687d8ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#15 0xb688572e in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0xb7214b2d in KApplication::notify (this=0xbfba7548, receiver=0x93d9548, 
    event=0xbfba722c)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#17 0xb7f8ee61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#18 0xb7fbcd81 in ?? () from /usr/lib/libQtCore.so.4
#19 0xb7fb9520 in ?? () from /usr/lib/libQtCore.so.4
#20 0xb64446f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb6447da3 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb6447f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb7fb9478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#24 0xb6917ea5 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb7f8d52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#26 0xb7f8d6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#27 0xb7f8fda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#28 0xb687d767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#29 0x0804a6c0 in main (argc=33, argv=0xb62318c8)
    at /build/buildd/kdepim-4.1.3/kmail/main.cpp:146
#0  0xb80a5430 in __kernel_vsyscall ()
Comment 4 Dario Andres 2009-02-12 21:41:21 UTC
Thanks

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