Bug 235750

Summary: KMail crashes when copypasting screenshot.
Product: [Unmaintained] kmail Reporter: Roman Naumann <roman_naumann>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roman Naumann 2010-04-29 20:54:55 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I copypasted a screenshot into a "compse mail" window and selected "paste as attachment", then it crashed.


The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fd2ba3b16d9 in QMimeDataPrivate::retrieveTypedData (this=<value optimized out>, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:107
#6  0x00007fd2ba3b1e82 in QMimeData::data (this=<value optimized out>, mimeType=...) at kernel/qmimedata.cpp:524
#7  0x00007fd2be6d2a0e in ?? () from /usr/lib64/libkmailprivate.so.4
#8  0x00007fd2bf64d7c9 in KTextEdit::Private::handleShortcut(QKeyEvent const*) () from /usr/lib64/libkdeui.so.5
#9  0x00007fd2bf64e0bd in KTextEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdeui.so.5
#10 0x00007fd2bf63809b in KRichTextEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdeui.so.5
#11 0x00007fd2bc7c7055 in KPIMTextEdit::TextEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkpimtextedit.so.4
#12 0x00007fd2be0791cf in KPIM::KMeditor::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdepim.so.4
#13 0x00007fd2b95b4270 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007fd2b9940f6b in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007fd2b99cbfab in QAbstractScrollArea::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fd2b99b7095 in QTextEdit::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fd2b955d37d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007fd2b9565299 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007fd2bf54e1db in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007fd2ba3a4fcb in QCoreApplication::notifyInternal (this=0x7fff4b284d20, receiver=0x11c4db0, event=0x7fff4b283c10) at kernel/qcoreapplication.cpp:704
#21 0x00007fd2b9609554 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fd2b960b809 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fd2b95e485d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007fd2b960ea0a in ?? () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007fd2b1fb1d89 in g_main_dispatch (context=0x695040) at gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x695040) at gmain.c:2513
#27 0x00007fd2b1fb55d8 in g_main_context_iterate (context=0x695040, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#28 0x00007fd2b1fb578c in IA__g_main_context_iteration (context=0x695040, may_block=1) at gmain.c:2654
#29 0x00007fd2ba3ce75c in QEventDispatcherGlib::processEvents (this=0x689630, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007fd2b960e5af in ?? () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fd2ba3a38f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fd2ba3a3cc4 in QEventLoop::exec (this=0x7fff4b284b50, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007fd2ba3a6116 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x0000000000403814 in _start ()

Possible duplicates by query: bug 205492.

Reported using DrKonqi
Comment 1 Laurent Montel 2010-10-14 12:19:27 UTC
Fixed in kdepim-4.4.7
Regards
Comment 2 Christoph Feck 2010-10-31 00:59:20 UTC
Thanks Laurent :)

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