Bug 240473 - Kmail crashes while trying to save attachment
Summary: Kmail crashes while trying to save attachment
Status: RESOLVED DUPLICATE of bug 136145
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 16:09 UTC by diseberg
Modified: 2011-02-14 13:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description diseberg 2010-06-02 16:09:10 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Kmail crashes while trying to save attachment. Zip file and jpeg.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  QByteArray::constData (this=0x1f242e8) at /usr/include/qt4/QtCore/qbytearray.h:415
#6  QString (this=0x1f242e8) at /usr/include/qt4/QtCore/qstring.h:416
#7  KMMessagePart::fileName (this=0x1f242e8) at ../../kmail/kmmsgpart.cpp:437
#8  0x00007f5977c1d810 in KMSaveAttachmentsCommand::slotSaveAll (this=<value optimized out>) at ../../kmail/kmcommands.cpp:2537
#9  0x00007f5977c1e290 in KMSaveAttachmentsCommand::qt_metacall (this=0x239c140, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./kmcommands.moc:895
#10 0x00007f597652ce3f in QMetaObject::activate (sender=0x239cea0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1f242c0) at kernel/qobject.cpp:3293
#11 0x00007f5977c00d39 in KMLoadPartsCommand::execute (this=0x7fff052e8a30) at ../../kmail/kmcommands.cpp:2876
#12 0x00007f5977c1f272 in KMLoadPartsCommand::slotStart (this=0x239cea0) at ../../kmail/kmcommands.cpp:2851
#13 0x00007f5977c0ec66 in KMCommand::qt_metacall (this=0x239cea0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff052e8e50) at ./kmcommands.moc:92
#14 0x00007f5977c0eea0 in KMLoadPartsCommand::qt_metacall (this=0x7fff052e8a30, _c=32654056, _id=37339456, _a=0x1f242c0) at ./kmcommands.moc:2135
#15 0x00007f597652ce3f in QMetaObject::activate (sender=0x1673ec0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1f242c0) at kernel/qobject.cpp:3293
#16 0x00007f597653465f in QSingleShotTimer::timerEvent (this=0x1673ec0) at kernel/qtimer.cpp:308
#17 0x00007f5976529a63 in QObject::event (this=0x1673ec0, e=0x7fff052e95b0) at kernel/qobject.cpp:1212
#18 0x00007f59769ed22c in QApplicationPrivate::notify_helper (this=0x12ef8c0, receiver=0x1673ec0, e=0x7fff052e95b0) at kernel/qapplication.cpp:4300
#19 0x00007f59769f36fb in QApplication::notify (this=0x7fff052e9a20, receiver=0x1673ec0, e=0x7fff052e95b0) at kernel/qapplication.cpp:4183
#20 0x00007f5978aef526 in KApplication::notify (this=0x7fff052e9a20, receiver=0x1673ec0, event=0x7fff052e95b0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007f597651a06c in QCoreApplication::notifyInternal (this=0x7fff052e9a20, receiver=0x1673ec0, event=0x7fff052e95b0) at kernel/qcoreapplication.cpp:704
#22 0x00007f5976546d42 in QCoreApplication::sendEvent (this=0x129d500) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x129d500) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00007f5976543824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 0x00007f596d5828c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f596d586748 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f596d5868fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f5976543513 in QEventDispatcherGlib::processEvents (this=0x1260c30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f5976a9d46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff052e8a30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f5976518992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f5976518d6c in QEventLoop::exec (this=0x7fff052e9850, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f597651caab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 228615.

Reported using DrKonqi
Comment 1 delcypher 2010-09-24 12:46:17 UTC
I experienced a similar problem trying to Save a particular (note this didn't happen with other mp3 files I tried saving) attachment from my gmail account (via IMAP) with the file named: "FarfromPerfect - crap on a stick (DEMO).mp3"

Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fecbccdbd72 in KMLoadPartsCommand::slotPartRetrieved(KMMessage*, QString const&) () from /usr/lib/libkmailprivate.so.4
#7  0x00007fecbccebcb6 in KMLoadPartsCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#8  0x00007fecbb661d9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#9  0x00007fecbcd26717 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x00007fecbcd326e6 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0x00007fecbcd341ab in ?? () from /usr/lib/libkmailprivate.so.4
#12 0x00007fecbb661d9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007fecbd56f862 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#14 0x00007fecbd56f8a0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#15 0x00007fecb7fb0fbd in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#16 0x00007fecb7fb8eb7 in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#17 0x00007fecb7fb76a1 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#18 0x00007fecbb661d9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007fecb8057001 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#20 0x00007fecb8053f33 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#21 0x00007fecb8047a76 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#22 0x00007fecb804808c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#23 0x00007fecbb661d9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#24 0x00007fecb7f82d27 in ?? () from /usr/lib/libkio.so.5
#25 0x00007fecb7f82ddd in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#26 0x00007fecbb65f639 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007fecbbb11854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007fecbbb1593a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007fecbdb12a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007fecbb64dd3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x00007fecbb65149a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#32 0x00007fecbb676323 in ?? () from /usr/lib/libQtCore.so.4
#33 0x00007fecb2d9cb23 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007fecb2d9d300 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007fecb2d9d59d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007fecbb67682f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007fecbbbb137e in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007fecbb64d122 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007fecbb64d35c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x00007fecbbfb332e in QDialog::exec() () from /usr/lib/libQtGui.so.4
#41 0x00007fecbda9424d in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib/libkdeui.so.5
#42 0x00007fecbda94a74 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libkdeui.so.5
#43 0x00007fecbce1a03d in ?? () from /usr/lib/libkmailprivate.so.4
#44 0x00007fecbcb606b5 in ?? () from /usr/lib/libkmailprivate.so.4
#45 0x00007fecbcd64892 in ?? () from /usr/lib/libkmailprivate.so.4
#46 0x00007fecbcd673d5 in ?? () from /usr/lib/libkmailprivate.so.4
#47 0x00007fecbcb5e891 in ?? () from /usr/lib/libkmailprivate.so.4
#48 0x00007fecbcb6cced in ?? () from /usr/lib/libkmailprivate.so.4
#49 0x00007fecbb65f639 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#50 0x00007fecbbb60c3d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#51 0x00007fecbbb11854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#52 0x00007fecbbb1593a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#53 0x00007fecbdb12a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#54 0x00007fecbb64dd3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#55 0x00007fecbb65149a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#56 0x00007fecbb676323 in ?? () from /usr/lib/libQtCore.so.4
#57 0x00007fecb2d9cb23 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0x00007fecb2d9d300 in ?? () from /usr/lib/libglib-2.0.so.0
#59 0x00007fecb2d9d59d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#60 0x00007fecbb67682f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#61 0x00007fecbbbb137e in ?? () from /usr/lib/libQtGui.so.4
#62 0x00007fecbb64d122 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#63 0x00007fecbb64d35c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#64 0x00007fecbb65176b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#65 0x0000000000403108 in _start ()

I'm using kmail 1.13.5 on KDE 4.5.1 on Arch Linux x86_64.
Comment 2 Dario Andres 2010-12-14 14:50:13 UTC
[Comment from a bug triager]
The original crash seems related to bug 228615 and/or bug 136145.
Regards
Comment 3 Christophe Marin 2011-02-14 13:40:40 UTC

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