Application: kontact (4.4.1) KDE Platform Version: 4.4.1 (KDE 4.4.1) "release 225" Qt Version: 4.6.2 Operating System: Linux 2.6.31.12-0.1-desktop x86_64 Distribution: "openSUSE 11.2 (x86_64)" -- Information about the crash: When taking a Screenshot with KSnapshot, copying to Clipboard and trying to insert this image into a KMail mail, kontact crashes, both inlining and attaching the image. Clipboard works with other apps, i.e. OpenOffice Writer. The crash can be reproduced every time. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #5 QMimeData::hasImage (this=0x1b9bd50) at kernel/qmimedata.cpp:470 #6 0x00007ff9ba364748 in KPIMTextEdit::TextEdit::insertFromMimeData (this=0x1895660, source=0x1b9bd50) at /usr/src/debug/kdepimlibs-4.4.1/kpimtextedit/textedit.cpp:546 #7 0x00007ff9a769bc1d in KMComposerEditor::insertFromMimeData (this=0x1895660, source=0x1b9bd50) at /usr/src/debug/kdepim-4.4.1/kmail/kmcomposereditor.cpp:172 #8 0x00007ff9bf886b99 in KTextEdit::Private::handleShortcut (this=0x189e5f0, event=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kdeui/widgets/ktextedit.cpp:338 #9 0x00007ff9bf88744d in KTextEdit::keyPressEvent (this=0x1895660, event=0xffffffff) at /usr/src/debug/kdelibs-4.4.1/kdeui/widgets/ktextedit.cpp:1059 #10 0x00007ff9bf88758b in KRichTextEdit::keyPressEvent (this=0x1895660, event=0x7fff1a0f4a70) at /usr/src/debug/kdelibs-4.4.1/kdeui/widgets/krichtextedit.cpp:482 #11 0x00007ff9ba364fb5 in KPIMTextEdit::TextEdit::keyPressEvent (this=0x1895660, e=0xffffffff) at /usr/src/debug/kdepimlibs-4.4.1/kpimtextedit/textedit.cpp:246 #12 0x00007ff9c028973e in KPIM::KMeditor::keyPressEvent (this=0x1895660, e=0x7fff1a0f4a70) at /usr/src/debug/kdepim-4.4.1/libkdepim/kmeditor.cpp:202 #13 0x00007ff9be1e8e1e in QWidget::event (this=0x1895660, event=0x7fff1a0f4a70) at kernel/qwidget.cpp:8033 #14 0x00007ff9be58d5b6 in QFrame::event (this=0x1895660, e=0x7fff1a0f4a70) at widgets/qframe.cpp:557 #15 0x00007ff9be61896b in QAbstractScrollArea::event (this=0x1895660, e=0x7fff1a0f4a70) at widgets/qabstractscrollarea.cpp:989 #16 0x00007ff9be603ee5 in QTextEdit::event (this=0x1895660, e=0x7fff1a0f4a70) at widgets/qtextedit.cpp:1070 #17 0x00007ff9be192e1c in QApplicationPrivate::notify_helper (this=0x649b50, receiver=0x1895660, e=0x7fff1a0f4a70) at kernel/qapplication.cpp:4300 #18 0x00007ff9be19abb1 in QApplication::notify (this=<value optimized out>, receiver=0x1895660, e=0x7fff1a0f4a70) at kernel/qapplication.cpp:3763 #19 0x00007ff9bf734456 in KApplication::notify (this=0x7fff1a0f5a30, receiver=0x1895660, event=0x7fff1a0f4a70) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302 #20 0x00007ff9bedd698c in QCoreApplication::notifyInternal (this=0x7fff1a0f5a30, receiver=0x1895660, event=0x7fff1a0f4a70) at kernel/qcoreapplication.cpp:704 #21 0x00007ff9be23c22a in QKeyMapper::sendKeyEvent (keyWidget=0x1895660, grab=<value optimized out>, type=KeyPress, code=86, modifiers=<value optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1861 #22 0x00007ff9be23e7a0 in QKeyMapperPrivate::translateKeyEvent (this=0x6927a0, keyWidget=0x1895660, event=<value optimized out>, grab=255) at kernel/qkeymapper_x11.cpp:1831 #23 0x00007ff9be217234 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1a0f5640) at kernel/qapplication_x11.cpp:3394 #24 0x00007ff9be241932 in x11EventSourceDispatch (s=0x6588c0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #25 0x00007ff9b65ebdee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #26 0x00007ff9b65ef7b8 in ?? () from /usr/lib64/libglib-2.0.so.0 #27 0x00007ff9b65ef8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #28 0x00007ff9bedfff06 in QEventDispatcherGlib::processEvents (this=0x613810, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #29 0x00007ff9be24151e in QGuiEventDispatcherGlib::processEvents (this=0x7ff9bee7c87e, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #30 0x00007ff9bedd52a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #31 0x00007ff9bedd567c in QEventLoop::exec (this=0x7fff1a0f5970, flags=) at kernel/qeventloop.cpp:201 #32 0x00007ff9bedd93cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #33 0x0000000000403ede in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.1/kontact/src/main.cpp:224 Reported using DrKonqi
*** Bug 230359 has been marked as a duplicate of this bug. ***
Created attachment 42239 [details] New crash information added by DrKonqi I can reproduce this copying an image or part of an image from Gimp to clipboard and then trying to paste it inline into a new mail in KMail. Result is that the system becomes unresponsive for half a second or so and the harddisk starts to work, then KMail crashes. What really pissed me off (sorry) is, that KMail didn't restore the mail content I worked on for about 15 minutes before. This feature was there in KMail 3.5 which reopened mail drafts (even unsaved ones) right after a crash. :-(
Created attachment 42372 [details] New crash information added by DrKonqi Steps to reproduce: 1. take a snapshot with ksnapshot 2. click on 'copy to clipboard' 3. go to kmail, create a new mail 4. paste the image into the mail as inline or as attachment. Last step cause kmail crash.
Created attachment 43341 [details] kmail-20100507.kcrash I have the same problem (Comment #3) with Qt: 4.6.2; KDE Development Platform: 4.4.3 (KDE 4.4.3); KMail: 1.13.3
Created attachment 43934 [details] New crash information added by DrKonqi The fall makes insertion of graphics from the clipboard
*** Bug 236322 has been marked as a duplicate of this bug. ***
*** Bug 237073 has been marked as a duplicate of this bug. ***
*** Bug 238178 has been marked as a duplicate of this bug. ***
Created attachment 48593 [details] New crash information added by DrKonqi I made a screenshoot with KSnapshot and it's exactly the same behavior at my system.
Created attachment 48597 [details] New crash information added by DrKonqi Same behaviour: [CTRL+V] to insert image into new Mail -> Add Image as Inline
*** Bug 244195 has been marked as a duplicate of this bug. ***
Created attachment 49322 [details] New crash information added by DrKonqi kontact (4.4.5) on KDE Platform 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)) using Qt 4.7.0 - What I was doing when the application crashed: Simply attempting to paste an image inline crashes Kontact every time. -- Backtrace (Reduced): #6 QMimeData::hasImage (this=0x2675920) at kernel/qmimedata.cpp:470 #7 0x00007f55705c7c68 in KPIMTextEdit::TextEdit::insertFromMimeData (this=0x1ebf5f0, source=0x2675920) at ../../kpimtextedit/textedit.cpp:548 [...] #9 0x00007f5575ba8489 in KTextEdit::Private::handleShortcut (this=0x1ec7310, event=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:340 #10 0x00007f5575ba8d5d in KTextEdit::keyPressEvent (this=0x1ebf5f0, event=0xffffffff) at ../../kdeui/widgets/ktextedit.cpp:1071 #11 0x00007f5575b9283b in KRichTextEdit::keyPressEvent (this=0x1ebf5f0, event=0x7fff45a98e40) at ../../kdeui/widgets/krichtextedit.cpp:468
Created attachment 49487 [details] New crash information added by DrKonqi KMail composer crashes when I wanted to past a screenshot from Clipboard as an integrated image to my new message, just after I selected the "Integrated image" option popping up after the "Paste..." action
This is the same as Bug 219959. Additional notes: This affects only HTML format emails. Even if the user escapes from the floating menu ("insert in-line" or "as attachment"), Kontact still crashes. I assume that means that it's an issue with the menu code itself and not related to the clipboard content. This still affects Kmail 1.13.2 under KDE 4.2.2. In order to minimize data loss, set your autosave to 1 minute intervals (Kmail/Settings/Composer).
*** This bug has been confirmed by popular vote. ***
What I do not understand: Why does the status of this bug and the corresponding bug stay "new" or "unconfirmed"? One more hint and "workaround" for people that prefer html mails: If you paste the image before switching to html mode this will work. This shows exactly that the bug is linked to the html editor in kmail. Regards, Martin
(In reply to comment #14) > In order to minimize data loss, set your autosave to 1 minute intervals > (Kmail/Settings/Composer). Sorry to tell you but autosave does not work at my machine, no matter if 1 or 2 minutes! Martin
This is really funny! If I switch to use an "external editor" (Kwrite) drag and drop will work even if the editor absolutely does not look like kwrite but the normal kmail editor. What does this mean? Martin
*** This bug has been marked as a duplicate of bug 219959 ***
*** Bug 249882 has been marked as a duplicate of this bug. ***