Bug 219926 - Crash when filtering mail on imap account
Summary: Crash when filtering mail on imap account
Status: RESOLVED DUPLICATE of bug 169048
Alias: None
Product: kontact
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-12-24 09:50 UTC by Sebastian Vahl
Modified: 2009-12-24 14:20 UTC (History)
1 user (show)

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


Attachments
Filters (2.06 KB, text/plain)
2009-12-24 09:53 UTC, Sebastian Vahl
Details
Saved mail that start a crash (12.87 KB, text/plain)
2009-12-24 10:00 UTC, Sebastian Vahl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Vahl 2009-12-24 09:50:36 UTC
Application that crashed: kontact
Version of the application: 4.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.6-166.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

What I was doing when the application crashed:
Kmail crash randomly when filtering mail on one of my imap accounts. This happens most the time on first start/check, but even when I manually apply all filter to the rest of the mails in the inbox. A few crashes later I could filter all mails and then kmail seems to stable for the rest of the day.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fd408c01840 (LWP 13403))]

Thread 5 (Thread 0x7fd3f7a35710 (LWP 13524)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000370825addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fd3fa2acaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f32c10, th=0x28a7620) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fd3fa2aebfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x28a7620) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fd3fa2aec14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x28a7620) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fd3fa2ad21f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd3f7a34d50, parent=0x1f32c10, th=0x28a7620) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd3fa2ad658 in ThreadWeaver::Thread::run (this=0x28a7620) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003708259d25 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00000036d3206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00000036d26de6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd3f67f0710 (LWP 13530)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000370825addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fd3fa2acaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f32c10, th=0x157a8c0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fd3fa2aebfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x157a8c0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fd3fa2aec14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x157a8c0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fd3fa2aec14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x157a8c0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd3fa2ad21f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd3f67efd50, parent=0x1f32c10, th=0x157a8c0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fd3fa2ad658 in ThreadWeaver::Thread::run (this=0x157a8c0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003708259d25 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00000036d3206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00000036d26de6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd3f5def710 (LWP 13535)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000370825addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fd3fa2acaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f32c10, th=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fd3fa2aebfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fd3fa2aec14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fd3fa2aec14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd3fa2aec14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fd3fa2aec14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fd3fa2ad21f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd3f5deed50, parent=0x1f32c10, th=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:87
#9  0x00007fd3fa2ad658 in ThreadWeaver::Thread::run (this=0x26d2890) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:142
#10 0x0000003708259d25 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00000036d3206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x00000036d26de6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd3f53ee710 (LWP 13538)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000370825addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fd3fa2acaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f32c10, th=0x25ddde0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fd3fa2aebfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f299e0, th=0x25ddde0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fd3fa2ad21f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd3f53edd50, parent=0x1f32c10, th=0x25ddde0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fd3fa2ad658 in ThreadWeaver::Thread::run (this=0x25ddde0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:142
#6  0x0000003708259d25 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00000036d3206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00000036d26de6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd408c01840 (LWP 13403)):
[KCrash Handler]
#5  KMail::ActionScheduler::actionMessage (this=0x2471440, res=<value optimized out>) at /usr/src/debug/kdepim-4.3.4/kmail/actionscheduler.cpp:675
#6  0x00007fd3fa92d4a9 in KMail::ActionScheduler::filterMessage (this=0x2471440) at /usr/src/debug/kdepim-4.3.4/kmail/actionscheduler.cpp:648
#7  0x00007fd3fa92d864 in KMail::ActionScheduler::qt_metacall (this=0x2471440, _c=InvokeMetaMethod, _id=17, _a=0x7fff296ecc60)
    at /usr/src/debug/kdepim-4.3.4/x86_64-redhat-linux-gnu/kmail/actionscheduler.moc:124
#8  0x000000370835408c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#9  0x000000370834e08e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#10 0x000000323498f65c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00000032349968ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007fd40b4f7a66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#13 0x000000370833ee6c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#14 0x00000037083698d2 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x000000370836729d in ?? () from /usr/lib64/libQtCore.so.4
#16 0x0000003706a3922e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x0000003706a3cc18 in ?? () from /lib64/libglib-2.0.so.0
#18 0x0000003706a3cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x00000037083671e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#20 0x0000003234a21ffe in ?? () from /usr/lib64/libQtGui.so.4
#21 0x000000370833d772 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x000000370833db44 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#23 0x000000370833fcd9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#24 0x0000000000403d17 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.4/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 210764

Reported using DrKonqi
Comment 1 Sebastian Vahl 2009-12-24 09:53:06 UTC
Created attachment 39301 [details]
Filters

One day I exported these filters and imported them on another machine (which was quite stable before). But after that it started crashing.
Comment 2 Sebastian Vahl 2009-12-24 10:00:36 UTC
Created attachment 39302 [details]
Saved mail that start a crash

Nice. I'm not able to filter the mail that I got for this bug report (tried it five times). :)
The filter is one of the attached filters. I receive the mails my imap account in the inbox and then some filters move them to sub folders.

Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fe12e56f840 (LWP 16135))]

Thread 3 (Thread 0x7fe11e019710 (LWP 16156)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000370825ad42 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003708250dda in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003708259d25 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00000036d3206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00000036d26de6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe117fff710 (LWP 16167)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000370825ad42 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003708250dda in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003708259d25 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00000036d3206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00000036d26de6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe12e56f840 (LWP 16135)):
[KCrash Handler]
#5  KMail::ActionScheduler::actionMessage (this=0x2298330, res=<value optimized out>) at /usr/src/debug/kdepim-4.3.4/kmail/actionscheduler.cpp:675
#6  0x00007fe12029b4a9 in KMail::ActionScheduler::filterMessage (this=0x2298330) at /usr/src/debug/kdepim-4.3.4/kmail/actionscheduler.cpp:648
#7  0x00007fe12029b864 in KMail::ActionScheduler::qt_metacall (this=0x2298330, _c=InvokeMetaMethod, _id=17, _a=0x7fffcbf4f740)
    at /usr/src/debug/kdepim-4.3.4/x86_64-redhat-linux-gnu/kmail/actionscheduler.moc:124
#8  0x000000370835408c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#9  0x000000370834e08e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#10 0x000000323498f65c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00000032349968ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007fe130e65a66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#13 0x000000370833ee6c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#14 0x00000037083698d2 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x000000370836729d in ?? () from /usr/lib64/libQtCore.so.4
#16 0x0000003706a3922e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x0000003706a3cc18 in ?? () from /lib64/libglib-2.0.so.0
#18 0x0000003706a3cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x00000037083671e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#20 0x0000003234a21ffe in ?? () from /usr/lib64/libQtGui.so.4
#21 0x000000370833d772 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x000000370833db44 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#23 0x000000370833fcd9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#24 0x0000000000403d17 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.4/kontact/src/main.cpp:218
Comment 3 Dario Andres 2009-12-24 14:20:48 UTC
This crash is being tracked at bug 169048. I have added all the information you provided over there.
Thanks for the detailed data and explanations

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