[Bug 219959] Kmail crash after paste image. [QMimeDataPrivate::retrieveTypedData, QMimeData::data, KMComposerEditor::insertFromMimeData]

tom tommot12 at yahoo.de
Mon May 17 22:06:14 BST 2010


https://bugs.kde.org/show_bug.cgi?id=219959





--- Comment #6 from tom <tommot12 yahoo de>  2010-05-17 23:06:08 ---
This happens on Kubuntu 10.04, pasting an image from Firefox (as attachment,
but also crashes , when inline):

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbd1a5a3780 (LWP 3741))]

Thread 2 (Thread 0x7fbcf7269710 (LWP 3754)):
#0  0x00007fbd17676f53 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbd101ac4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fbd101ac8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007fbd18a61566 in QEventDispatcherGlib::processEvents (this=0x2937cb0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fbd18a36992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fbd18a36d6c in QEventLoop::exec (this=0x7fbcf7268d90, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007fbd18940d59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007fbd18a17178 in QInotifyFileSystemWatcherEngine::run (this=0x2aecc30)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbd18943775 in QThreadPrivate::start (arg=0x2aecc30) at
thread/qthread_unix.cpp:248
#9  0x00007fbd127229ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007fbd1768369d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbd1a5a3780 (LWP 3741)):
[KCrash Handler]
#5  QMimeDataPrivate::q_func (this=0x4000000000000000, format=...,
type=QVariant::ByteArray) at kernel/qmimedata.cpp:59
#6  QMimeDataPrivate::retrieveTypedData (this=0x4000000000000000, format=...,
type=QVariant::ByteArray) at kernel/qmimedata.cpp:105
#7  0x00007fbd18a44ea2 in QMimeData::data (this=<value optimized out>,
mimeType=...) at kernel/qmimedata.cpp:524
#8  0x00007fbd00458245 in ?? () from /usr/lib/libkmailprivate.so.4
#9  0x00007fbd1803cf9d in QTextControl::qt_metacall (this=0x37201c0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff42c96b30)
at .moc/release-shared/moc_qtextcontrol_p.cpp:173
#10 0x00007fbd18a4ae3f in QMetaObject::activate (sender=0x3afd460, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0xc) at
kernel/qobject.cpp:3293
#11 0x00007fbd17deb032 in QAction::triggered (this=0x7fff42c96630, _t1=false)
at .moc/release-shared/moc_qaction.cpp:263
#12 0x00007fbd17ded0ab in QAction::activate (this=0x3afd460, event=<value
optimized out>) at kernel/qaction.cpp:1255
#13 0x00007fbd1822c39d in QMenuPrivate::activateCausedStack (this=<value
optimized out>, causedStack=..., action=0x3afd460, action_e=QAction::Trigger,
self=true) at widgets/qmenu.cpp:1011
#14 0x00007fbd18231dda in QMenuPrivate::activateAction (this=0x2934350,
action=0x3afd460, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1103
#15 0x00007fbd17e47582 in QWidget::event (this=0x3a64730, event=0x7fff42c975e0)
at kernel/qwidget.cpp:7998
#16 0x00007fbd18233f9b in QMenu::event (this=0x3a64730, e=0x7fff42c975e0) at
widgets/qmenu.cpp:2414
#17 0x00007fbd17df122c in QApplicationPrivate::notify_helper (this=0x1d6ffe0,
receiver=0x3a64730, e=0x7fff42c975e0) at kernel/qapplication.cpp:4300
#18 0x00007fbd17df7ecb in QApplication::notify (this=0x7fff42c999c0,
receiver=0x3a64730, e=0x7fff42c975e0) at kernel/qapplication.cpp:3865
#19 0x00007fbd19420526 in KApplication::notify (this=0x7fff42c999c0,
receiver=0x3a64730, event=0x7fff42c975e0) at
../../kdeui/kernel/kapplication.cpp:302
#20 0x00007fbd18a3806c in QCoreApplication::notifyInternal
(this=0x7fff42c999c0, receiver=0x3a64730, event=0x7fff42c975e0) at
kernel/qcoreapplication.cpp:704
#21 0x00007fbd17df70ae in QCoreApplication::sendEvent (receiver=0x3a64730,
event=0x7fff42c975e0, alienWidget=0x0, nativeWidget=0x3a64730,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (receiver=0x3a64730,
event=0x7fff42c975e0, alienWidget=0x0, nativeWidget=0x3a64730,
buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#23 0x00007fbd17e773dd in QETWidget::translateMouseEvent (this=0x3a64730,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#24 0x00007fbd17e758ac in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff42c97f00) at kernel/qapplication_x11.cpp:3501
#25 0x00007fbd17ea1882 in x11EventSourceDispatch (s=0x1d769f0, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007fbd101a88c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007fbd101ac748 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007fbd101ac8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#29 0x00007fbd18a61513 in QEventDispatcherGlib::processEvents (this=0x1d43d70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007fbd17ea146e in QGuiEventDispatcherGlib::processEvents
(this=0x7fff42c96630, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fbd18a36992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fbd18a36d6c in QEventLoop::exec (this=0x7fff42c98230, flags=) at
kernel/qeventloop.cpp:201
#33 0x00007fbd1822f4e5 in QMenu::exec (this=0x3a64730, p=<value optimized out>,
action=0x0) at widgets/qmenu.cpp:2063
#34 0x00007fbd19521d75 in KTextEdit::contextMenuEvent (this=<value optimized
out>, event=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:617
#35 0x00007fbd17e46f68 in QWidget::event (this=0x371a2d0, event=0x7fff42c98c80)
at kernel/qwidget.cpp:8165
#36 0x00007fbd181ee4e6 in QFrame::event (this=0x371a2d0, e=0x7fff42c98c80) at
widgets/qframe.cpp:557
#37 0x00007fbd18a37487 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x371a120, event=0x7fff42c98c80) at
kernel/qcoreapplication.cpp:819
#38 0x00007fbd17df11fc in QApplicationPrivate::notify_helper (this=0x1d6ffe0,
receiver=0x371a120, e=0x7fff42c98c80) at kernel/qapplication.cpp:4296
#39 0x00007fbd17df78c3 in QApplication::notify (this=0x7fff42c999c0,
receiver=0x371a120, e=0x7fff42c98c80) at kernel/qapplication.cpp:3944
#40 0x00007fbd19420526 in KApplication::notify (this=0x7fff42c999c0,
receiver=0x371a120, event=0x7fff42c98c80) at
../../kdeui/kernel/kapplication.cpp:302
#41 0x00007fbd18a3806c in QCoreApplication::notifyInternal
(this=0x7fff42c999c0, receiver=0x371a120, event=0x7fff42c98c80) at
kernel/qcoreapplication.cpp:704
#42 0x00007fbd17e76fb2 in QETWidget::translateMouseEvent (this=<value optimized
out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4373
#43 0x00007fbd17e758ac in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff42c995d0) at kernel/qapplication_x11.cpp:3501
#44 0x00007fbd17ea1882 in x11EventSourceDispatch (s=0x1d769f0, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007fbd101a88c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007fbd101ac748 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007fbd101ac8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#48 0x00007fbd18a61513 in QEventDispatcherGlib::processEvents (this=0x1d43d70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#49 0x00007fbd17ea146e in QGuiEventDispatcherGlib::processEvents
(this=0x7fff42c96630, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fbd18a36992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007fbd18a36d6c in QEventLoop::exec (this=0x7fff42c99900, flags=) at
kernel/qeventloop.cpp:201
#52 0x00007fbd18a3aaab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#53 0x0000000000403e8e in _start 

Next try: pasting image from ksnapshot - same crash:

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fab0b1f3780 (LWP 3888))]

