Bug 299688 - Kmail crashes during attempt to save attached image
Summary: Kmail crashes during attempt to save attached image
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 15:42 UTC by Ondřej Bockschneider
Modified: 2012-05-09 16:09 UTC (History)
1 user (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 Ondřej Bockschneider 2012-05-09 15:42:53 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-2-686-pae i686
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:

I launched Kmail and wrote to fast search line. Then i clicked once to found email (here was ony one) and then I clicked to attached PNG image. Dialogue for common actions appeared and I chose to Save the file.
Then Kmail crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[KCrash Handler]
#7  0xb5cbf740 in QChar::isSpace() const () from /usr/lib/libQtCore.so.4
#8  0xb5cc445f in QString::trimmed() const () from /usr/lib/libQtCore.so.4
#9  0xb6c7e2b2 in KMSaveAttachmentsCommand::slotSaveAll() () from /usr/lib/libkmailprivate.so.4
#10 0xb6c7f856 in KMSaveAttachmentsCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#11 0xb5d7ba6d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb5d8a980 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xb6c6e675 in KMLoadPartsCommand::partsRetrieved() () from /usr/lib/libkmailprivate.so.4
#14 0xb6c6e6a2 in KMLoadPartsCommand::execute() () from /usr/lib/libkmailprivate.so.4
#15 0xb6c66422 in KMLoadPartsCommand::slotStart() () from /usr/lib/libkmailprivate.so.4
#16 0xb6c7ef1c in KMCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#17 0xb6c7f312 in KMLoadPartsCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#18 0xb5d7ba6d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb5d86585 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#20 0xb5d8da9f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0xb5ff2a64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb5ff7df2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb7480511 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0xb5d756be in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb5d78e84 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#26 0xb5d78fcc in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#27 0xb5da3694 in ?? () from /usr/lib/libQtCore.so.4
#28 0xb3b448aa in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb3b44cb5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb3b44d91 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb5da3ac7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb60a7c5a in ?? () from /usr/lib/libQtGui.so.4
#33 0xb5d746dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb5d74921 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb5d7907a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0xb5ff08e4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#37 0x0804a5f2 in ?? ()
#38 0xb59c2e46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#39 0x0804aa81 in _start ()

Reported using DrKonqi
Comment 1 Laurent Montel 2012-05-09 16:09:16 UTC
Code is not in 4.8 source.
So can't fix it.
Update your kdepim