Bug 238982

Summary: KMail crashed when pasting image from clipboard into message composer
Product: [Unmaintained] kmail Reporter: Elias Probst <mail>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: 1.13.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Elias Probst 2010-05-27 09:25:47 UTC
Application: kmail (1.13.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.34-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- Created a screenshot using KSnapshot
- Copied the screenshot to the clipboard using KSnapshot's "Copy to clipboard" function
- Opened a message composer window
- Wrote some text
- CTRL+V
- Paste as attachment
- KMail crashed producing this backtrace

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[KCrash Handler]
#5  QMimeDataPrivate::q_func (this=0x2, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:59
#6  QMimeDataPrivate::retrieveTypedData (this=0x2, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:105
#7  0x00007f9b10848f90 in QMimeData::data (this=<value optimized out>, mimeType=...) at kernel/qmimedata.cpp:524
#8  0x00007f9b11252975 in KMComposerEditor::insertFromMimeData (this=0x6fa7120, source=0x14589c0) at /var/tmp/portage/kde-base/kmail-4.4.3/work/kmail-4.4.3/kmail/kmcomposereditor.cpp:180
#9  0x00007f9b120e7cc6 in KTextEdit::Private::handleShortcut(QKeyEvent const*) () from /usr/lib64/libkdeui.so.5
#10 0x00007f9b120e8531 in KTextEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdeui.so.5
#11 0x00007f9b120d4d2d in KRichTextEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdeui.so.5
#12 0x00007f9b08e223ef in KPIMTextEdit::TextEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkpimtextedit.so.4
#13 0x00007f9b095fd18a in KPIM::KMeditor::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdepim.so.4
#14 0x00007f9b0fcbcfb8 in QWidget::event (this=0x6fa7120, event=0x7fff38ba7160) at kernel/qwidget.cpp:8033
#15 0x00007f9b1002ec66 in QFrame::event (this=0x6fa7120, e=0x7fff38ba7160) at widgets/qframe.cpp:557
#16 0x00007f9b100ab8fa in QAbstractScrollArea::event (this=0x6fa7120, e=0x7fff38ba7160) at widgets/qabstractscrollarea.cpp:989
#17 0x00007f9b1009929a in QTextEdit::event (this=0x6fa7120, e=0x7fff38ba7160) at widgets/qtextedit.cpp:1070
#18 0x00007f9b0fc6f8a6 in QApplicationPrivate::notify_helper (this=0x710910, receiver=0x6fa7120, e=0x7fff38ba7160) at kernel/qapplication.cpp:4300
#19 0x00007f9b0fc76e8e in QApplication::notify (this=<value optimized out>, receiver=0x6fa7120, e=0x7fff38ba7160) at kernel/qapplication.cpp:3763
#20 0x00007f9b12000784 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007f9b1083d334 in QCoreApplication::notifyInternal (this=0x7fff38ba8260, receiver=0x6fa7120, event=0x7fff38ba7160) at kernel/qcoreapplication.cpp:704
#22 0x00007f9b0fd0c080 in QKeyMapper::sendKeyEvent (keyWidget=0x6fa7120, grab=<value optimized out>, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=false, count=1, 
    nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
#23 0x00007f9b0fd0e162 in QKeyMapperPrivate::translateKeyEvent (this=0x746d40, keyWidget=0x6fa7120, event=0x7fff38ba7d70, grab=2) at kernel/qkeymapper_x11.cpp:1831
#24 0x00007f9b0fcea639 in QApplication::x11ProcessEvent (this=0x7fff38ba8260, event=0x7fff38ba7d70) at kernel/qapplication_x11.cpp:3394
#25 0x00007f9b0fd1104a in x11EventSourceDispatch (s=0x714210, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f9b07431113 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f9b0743420c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x00007f9b0743438e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f9b10862cb4 in QEventDispatcherGlib::processEvents (this=0x60d8d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007f9b0fd10c66 in QGuiEventDispatcherGlib::processEvents (this=0x7fff38ba5fc0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f9b1083bff4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f9b1083c33f in QEventLoop::exec (this=0x7fff38ba80a0, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f9b1083e31e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x00000000004031bd in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.3/work/kmail-4.4.3/kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-05-27 15:41:16 UTC

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