Bug 212706 - Crash when applying a filter to messages/editing filters
Summary: Crash when applying a filter to messages/editing filters
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Unmaintained
Component: filtering (show other bugs)
Version: 1.12.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 164448 213241 215043 221620 229104 229114 235071 252237 259810 259811 265914 265923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-02 08:31 UTC by Marcus Harrison
Modified: 2012-01-08 15:27 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (13.10 KB, text/plain)
2010-08-19 00:23 UTC, Frédéric CORNU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Harrison 2009-11-02 08:31:26 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Having created a few filters from the subjects/to/from of several messages, I selected all messages in my inbox and applied all filters. Going to, "Settings --> Configure filters", changing a filter and clicking, "apply" in this time causes a crash.

This area should be greyed out/inactive while filters are being applied.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7750700 (LWP 11809))]

Thread 5 (Thread 0xb05f9b70 (LWP 15065)):
#0  0x00751422 in __kernel_vsyscall ()
#1  0x0277fe15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0246e78d in __pthread_cond_wait (cond=0x95b39d8, mutex=0x95b39c0) at forward.c:139
#3  0x0087ae67 in QWaitConditionPrivate::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x02109b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b3b30, th=0xa33cbf8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0210c19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9564da0, th=0xa33cbf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x021081fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x95b3b30, th=0xa33cbf8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0210c292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xa33cbf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xa33cbf8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xa33cbf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xa33cbf8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xa33cbf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xa33cbf8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xa33cbf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xa33cbf8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xa33cbf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#17 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xa33cbf8, previous=0xfe624d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#18 0x0210a3be in ThreadWeaver::ThreadRunHelper::run (this=0xb05f9304, parent=0x95b3b30, th=0xa33cbf8) at ../../../threadweaver/Weaver/Thread.cpp:87
#19 0x0210a9db in ThreadWeaver::Thread::run (this=0xa33cbf8) at ../../../threadweaver/Weaver/Thread.cpp:142
#20 0x00879e32 in QThreadPrivate::start (arg=0xa33cbf8) at thread/qthread_unix.cpp:188
#21 0x0277b80e in start_thread (arg=0xb05f9b70) at pthread_create.c:300
#22 0x024617ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaf107b70 (LWP 15068)):
#0  0x00751422 in __kernel_vsyscall ()
#1  0x0277fe15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0246e78d in __pthread_cond_wait (cond=0x95b39d8, mutex=0x95b39c0) at forward.c:139
#3  0x0087ae67 in QWaitConditionPrivate::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x02109b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b3b30, th=0xae645c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0210c19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9564da0, th=0xae645c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x021081fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x95b3b30, th=0xae645c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0210c292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xae645c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xae645c0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xae645c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xae645c0, previous=0xfe6ba20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x0210a3be in ThreadWeaver::ThreadRunHelper::run (this=0xaf107304, parent=0x95b3b30, th=0xae645c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x0210a9db in ThreadWeaver::Thread::run (this=0xae645c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00879e32 in QThreadPrivate::start (arg=0xae645c0) at thread/qthread_unix.cpp:188
#15 0x0277b80e in start_thread (arg=0xaf107b70) at pthread_create.c:300
#16 0x024617ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xae906b70 (LWP 15074)):
#0  0x00751422 in __kernel_vsyscall ()
#1  0x0277fe15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0246e78d in __pthread_cond_wait (cond=0x95b39d8, mutex=0x95b39c0) at forward.c:139
#3  0x0087ae67 in QWaitConditionPrivate::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x02109b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b3b30, th=0xa7f7918) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0210c19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9564da0, th=0xa7f7918) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x021081fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x95b3b30, th=0xa7f7918) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0210c292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xa7f7918) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xa7f7918, previous=0xce012c8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0210a3be in ThreadWeaver::ThreadRunHelper::run (this=0xae906304, parent=0x95b3b30, th=0xa7f7918) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x0210a9db in ThreadWeaver::Thread::run (this=0xa7f7918) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00879e32 in QThreadPrivate::start (arg=0xa7f7918) at thread/qthread_unix.cpp:188
#13 0x0277b80e in start_thread (arg=0xae906b70) at pthread_create.c:300
#14 0x024617ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xae105b70 (LWP 15077)):
#0  0x00751422 in __kernel_vsyscall ()
#1  0x0277fe15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0246e78d in __pthread_cond_wait (cond=0x95b39d8, mutex=0x95b39c0) at forward.c:139
#3  0x0087ae67 in QWaitConditionPrivate::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x95b3b48, mutex=0x95eb960, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x02109b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b3b30, th=0xb91b6b8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0210c19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9564da0, th=0xb91b6b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x021081fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x95b3b30, th=0xb91b6b8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0210c292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xb91b6b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xb91b6b8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xb91b6b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xb91b6b8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xb91b6b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xb91b6b8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x0210c2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9564da0, th=0xb91b6b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x02109db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b3b30, th=0xb91b6b8, previous=0xfd50a40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x0210a3be in ThreadWeaver::ThreadRunHelper::run (this=0xae105304, parent=0x95b3b30, th=0xb91b6b8) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x0210a9db in ThreadWeaver::Thread::run (this=0xb91b6b8) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x00879e32 in QThreadPrivate::start (arg=0xb91b6b8) at thread/qthread_unix.cpp:188
#19 0x0277b80e in start_thread (arg=0xae105b70) at pthread_create.c:300
#20 0x024617ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7750700 (LWP 11809)):
[KCrash Handler]
#6  KMSearchPattern::requiresBody (this=0xa5d6358) at ../../kmail/kmsearchpattern.cpp:809
#7  0xb4594d78 in KMSearchPattern::matches (this=0xa5d6358, serNum=6906, ignoreBody=false) at ../../kmail/kmsearchpattern.cpp:789
#8  0xb4555f2e in KMail::ActionScheduler::filterMessage (this=0xfb1a788) at ../../kmail/actionscheduler.cpp:641
#9  0xb45562b4 in KMail::ActionScheduler::qt_metacall (this=0xfb1a788, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbf8590ac) at ./actionscheduler.moc:124
#10 0x00980263 in QMetaObject::activate (sender=0xdd80158, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#11 0x00980ec2 in QMetaObject::activate (sender=0xdd80158, m=0xa5b904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#12 0x009ba667 in QTimer::timeout (this=0xdd80158) at .moc/release-shared/moc_qtimer.cpp:128
#13 0x009859ae in QTimer::timerEvent (this=0xdd80158, e=0xbf859540) at kernel/qtimer.cpp:261
#14 0x0097a3bf in QObject::event (this=0xdd80158, e=0xbf859540) at kernel/qobject.cpp:1075
#15 0x00f37f54 in QApplicationPrivate::notify_helper (this=0x9004820, receiver=0xdd80158, e=0xbf859540) at kernel/qapplication.cpp:4056
#16 0x00f3f67c in QApplication::notify (this=0xbf8598a4, receiver=0xdd80158, e=0xbf859540) at kernel/qapplication.cpp:3603
#17 0x00c57bfa in KApplication::notify (this=0xbf8598a4, receiver=0xdd80158, event=0xbf859540) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x0096a6cb in QCoreApplication::notifyInternal (this=0xbf8598a4, receiver=0xdd80158, event=0xbf859540) at kernel/qcoreapplication.cpp:610
#19 0x009977ce in QCoreApplication::sendEvent (this=0x9009394) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 QTimerInfoList::activateTimers (this=0x9009394) at kernel/qeventdispatcher_unix.cpp:572
#21 0x009950e0 in timerSourceDispatch (source=0x9009360) at kernel/qeventdispatcher_glib.cpp:165
#22 0x070ece78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x070f0720 in ?? () from /lib/libglib-2.0.so.0
#24 0x070f0853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x0099502c in QEventDispatcherGlib::processEvents (this=0x8fdf9f8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00fd8be5 in QGuiEventDispatcherGlib::processEvents (this=0x8fdf9f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00968c79 in QEventLoop::processEvents (this=0xbf859804, flags=) at kernel/qeventloop.cpp:149
#28 0x009690ca in QEventLoop::exec (this=0xbf859804, flags=...) at kernel/qeventloop.cpp:201
#29 0x0096b53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x00f37dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#31 0x0804b4e6 in main (argc=1, argv=0xbf859ac4) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-06 02:20:52 UTC
*** Bug 213241 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-11-18 13:04:22 UTC
From bug 215043:
---
What I was doing when the application crashed:
I just set up several filtering rules in Kmail on an IMAP account, then i
started applying them all on 3000 messages, it crashed after treating 1000 of
them.
Comment 3 Dario Andres 2009-11-18 13:04:24 UTC
*** Bug 215043 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Thomas 2010-01-07 21:24:17 UTC
*** Bug 221620 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2010-06-07 01:45:18 UTC
*** Bug 235071 has been marked as a duplicate of this bug. ***
Comment 6 Frédéric CORNU 2010-08-19 00:23:56 UTC
Created attachment 50713 [details]
New crash information added by DrKonqi

What happened : Kmail segfaulted while applying newly created filter on an IMAP account
What I did just before : Selected all messages in an IMAP folder and hit Ctrl+J
Comment 7 Christophe Marin 2010-09-24 16:19:43 UTC
*** Bug 252237 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2010-12-14 15:26:22 UTC
*** Bug 229104 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2010-12-14 15:26:32 UTC
*** Bug 229114 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2010-12-14 15:26:46 UTC
*** Bug 259811 has been marked as a duplicate of this bug. ***
Comment 11 Christophe Marin 2010-12-14 15:27:22 UTC
*** Bug 164448 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Marin 2010-12-14 15:28:42 UTC
*** Bug 259810 has been marked as a duplicate of this bug. ***
Comment 13 Christophe Marin 2011-02-09 20:33:48 UTC
*** Bug 265914 has been marked as a duplicate of this bug. ***
Comment 14 Christophe Marin 2011-02-09 21:59:50 UTC
*** Bug 265923 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2012-01-08 15:27:47 UTC
Closing with worksforme, the filtering is now done by a dedicated Akonadi resource.