Thread 2 (Thread 0x7faae3dab710 (LWP 3901)):
#0  0x00007fab033753f5 in __pthread_mutex_lock (mutex=0x2762fb8) at
pthread_mutex_lock.c:61
#1  0x00007fab00dfbb37 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007fab00dfc4c3 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fab00dfc8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#4  0x00007fab096b1566 in QEventDispatcherGlib::processEvents (this=0x27633c0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007fab09686992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fab09686d6c in QEventLoop::exec (this=0x7faae3daad90, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007fab09590d59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007fab09667178 in QInotifyFileSystemWatcherEngine::run (this=0x2752ce0)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fab09593775 in QThreadPrivate::start (arg=0x2752ce0) at
thread/qthread_unix.cpp:248
#10 0x00007fab033729ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#11 0x00007fab082d369d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fab0b1f3780 (LWP 3888)):
[KCrash Handler]
#5  QMimeData::hasImage (this=0x352a440) at kernel/qmimedata.cpp:470
#6  0x00007fab04bbaf58 in KPIMTextEdit::TextEdit::insertFromMimeData
(this=0x3169a70, source=0x352a440) at ../../kpimtextedit/textedit.cpp:546
#7  0x00007faaf10a897d in ?? () from /usr/lib/libkmailprivate.so.4
#8  0x00007fab08c8cf9d in QTextControl::qt_metacall (this=0x31748c0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5bd68ca0)
at .moc/release-shared/moc_qtextcontrol_p.cpp:173
#9  0x00007fab0969ae3f in QMetaObject::activate (sender=0x3163b70, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x80130) at
kernel/qobject.cpp:3293
#10 0x00007fab08a3b032 in QAction::triggered (this=0x7fab0972d95e, _t1=false)
at .moc/release-shared/moc_qaction.cpp:263
#11 0x00007fab08a3d0ab in QAction::activate (this=0x3163b70, event=<value
optimized out>) at kernel/qaction.cpp:1255
#12 0x00007fab08e7c39d in QMenuPrivate::activateCausedStack (this=<value
optimized out>, causedStack=..., action=0x3163b70, action_e=QAction::Trigger,
self=true) at widgets/qmenu.cpp:1011
#13 0x00007fab08e81dda in QMenuPrivate::activateAction (this=0x3519be0,
action=0x3163b70, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1103
#14 0x00007fab08a97582 in QWidget::event (this=0x34e80a0, event=0x7fff5bd69750)
at kernel/qwidget.cpp:7998
#15 0x00007fab08e83f9b in QMenu::event (this=0x34e80a0, e=0x7fff5bd69750) at
widgets/qmenu.cpp:2414
#16 0x00007fab08a4122c in QApplicationPrivate::notify_helper (this=0x1a14fe0,
receiver=0x34e80a0, e=0x7fff5bd69750) at kernel/qapplication.cpp:4300
#17 0x00007fab08a47ecb in QApplication::notify (this=0x7fff5bd6bb30,
receiver=0x34e80a0, e=0x7fff5bd69750) at kernel/qapplication.cpp:3865
#18 0x00007fab0a070526 in KApplication::notify (this=0x7fff5bd6bb30,
receiver=0x34e80a0, event=0x7fff5bd69750) at
../../kdeui/kernel/kapplication.cpp:302
#19 0x00007fab0968806c in QCoreApplication::notifyInternal
(this=0x7fff5bd6bb30, receiver=0x34e80a0, event=0x7fff5bd69750) at
kernel/qcoreapplication.cpp:704
#20 0x00007fab08a470ae in QCoreApplication::sendEvent (receiver=0x34e80a0,
event=0x7fff5bd69750, alienWidget=0x0, nativeWidget=0x34e80a0,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QApplicationPrivate::sendMouseEvent (receiver=0x34e80a0,
event=0x7fff5bd69750, alienWidget=0x0, nativeWidget=0x34e80a0,
buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#22 0x00007fab08ac73dd in QETWidget::translateMouseEvent (this=0x34e80a0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#23 0x00007fab08ac58ac in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff5bd6a070) at kernel/qapplication_x11.cpp:3501
#24 0x00007fab08af1882 in x11EventSourceDispatch (s=0x1a1b9f0, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007fab00df88c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007fab00dfc748 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007fab00dfc8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#28 0x00007fab096b1513 in QEventDispatcherGlib::processEvents (this=0x19e8d70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007fab08af146e in QGuiEventDispatcherGlib::processEvents
(this=0x7fab0972d95e, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fab09686992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007fab09686d6c in QEventLoop::exec (this=0x7fff5bd6a3a0, flags=) at
kernel/qeventloop.cpp:201
#32 0x00007fab08e7f4e5 in QMenu::exec (this=0x34e80a0, p=<value optimized out>,
action=0x0) at widgets/qmenu.cpp:2063
#33 0x00007fab0a171d75 in KTextEdit::contextMenuEvent (this=<value optimized
out>, event=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:617
#34 0x00007fab08a96f68 in QWidget::event (this=0x3169a70, event=0x7fff5bd6adf0)
at kernel/qwidget.cpp:8165
#35 0x00007fab08e3e4e6 in QFrame::event (this=0x3169a70, e=0x7fff5bd6adf0) at
widgets/qframe.cpp:557
#36 0x00007fab09687487 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x316eb90, event=0x7fff5bd6adf0) at
kernel/qcoreapplication.cpp:819
#37 0x00007fab08a411fc in QApplicationPrivate::notify_helper (this=0x1a14fe0,
receiver=0x316eb90, e=0x7fff5bd6adf0) at kernel/qapplication.cpp:4296
#38 0x00007fab08a478c3 in QApplication::notify (this=0x7fff5bd6bb30,
receiver=0x316eb90, e=0x7fff5bd6adf0) at kernel/qapplication.cpp:3944
#39 0x00007fab0a070526 in KApplication::notify (this=0x7fff5bd6bb30,
receiver=0x316eb90, event=0x7fff5bd6adf0) at
../../kdeui/kernel/kapplication.cpp:302
#40 0x00007fab0968806c in QCoreApplication::notifyInternal
(this=0x7fff5bd6bb30, receiver=0x316eb90, event=0x7fff5bd6adf0) at
kernel/qcoreapplication.cpp:704
#41 0x00007fab08ac6fb2 in QETWidget::translateMouseEvent (this=<value optimized
out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4373
#42 0x00007fab08ac58ac in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff5bd6b740) at kernel/qapplication_x11.cpp:3501
#43 0x00007fab08af1882 in x11EventSourceDispatch (s=0x1a1b9f0, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007fab00df88c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x00007fab00dfc748 in ?? () from /lib/libglib-2.0.so.0
#46 0x00007fab00dfc8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#47 0x00007fab096b1513 in QEventDispatcherGlib::processEvents (this=0x19e8d70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#48 0x00007fab08af146e in QGuiEventDispatcherGlib::processEvents
(this=0x7fab0972d95e, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007fab09686992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#50 0x00007fab09686d6c in QEventLoop::exec (this=0x7fff5bd6ba70, flags=) at
kernel/qeventloop.cpp:201
#51 0x00007fab0968aaab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#52 0x0000000000403e8e in _start ()

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list