Bug 242897

Summary: KMail crashed when pasting an image from the clipboard
Product: [Unmaintained] kmail Reporter: Jeroen Verschuuren <JLM.Verschuuren>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeroen Verschuuren 2010-06-26 21:16:50 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:
I right clicked an image in Opera 10.10 and selected "Copy image to Clipboard".
When I tried to paste the image as an attachment in a mail, KMail crashed

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ffb4d451820 (LWP 3218))]

Thread 2 (Thread 0x7ffb2deed710 (LWP 3219)):
#0  0x00007ffb49f62f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffb419104a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffb419108fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ffb4a8cd566 in QEventDispatcherGlib::processEvents (this=0x1ad1d60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007ffb4a8a2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ffb4a8a2d6c in QEventLoop::exec (this=0x7ffb2deeccf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ffb4a7acd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ffb4a883178 in QInotifyFileSystemWatcherEngine::run (this=0x1ee3ae0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ffb4a7af775 in QThreadPrivate::start (arg=0x1ee3ae0) at thread/qthread_unix.cpp:248
#9  0x00007ffb483b99ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffb49f6f6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffb4d451820 (LWP 3218)):
[KCrash Handler]
#5  QMimeDataPrivate::q_func (this=0x0, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:59
#6  QMimeDataPrivate::retrieveTypedData (this=0x0, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:105
#7  0x00007ffb4a8b0ea2 in QMimeData::data (this=<value optimized out>, mimeType=...) at kernel/qmimedata.cpp:524
#8  0x00007ffb4c012245 in KMComposerEditor::insertFromMimeData (this=0x215dbf0, source=0x3d61aa0) at ../../kmail/kmcomposereditor.cpp:180
#9  0x00007ffb4afc2f9d in QTextControl::qt_metacall (this=0x221bfe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6e655580) at .moc/release-shared/moc_qtextcontrol_p.cpp:173
#10 0x00007ffb4a8b6e3f in QMetaObject::activate (sender=0x3bfc2c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xc) at kernel/qobject.cpp:3293
#11 0x00007ffb4ad71032 in QAction::triggered (this=0x7fff6e655080, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x00007ffb4ad730ab in QAction::activate (this=0x3bfc2c0, event=<value optimized out>) at kernel/qaction.cpp:1255
#13 0x00007ffb4b1b239d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x3bfc2c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#14 0x00007ffb4b1b7dda in QMenuPrivate::activateAction (this=0x3bfb250, action=0x3bfc2c0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#15 0x00007ffb4adcd582 in QWidget::event (this=0x21cfc60, event=0x7fff6e656030) at kernel/qwidget.cpp:7998
#16 0x00007ffb4b1b9f9b in QMenu::event (this=0x21cfc60, e=0x7fff6e656030) at widgets/qmenu.cpp:2414
#17 0x00007ffb4ad7722c in QApplicationPrivate::notify_helper (this=0x16c8fa0, receiver=0x21cfc60, e=0x7fff6e656030) at kernel/qapplication.cpp:4300
#18 0x00007ffb4ad7decb in QApplication::notify (this=0x7fff6e658520, receiver=0x21cfc60, e=0x7fff6e656030) at kernel/qapplication.cpp:3865
#19 0x00007ffb4ce79526 in KApplication::notify (this=0x7fff6e658520, receiver=0x21cfc60, event=0x7fff6e656030) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007ffb4a8a406c in QCoreApplication::notifyInternal (this=0x7fff6e658520, receiver=0x21cfc60, event=0x7fff6e656030) at kernel/qcoreapplication.cpp:704
#21 0x00007ffb4ad7d0ae in QCoreApplication::sendEvent (receiver=0x21cfc60, event=0x7fff6e656030, alienWidget=0x0, nativeWidget=0x21cfc60, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (receiver=0x21cfc60, event=0x7fff6e656030, alienWidget=0x0, nativeWidget=0x21cfc60, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#23 0x00007ffb4adfd3dd in QETWidget::translateMouseEvent (this=0x21cfc60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#24 0x00007ffb4adfb8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff6e656950) at kernel/qapplication_x11.cpp:3501
#25 0x00007ffb4ae27882 in x11EventSourceDispatch (s=0x1651f70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007ffb4190c8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007ffb41910748 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007ffb419108fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007ffb4a8cd513 in QEventDispatcherGlib::processEvents (this=0x1600000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007ffb4ae2746e in QGuiEventDispatcherGlib::processEvents (this=0x7fff6e655080, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007ffb4a8a2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007ffb4a8a2d6c in QEventLoop::exec (this=0x7fff6e656c80, flags=) at kernel/qeventloop.cpp:201
#33 0x00007ffb4b1b54e5 in QMenu::exec (this=0x21cfc60, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:2063
#34 0x00007ffb4cf7ad75 in KTextEdit::contextMenuEvent (this=<value optimized out>, event=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:617
#35 0x00007ffb4adccf68 in QWidget::event (this=0x215dbf0, event=0x7fff6e6576d0) at kernel/qwidget.cpp:8165
#36 0x00007ffb4b1744e6 in QFrame::event (this=0x215dbf0, e=0x7fff6e6576d0) at widgets/qframe.cpp:557
#37 0x00007ffb4a8a3487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x209e170, event=0x7fff6e6576d0) at kernel/qcoreapplication.cpp:819
#38 0x00007ffb4ad771fc in QApplicationPrivate::notify_helper (this=0x16c8fa0, receiver=0x209e170, e=0x7fff6e6576d0) at kernel/qapplication.cpp:4296
#39 0x00007ffb4ad7d8c3 in QApplication::notify (this=0x7fff6e658520, receiver=0x209e170, e=0x7fff6e6576d0) at kernel/qapplication.cpp:3944
#40 0x00007ffb4ce79526 in KApplication::notify (this=0x7fff6e658520, receiver=0x209e170, event=0x7fff6e6576d0) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x00007ffb4a8a406c in QCoreApplication::notifyInternal (this=0x7fff6e658520, receiver=0x209e170, event=0x7fff6e6576d0) at kernel/qcoreapplication.cpp:704
#42 0x00007ffb4adfcfb2 in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4373
#43 0x00007ffb4adfb8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff6e658020) at kernel/qapplication_x11.cpp:3501
#44 0x00007ffb4ae27882 in x11EventSourceDispatch (s=0x1651f70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007ffb4190c8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007ffb41910748 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007ffb419108fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x00007ffb4a8cd513 in QEventDispatcherGlib::processEvents (this=0x1600000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#49 0x00007ffb4ae2746e in QGuiEventDispatcherGlib::processEvents (this=0x7fff6e655080, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007ffb4a8a2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007ffb4a8a2d6c in QEventLoop::exec (this=0x7fff6e658350, flags=) at kernel/qeventloop.cpp:201
#52 0x00007ffb4a8a6aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 219959.

Possible duplicates by query: bug 238982, bug 226407, bug 219959.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-28 10:14:48 UTC

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