Bug 229544

Summary: Kmail crashes when applying filters on multiple selected messages
Product: [Unmaintained] kmail Reporter: martin
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern
Priority: NOR    
Version: 1.13.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description martin 2010-03-05 14:05:12 UTC
Application: kmail (1.13.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- selected all messages in a folder
- applied all filters on the selected messages
- seems that some messages were filtered and then kmail crashes

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7ffd77c5f710 (LWP 31878)):
#0  0x00007ffd8f1773e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffd91fa54e2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffd91f9a9b9 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007ffd91fa45b5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007ffd8f17281a in start_thread () from /lib/libpthread.so.0
#5  0x00007ffd90ae9c7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffd7722c710 (LWP 31879)):
#0  0x00007ffd8f1773e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffd91fa54e2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffd91f9a9b9 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007ffd91fa45b5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007ffd8f17281a in start_thread () from /lib/libpthread.so.0
#5  0x00007ffd90ae9c7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffd93fa9760 (LWP 31871)):
[KCrash Handler]
#5  0x00007ffd9286457e in KMMessage::headerField (this=0x2cfa680, aName=..., encodingMode=KMMessage::MessageCharsetEncoding) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/kmmessage.cpp:1949
#6  0x00007ffd92aaba91 in KMail::FancyHeaderStyle::format (this=<value optimized out>, message=<value optimized out>, strategy=<value optimized out>, vCardName=<value optimized out>, 
    printing=<value optimized out>, topLevel=true) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/headerstyle.cpp:534
#7  0x00007ffd9293e46b in KMReaderWin::writeMsgHeader (this=0x2484bc0, aMsg=<value optimized out>, vCardNode=0x0, topLevel=true)
    at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/kmreaderwin.cpp:1726
#8  0x00007ffd929529cd in KMReaderWin::parseMsg (this=0x2484bc0, aMsg=0x2cfa680) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/kmreaderwin.cpp:1607
#9  0x00007ffd92947ad0 in KMReaderWin::displayMessage (this=0x2484bc0) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/kmreaderwin.cpp:1536
#10 0x00007ffd92947ca0 in KMReaderWin::updateReaderWin (this=0x2484bc0) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/kmreaderwin.cpp:1479
#11 0x00007ffd92955fed in KMReaderWin::qt_metacall (this=0x2484bc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1b276a10)
    at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/kmreaderwin.moc:179
#12 0x00007ffd920ab95f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007ffd920a85b3 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#14 0x00007ffd9145595c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007ffd9145bf4b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007ffd939d5d96 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007ffd92098bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007ffd920c58a2 in ?? () from /usr/lib/libQtCore.so.4
#19 0x00007ffd920c23c8 in ?? () from /usr/lib/libQtCore.so.4
#20 0x00007ffd8832b26e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007ffd8832ec28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#22 0x00007ffd8832ed50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007ffd920c2093 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007ffd9150430e in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007ffd92097522 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x00007ffd920978fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007ffd9209b63b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#28 0x00000000004033f2 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.1/kmail/main.cpp:156

This bug may be a duplicate of or related to bug 226133.

Possible duplicates by query: bug 228973, bug 226137, bug 226133, bug 225923, bug 224803.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-03-14 01:48:02 UTC

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