Bug 216920

Summary: Kmail crash forwarding or replying to certain messages with attachments
Product: [Unmaintained] kmail Reporter: mps <moabi2000>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mps 2009-12-01 12:27:52 UTC
Application that crashed: kmail
Version of the application: 1.12.3
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.6.0
Operating System: Linux 2.6.30.9-96.fc11.x86_64 x86_64

What I was doing when the application crashed:

Forwarding or replying to particular emails consistently crashes kmail. The emails that cause the crash all have .pdf attachments, but not all emails with .pdf or other attachments cause the crash.

I am running the following versions of kdepim and qt:

kdepim.x86_64                      6:4.3.3-1.fc11kdebase.x86_64                     6:4.3.3-3.fc11 
qt.x86_64                          1:4.6.0-0.6.rc1.fc11
kdebase.x86_64                     6:4.3.3-3.fc11 

This would imply that this is not fixed as 213737 suggests and that bug should be reopened.



 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  KMReaderWin::htmlMail (this=0x0) at /usr/src/debug/kdepim-4.3.3/kmail/kmreaderwin.cpp:2558
#6  0x00007f1dd00630df in KMail::ObjectTreeParser::processMultiPartAlternativeSubtype (this=0x7fffc08c8bb0, node=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/objecttreeparser.cpp:1182
#7  0x00007f1dd0062bc6 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffc08c8bb0, node=0x1eedf20) at /usr/src/debug/kdepim-4.3.3/kmail/objecttreeparser.cpp:296
#8  0x00007f1dcfdfca34 in KMMessage::parseTextStringFromDwPart (this=<value optimized out>, root=0x1eedf20, parsedString=<value optimized out>, codec=@0x7fffc08c8dc8, isHTML=@0x7fffc08c8ddf)
    at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:502
#9  0x00007f1dcfdfce7c in KMMessage::asPlainText (this=0x293ec90, aStripSignature=false, allowDecryption=false) at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:527
#10 0x00007f1dcfe04ac0 in KMMessage::createForward (this=0x293ec90, tmpl=@0x7fffc08c9450) at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:1001
#11 0x00007f1dd0087356 in KMForwardCommand::execute (this=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:1345
#12 0x00007f1dd007982a in KMCommand::slotPostTransfer (this=0x1df1120, result=KMCommand::OK) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:275
#13 0x00007f1dd0083983 in KMCommand::qt_metacall (this=0x1df1120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc08c99c0)
    at /usr/src/debug/kdepim-4.3.3/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:87
#14 0x0000003308b78043 in QMetaObject::activate (sender=0x1df1120, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3282
#15 0x00007f1dd00769ae in KMCommand::messagesTransfered (this=0x0, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.3.3/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:102
#16 0x00007f1dd0091a2c in KMCommand::transferSelectedMsgs (this=0x1df1120) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:369
#17 0x00007f1dd0091c5f in KMCommand::slotStart (this=0x1df1120) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:267
#18 0x00007f1dd0083966 in KMCommand::qt_metacall (this=0x1df1120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc08c9bf0)
    at /usr/src/debug/kdepim-4.3.3/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:86
#19 0x0000003308b78043 in QMetaObject::activate (sender=0x211c6d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3282
#20 0x0000003308b7f85f in QSingleShotTimer::timerEvent (this=0x211c6d0) at kernel/qtimer.cpp:308
#21 0x0000003308b74cbe in QObject::event (this=0x211c6d0, e=0x7fffc08ca2c0) at kernel/qobject.cpp:1212
#22 0x000000330a3ab86c in QApplicationPrivate::notify_helper (this=0xd02330, receiver=0x211c6d0, e=0x7fffc08ca2c0) at kernel/qapplication.cpp:4242
#23 0x000000330a3b1de5 in QApplication::notify (this=0x7fffc08ca710, receiver=0x211c6d0, e=0x7fffc08ca2c0) at kernel/qapplication.cpp:4125
#24 0x000000330ba11be6 in KApplication::notify (this=0x7fffc08ca710, receiver=0x211c6d0, event=0x7fffc08ca2c0) at /usr/src/debug/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#25 0x0000003308b6521c in QCoreApplication::notifyInternal (this=0x7fffc08ca710, receiver=0x211c6d0, event=0x7fffc08ca2c0) at kernel/qcoreapplication.cpp:704
#26 0x0000003308b91d12 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:603
#28 0x0000003308b8e938 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#30 0x000000358643790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x000000358643b0e8 in ?? () from /lib64/libglib-2.0.so.0
#32 0x000000358643b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x0000003308b8e603 in QEventDispatcherGlib::processEvents (this=0xcce520, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#34 0x000000330a457cbe in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x0000003308b63b52 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#36 0x0000003308b63f2c in QEventLoop::exec (this=0x7fffc08ca560, flags={i = 0}) at kernel/qeventloop.cpp:201
#37 0x0000003308b66349 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x0000000000402e69 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/main.cpp:146
Warning: the current language does not match this frame.

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

Reported using DrKonqi
Comment 1 FiNeX 2009-12-01 17:43:41 UTC

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