https://bugs.kde.org/show_bug.cgi?id=275882
Summary: Crash while saving or opening an attachment of a mail Product: kmail2 Version: unspecified Platform: Debian testing OS/Version: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general AssignedTo: kdepim-bugs@kde.org ReportedBy: dominic.schra...@gmx.net Application: kmail (1.13.7) KDE Platform Version: 4.6.2 (4.6.2) Qt Version: 4.7.2 Operating System: Linux 2.6.38-2-amd64 x86_64 Distribution: Debian GNU/Linux testing (wheezy) -- Information about the crash: - What I was doing when the application crashed: I got a mail with 3 attachments, but not all attachments are shown. The name of the second attachment is displayed incomplete, at the bottom of the mail the complete name of this attachment is shown, but it contains an quotation mark at the end of the filename. If I try to open or save this attachment KMail crashes immediately. When I press 'v' to show the code of the message the name of the second attachment changes and contains several "%20" in the name, but the first part of the filename is still missing. The third attachment is shown now with %20 and a missing first part of the name, too. At the bottom of the page the complete names of the attachments are shown without those %20 codes and it is possible to open or save the attachment now. After opening another mail and then opening this mail again, the mail is shown like before (without the third attachment and the first version of the incomplete filename of the second attachment) again. This problem occurs on an IMAP-Acount on a Zarafa Server. When I use another mail client the message is shown without any problems. The headers of the second attachment: --=_ZG_static Content-Type: application/octet-stream; name="=?windows-1252?Q?Planned_Work_-_WF_2634447_-_2011-06-29_-_Dr._B=FClow_&_Masiak_GmbH.pdf?="; name*0*=windows-1252''Planned%20Work%20-%20WF%202634447%20-%202011-06-29%20; name*1*=-%20Dr.%20B%FClow%20&%20Masiak%20GmbH.pdf Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="=?windows-1252?Q?Planned_Work_-_WF_2634447_-_2011-06-29_-_Dr._B=FClow_&_Masiak_GmbH.pdf?="; filename*0*=windows-1252''Planned%20Work%20-%20WF%202634447%20-%202011-06-2; filename*1*=9%20-%20Dr.%20B%FClow%20&%20Masiak%20GmbH.pdf And the third attachment: --=_ZG_static Content-Type: application/octet-stream; name="=?windows-1252?Q?Affected_lines_-_WF_2634447_-_2011-06-29_-_Dr._B=FClow_&_Masiak_GmbH.xls?="; name*0*=windows-1252''Affected%20lines%20-%20WF%202634447%20-%202011-06-29%20; name*1*=-%20Dr.%20B%FClow%20&%20Masiak%20GmbH.xls Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="=?windows-1252?Q?Affected_lines_-_WF_2634447_-_2011-06-29_-_Dr._B=FClow_&_Masiak_GmbH.xls?="; filename*0*=windows-1252''Affected%20lines%20-%20WF%202634447%20-%202011-06; filename*1*=-29%20-%20Dr.%20B%FClow%20&%20Masiak%20GmbH.xls The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault [KCrash Handler] #6 c_str (this=<value optimized out>, part=0x34d3260) at ../../mimelib/mimelib/string.h:618 #7 partId (this=<value optimized out>, part=0x34d3260) at ../../mimelib/mimelib/msgcmp.h:259 #8 partNode::findNodeForDwPart (this=<value optimized out>, part=0x34d3260) at ../../kmail/partNode.cpp:463 #9 0x00007f21a3220590 in partNode::findNodeForDwPart (this=<value optimized out>, part=0x34d3260) at ../../kmail/partNode.cpp:466 #10 0x00007f21a3220590 in partNode::findNodeForDwPart (this=<value optimized out>, part=0x34d3260) at ../../kmail/partNode.cpp:466 #11 0x00007f21a30b58a7 in KMReaderWin::update (this=0x21bb020, observable=<value optimized out>) at ../../kmail/kmreaderwin.cpp:919 #12 0x00007f21a32a88e1 in KMail::ISubject::notify (this=0x3579330) at ../../kmail/isubject.cpp:33 #13 0x00007f21a2ffd603 in KMMessage::updateBodyPart (this=0x3579260, partSpecifier=..., data=<value optimized out>) at ../../kmail/kmmessage.cpp:3185 #14 0x00007f21a32830bc in KMail::ImapJob::slotGetMessageResult (this=0x30a9650, job=<value optimized out>) at ../../kmail/imapjob.cpp:435 #15 0x00007f21a328723b in KMail::ImapJob::qt_metacall (this=0x30a9650, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe9f3d3b0) at ./imapjob.moc:88 #16 0x00007f21a1edd18f in QMetaObject::activate (sender=0x323f6c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe9f3d3b0) at kernel/qobject.cpp:3278 #17 0x00007f21a3adf9a2 in KJob::result (this=<value optimized out>, _t1=0x323f6c0) at ./kjob.moc:194 #18 0x00007f21a3adf9e0 in KJob::emitResult (this=0x323f6c0) at ../../kdecore/jobs/kjob.cpp:312 #19 0x00007f219e9682ed in KIO::SimpleJob::slotFinished (this=0x323f6c0) at ../../kio/kio/job.cpp:525 #20 0x00007f219e96d852 in KIO::TransferJob::slotFinished (this=0x323f6c0) at ../../kio/kio/job.cpp:1118 #21 0x00007f219e971f31 in KIO::TransferJob::qt_metacall (this=0x323f6c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe9f3d800) at ./jobclasses.moc:367 #22 0x00007f21a1edd18f in QMetaObject::activate (sender=0x25a9740, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278 #23 0x00007f219ea11d41 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:173 #24 0x00007f219ea0ec73 in KIO::SlaveInterface::dispatch (this=0x25a9740) at ../../kio/kio/slaveinterface.cpp:89 #25 0x00007f219ea02426 in KIO::Slave::gotInput (this=0x25a9740) at ../../kio/kio/slave.cpp:348 #26 0x00007f219ea02a3c in KIO::Slave::qt_metacall (this=0x25a9740, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe9f3dc50) at ./slave.moc:82 #27 0x00007f21a1edd18f in QMetaObject::activate (sender=0x2dd68c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278 #28 0x00007f219e939687 in KIO::ConnectionPrivate::dequeue (this=0x2dbc280) at ../../kio/kio/connection.cpp:82 #29 0x00007f219e93973d in KIO::Connection::qt_metacall (this=0x2dd68c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x23f7eb0) at ./connection.moc:79 #30 0x00007f21a1edbfea in QObject::event (this=0x2dd68c0, e=<value optimized out>) at kernel/qobject.cpp:1217 #31 0x00007f21a2405d14 in QApplicationPrivate::notify_helper (this=0x22c4710, receiver=0x2dd68c0, e=0x35a6f20) at kernel/qapplication.cpp:4462 #32 0x00007f21a240a8da in QApplication::notify (this=<value optimized out>, receiver=0x2dd68c0, e=0x35a6f20) at kernel/qapplication.cpp:4341 #33 0x00007f21a40cf426 in KApplication::notify (this=0x7fffe9f3e870, receiver=0x2dd68c0, event=0x35a6f20) at ../../kdeui/kernel/kapplication.cpp:311 #34 0x00007f21a1ec7c8c in QCoreApplication::notifyInternal (this=0x7fffe9f3e870, receiver=0x2dd68c0, event=0x35a6f20) at kernel/qcoreapplication.cpp:731 #35 0x00007f21a1ecb4b5 in sendEvent (receiver=0x0, event_type=0, data=0x2018f80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2018f80) at kernel/qcoreapplication.cpp:1372 #37 0x00007f21a1ef2bf3 in sendPostedEvents (s=0x22c3b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #38 postEventSourceDispatch (s=0x22c3b00) at kernel/qeventdispatcher_glib.cpp:277 #39 0x00007f219948e2a2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #40 0x00007f2199492968 in ?? () from /lib/libglib-2.0.so.0 #41 0x00007f2199492b1c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #42 0x00007f21a1ef2d8f in QEventDispatcherGlib::processEvents (this=0x201a650, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #43 0x00007f21a24ac4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #44 0x00007f21a1ec7022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #45 0x00007f21a1ec726c in QEventLoop::exec (this=0x7fffe9f3e6a0, flags=...) at kernel/qeventloop.cpp:201 #46 0x00007f21a1ecb76b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #47 0x00000000004032db in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:158 Reported using DrKonqi -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs