Bug 226407

Summary: Pasting an image from clipboard into mail crashes kontact
Product: [Applications] kontact Reporter: tom <tommot12>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tom 2010-02-11 22:31:38 UTC
Application: kontact (4.4)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic-pae i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Step 1: Open Kontact
Step 2: New Mail
Step 3: right-click and copy an image from firefox
Step 4: right-click and paste into mail, select "inline"

Result: Crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb361f760 (LWP 27826))]

Thread 3 (Thread 0xaf0d6b70 (LWP 27833)):
#0  0xb416be06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6c74a0b in qt_gettime () at kernel/qcore_unix.cpp:109
#2  0xb6c79af5 in QTimerInfoList::updateCurrentTime (this=0xae700934) at kernel/qeventdispatcher_unix.cpp:340
#3  0xb6c79b3a in QTimerInfoList::timerWait (this=0xae700934, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0xb6c77b28 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaf0d607c) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb6c77bb5 in timerSourcePrepare (source=0x0, timeout=0xb416fff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0xb40ecf90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0xb40ed351 in ?? () from /lib/libglib-2.0.so.0
#8  0xb40ed863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0xb6c7791f in QEventDispatcherGlib::processEvents (this=0x96914e0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0xb6c4a319 in QEventLoop::processEvents (this=0xaf0d6240, flags=) at kernel/qeventloop.cpp:149
#11 0xb6c4a76a in QEventLoop::exec (this=0xaf0d6240, flags=...) at kernel/qeventloop.cpp:201
#12 0xb6b465a8 in QThread::exec (this=0x94508d8) at thread/qthread.cpp:487
#13 0xb6c29fbb in QInotifyFileSystemWatcherEngine::run (this=0x94508d8) at io/qfilesystemwatcher_inotify.cpp:248
#14 0xb6b4932e in QThreadPrivate::start (arg=0x94508d8) at thread/qthread_unix.cpp:248
#15 0xb460280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb5efe8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xae6ffb70 (LWP 27834)):
#0  0xb76ff430 in __kernel_vsyscall ()
#1  0xb4607142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5f0b8d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6b4a20f in QWaitConditionPrivate::wait (this=0x97c18dc, mutex=0x97c18d8, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x97c18dc, mutex=0x97c18d8, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0xb6b3e2bb in QThreadPoolThread::run (this=0x97fe240) at concurrent/qthreadpool.cpp:140
#6  0xb6b4932e in QThreadPrivate::start (arg=0x97fe240) at thread/qthread_unix.cpp:248
#7  0xb460280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb5efe8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb361f760 (LWP 27826)):
[KCrash Handler]
#6  QMimeDataPrivate::q_func (this=0x0, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:59
#7  QMimeDataPrivate::retrieveTypedData (this=0x0, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:105
#8  0xb6c595a1 in QMimeData::data (this=0x9946960, mimeType=...) at kernel/qmimedata.cpp:524
#9  0xb00ab65e in ?? () from /usr/lib/libkmailprivate.so.4
#10 0xb667bcfb in QTextEditControl::insertFromMimeData (this=0x9346760, source=0x9946960) at widgets/qtextedit.cpp:104
#11 0xb640c9ef in QTextControl::paste (this=0x9346760) at text/qtextcontrol.cpp:853
#12 0xb6412495 in QTextControl::qt_metacall (this=0x9346760, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbffd5d38) at .moc/release-shared/moc_qtextcontrol_p.cpp:173
#13 0xb6c50f6a in QMetaObject::metacall (object=0x9346760, cl=3221052252, idx=24, argv=0xbffd5d38) at kernel/qmetaobject.cpp:237
#14 0xb6c5f705 in QMetaObject::activate (sender=0x9cdd760, m=0xb6ac3d58, local_signal_index=1, argv=0xbffd5d38) at kernel/qobject.cpp:3275
#15 0xb6197a39 in QAction::triggered (this=0x9cdd760, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0xb6199c4c in QAction::activate (this=0x9cdd760, event=QAction::Trigger) at kernel/qaction.cpp:1251
#17 0xb663c02c in QMenuPrivate::activateCausedStack (this=0x9d1c748, causedStack=..., action=0x9cdd760, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#18 0xb66424db in QMenuPrivate::activateAction (this=0x9d1c748, action=0x9cdd760, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#19 0xb66434e7 in QMenu::mouseReleaseEvent (this=0x9a27870, e=0xbffd6520) at widgets/qmenu.cpp:2313
#20 0xb61fc5a8 in QWidget::event (this=0x9a27870, event=0xbffd6520) at kernel/qwidget.cpp:7978
#21 0xb6644adc in QMenu::event (this=0x9a27870, e=0xbffd6520) at widgets/qmenu.cpp:2415
#22 0xb619e27c in QApplicationPrivate::notify_helper (this=0x8d57748, receiver=0x9a27870, e=0xbffd6520) at kernel/qapplication.cpp:4298
#23 0xb61a5877 in QApplication::notify (this=0xbffd7d44, receiver=0x9a27870, e=0xbffd6520) at kernel/qapplication.cpp:3863
#24 0xb71a31fa in KApplication::notify (this=0xbffd7d44, receiver=0x9a27870, event=0xbffd6520) at ../../kdeui/kernel/kapplication.cpp:302
#25 0xb6c4bcfb in QCoreApplication::notifyInternal (this=0xbffd7d44, receiver=0x9a27870, event=0xbffd6520) at kernel/qcoreapplication.cpp:704
#26 0xb61a47cf in QCoreApplication::sendEvent (receiver=0x9a27870, event=0xbffd6520, alienWidget=0x0, nativeWidget=0x9a27870, buttonDown=0xb6adf058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (receiver=0x9a27870, event=0xbffd6520, alienWidget=0x0, nativeWidget=0x9a27870, buttonDown=0xb6adf058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2963
#28 0xb622faf7 in QETWidget::translateMouseEvent (this=0x9a27870, event=0xbffd6a3c) at kernel/qapplication_x11.cpp:4302
#29 0xb622eaf1 in QApplication::x11ProcessEvent (this=0xbffd7d44, event=0xbffd6a3c) at kernel/qapplication_x11.cpp:3379
#30 0xb625d95a in x11EventSourceDispatch (s=0x8d4f440, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0xb40e9e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0xb40ed730 in ?? () from /lib/libglib-2.0.so.0
#33 0xb40ed863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0xb6c778e5 in QEventDispatcherGlib::processEvents (this=0x8d2b0e8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#35 0xb625d485 in QGuiEventDispatcherGlib::processEvents (this=0x8d2b0e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0xb6c4a319 in QEventLoop::processEvents (this=0xbffd6d30, flags=) at kernel/qeventloop.cpp:149
#37 0xb6c4a76a in QEventLoop::exec (this=0xbffd6d30, flags=...) at kernel/qeventloop.cpp:201
#38 0xb663f80e in QMenu::exec (this=0x9a27870, p=..., action=0x0) at widgets/qmenu.cpp:2064
#39 0xb72c4f22 in KTextEdit::contextMenuEvent (this=0x9337f68, event=0xbffd74b8) at ../../kdeui/widgets/ktextedit.cpp:617
#40 0xb61fcce8 in QWidget::event (this=0x9337f68, event=0xbffd74b8) at kernel/qwidget.cpp:8145
#41 0xb65f7b23 in QFrame::event (this=0x9337f68, e=0xbffd74b8) at widgets/qframe.cpp:557
#42 0xb6691da2 in QAbstractScrollArea::viewportEvent (this=0xbffd5b5c, e=0x9) at widgets/qabstractscrollarea.cpp:1036
#43 0xb6694695 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9344d80, o=0x9343d10, e=0xbffd74b8) at widgets/qabstractscrollarea_p.h:100
#44 QAbstractScrollAreaFilter::eventFilter (this=0x9344d80, o=0x9343d10, e=0xbffd74b8) at widgets/qabstractscrollarea_p.h:116
#45 0xb6c4af9a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d57748, receiver=0x9343d10, event=0xbffd74b8) at kernel/qcoreapplication.cpp:819
#46 0xb619e259 in QApplicationPrivate::notify_helper (this=0x8d57748, receiver=0x9343d10, e=0xbffd74b8) at kernel/qapplication.cpp:4294
#47 0xb61a52f0 in QApplication::notify (this=0xbffd7d44, receiver=0x9343d10, e=0xbffd74b8) at kernel/qapplication.cpp:3942
#48 0xb71a31fa in KApplication::notify (this=0xbffd7d44, receiver=0x9343d10, event=0xbffd74b8) at ../../kdeui/kernel/kapplication.cpp:302
#49 0xb6c4bcfb in QCoreApplication::notifyInternal (this=0xbffd7d44, receiver=0x9343d10, event=0xbffd74b8) at kernel/qcoreapplication.cpp:704
#50 0xb623539e in QCoreApplication::sendSpontaneousEvent (receiver=0x9343d10, event=0x9) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#51 0xb622fcdc in QETWidget::translateMouseEvent (this=0x926eca8, event=0xbffd79ac) at kernel/qapplication_x11.cpp:4373
#52 0xb622eaf1 in QApplication::x11ProcessEvent (this=0xbffd7d44, event=0xbffd79ac) at kernel/qapplication_x11.cpp:3379
#53 0xb625d95a in x11EventSourceDispatch (s=0x8d4f440, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0xb40e9e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0xb40ed730 in ?? () from /lib/libglib-2.0.so.0
#56 0xb40ed863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0xb6c778e5 in QEventDispatcherGlib::processEvents (this=0x8d2b0e8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#58 0xb625d485 in QGuiEventDispatcherGlib::processEvents (this=0x8d2b0e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb6c4a319 in QEventLoop::processEvents (this=0xbffd7ca4, flags=) at kernel/qeventloop.cpp:149
#60 0xb6c4a76a in QEventLoop::exec (this=0xbffd7ca4, flags=...) at kernel/qeventloop.cpp:201
#61 0xb6c4e95f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#62 0xb619e317 in QApplication::exec () at kernel/qapplication.cpp:3577
#63 0x0804b4c2 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2010-03-27 21:40:05 UTC

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