Bug 212530 - KMail crashes when filtering large numbers of email messages
Summary: KMail crashes when filtering large numbers of email messages
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-31 16:46 UTC by mfb_kdebugs9
Modified: 2018-09-04 18:18 UTC (History)
2 users (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 mfb_kdebugs9 2009-10-31 16:46:33 UTC
Application that crashed: kmail
Version of the application: 1.12.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.8-64.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
KMail has always been flaky for me when applying filters to large numbers of messages.  When I need to do so, I manually try to break the task up by selecting less than 100 messages and then applying filters.  After doing that to about 1500 messages, I clicked on another message and this crash occurred.  While the filtering process completed without difficulty this time, since I have always had problems with this, I suspect that filtering is the root of this problem.  I could be wrong, and this may be a duplicate report, but I've done what I'm able to do to help.

Most of my filters involve looking for recipients or froms that contain specific email addresses (that match my identities) and then moving messges to specified folders.

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

Thread 2 (Thread 0xaf7ffb70 (LWP 2105)):
#0  0x001dc424 in __kernel_vsyscall ()
#1  0x00119fa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x03238337 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x034984d2 in ?? () from /usr/lib/libQtNetwork.so.4
#4  0x032372f2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00115935 in start_thread () from /lib/libpthread.so.0
#6  0x010d694e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7f98780 (LWP 25352)):
[KCrash Handler]
#6  0x2d65646b in ?? ()
#7  0x0083a0ab in ?? () from /usr/lib/libkmailprivate.so.4
#8  0x00826019 in ?? () from /usr/lib/libkmailprivate.so.4
#9  0x0082620b in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x00833494 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0x0333d853 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x0333e4b2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x03377b47 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#14 0x03342f8e in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#15 0x0333796f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x03ad2974 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x03ada0e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x0455b60a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x03327b0b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x03354d7e in ?? () from /usr/lib/libQtCore.so.4
#21 0x033526a0 in ?? () from /usr/lib/libQtCore.so.4
#22 0x01858308 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x0185b9e0 in ?? () from /lib/libglib-2.0.so.0
#24 0x0185bb13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x033525ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x03b71cb5 in ?? () from /usr/lib/libQtGui.so.4
#27 0x033260d9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x0332652a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x033289af in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#30 0x03ad27f7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#31 0x0804a592 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-01 01:46:01 UTC
- If you can reproduce the crash at will (or you experience this regularly), may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports , install the "kdepim4-debuginfo" package and post a complete backtrace here? Thanks
Comment 2 ralfgesellensetter 2010-04-21 16:46:39 UTC
Hi there, I can confirm that filtering 1500 messages (all in the same folder) is a big problem, because it lasts abt. 1 hour (during this time kmail is not responsive/usable). 

I must concede that I have some dozens of filters (by mailing list) and that I selected "use all filters CTRL+J) because I wanted to apply the original filter chain for incoming mail.

However I am not sure if as opposed to the original chain, CTRL+J doesn't stop on hitting filters?
Comment 3 Andrew Crouthamel 2018-09-04 18:18:29 UTC
Hello! Sorry to be the bearer of bad news, but this version of Kmail has been unmaintained for many years so I am closing this bug. Please try using the latest version of Kmail to see if your issue persists. If it does, please submit a new bug in "kmail2". Thank you!