Bug 252039 - KMail crashed when I insert an inline image from clipboard
Summary: KMail crashed when I insert an inline image from clipboard
Status: RESOLVED DUPLICATE of bug 219959
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 13:40 UTC by Stephan Fuchs
Modified: 2010-10-07 05:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (5.60 KB, text/plain)
2010-10-07 05:33 UTC, Pragalathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Fuchs 2010-09-22 13:40:30 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I try to insert an image from clipboard in KMail.
Every time I insert an inline image from Clipboard KMail crashed.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb1bd5b70 (LWP 3485)):
#0  0x036abe3a in g_main_context_query () from /lib/libglib-2.0.so.0
#1  0x036b0f34 in ?? () from /lib/libglib-2.0.so.0
#2  0x036b14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00f7960f in QEventDispatcherGlib::processEvents (this=0x96f19e8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00f4c059 in QEventLoop::processEvents (this=0xb1bd5270, flags=) at kernel/qeventloop.cpp:149
#5  0x00f4c4aa in QEventLoop::exec (this=0xb1bd5270, flags=...) at kernel/qeventloop.cpp:201
#6  0x00e485a8 in QThread::exec (this=0x9405840) at thread/qthread.cpp:487
#7  0x00f2bc1b in QInotifyFileSystemWatcherEngine::run (this=0x9405840) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00e4b32e in QThreadPrivate::start (arg=0x9405840) at thread/qthread_unix.cpp:248
#9  0x01bcd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x00d3ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7830990 (LWP 3410)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0x00f5b47b in QMimeData::hasImage (this=0xa1ec020) at kernel/qmimedata.cpp:470
#8  0x00426330 in KPIMTextEdit::TextEdit::insertFromMimeData (this=0x9c244c0, source=0xa1ec020) at ../../kpimtextedit/textedit.cpp:546
#9  0xb46fa420 in KMComposerEditor::insertFromMimeData (this=0x9c244c0, source=0xa1ec020) at ../../kmail/kmcomposereditor.cpp:172
#10 0x065d038b in QTextEditControl::insertFromMimeData (this=0x9910dd0, source=0xa1ec020) at widgets/qtextedit.cpp:104
#11 0x06360e6f in QTextControl::paste (this=0x9910dd0) at text/qtextcontrol.cpp:853
#12 0x06366ad5 in QTextControl::qt_metacall (this=0x9910dd0, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfbbfb98) at .moc/release-shared/moc_qtextcontrol_p.cpp:173
#13 0x00f52c9a in QMetaObject::metacall (object=0x9910dd0, cl=16750226, idx=24, argv=0xbfbbfb98) at kernel/qmetaobject.cpp:237
#14 0x00f613d5 in QMetaObject::activate (sender=0xa6ded98, m=0x6a19d58, local_signal_index=1, argv=0xbfbbfb98) at kernel/qobject.cpp:3293
#15 0x060eabd9 in QAction::triggered (this=0xa6ded98, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x060ecdcc in QAction::activate (this=0xa6ded98, event=QAction::Trigger) at kernel/qaction.cpp:1255
#17 0x0659060c in QMenuPrivate::activateCausedStack (this=0x9cc3478, causedStack=..., action=0xa6ded98, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#18 0x06596abb in QMenuPrivate::activateAction (this=0x9cc3478, action=0xa6ded98, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#19 0x06597ac7 in QMenu::mouseReleaseEvent (this=0x95d7728, e=0xbfbc0380) at widgets/qmenu.cpp:2312
#20 0x0614f7f8 in QWidget::event (this=0x95d7728, event=0xbfbc0380) at kernel/qwidget.cpp:7998
#21 0x065990cc in QMenu::event (this=0x95d7728, e=0xbfbc0380) at widgets/qmenu.cpp:2414
#22 0x060f14dc in QApplicationPrivate::notify_helper (this=0x8f0d018, receiver=0x95d7728, e=0xbfbc0380) at kernel/qapplication.cpp:4300
#23 0x060f89f7 in QApplication::notify (this=0xbfbc1ba4, receiver=0x95d7728, e=0xbfbc0380) at kernel/qapplication.cpp:3865
#24 0x00658f2a in KApplication::notify (this=0xbfbc1ba4, receiver=0x95d7728, event=0xbfbc0380) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00f4da3b in QCoreApplication::notifyInternal (this=0xbfbc1ba4, receiver=0x95d7728, event=0xbfbc0380) at kernel/qcoreapplication.cpp:704
#26 0x060f7952 in QCoreApplication::sendEvent (receiver=0x95d7728, event=0xbfbc0380, alienWidget=0x0, nativeWidget=0x95d7728, buttonDown=0x6a35058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (receiver=0x95d7728, event=0xbfbc0380, alienWidget=0x0, nativeWidget=0x95d7728, buttonDown=0x6a35058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#28 0x061835cf in QETWidget::translateMouseEvent (this=0x95d7728, event=0xbfbc089c) at kernel/qapplication_x11.cpp:4302
#29 0x06182511 in QApplication::x11ProcessEvent (this=0xbfbc1ba4, event=0xbfbc089c) at kernel/qapplication_x11.cpp:3379
#30 0x061b160a in x11EventSourceDispatch (s=0x8f11ea8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x036ad5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x036b12d8 in ?? () from /lib/libglib-2.0.so.0
#33 0x036b14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00f795d5 in QEventDispatcherGlib::processEvents (this=0x8ee9070, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#35 0x061b1135 in QGuiEventDispatcherGlib::processEvents (this=0x8ee9070, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00f4c059 in QEventLoop::processEvents (this=0xbfbc0b90, flags=) at kernel/qeventloop.cpp:149
#37 0x00f4c4aa in QEventLoop::exec (this=0xbfbc0b90, flags=...) at kernel/qeventloop.cpp:201
#38 0x06593dde in QMenu::exec (this=0x95d7728, p=..., action=0x0) at widgets/qmenu.cpp:2063
#39 0x0077a5c4 in KTextEdit::contextMenuEvent (this=0x9c244c0, event=0xbfbc1318) at ../../kdeui/widgets/ktextedit.cpp:617
#40 0x0614ff38 in QWidget::event (this=0x9c244c0, event=0xbfbc1318) at kernel/qwidget.cpp:8165
#41 0x0654bfd3 in QFrame::event (this=0x9c244c0, e=0xbfbc1318) at widgets/qframe.cpp:557
#42 0x065e6382 in QAbstractScrollArea::viewportEvent (this=0xff9692, e=0x16) at widgets/qabstractscrollarea.cpp:1036
#43 0x065e8c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0xa2ec010, o=0xa03e5b0, e=0xbfbc1318) at widgets/qabstractscrollarea_p.h:100
#44 QAbstractScrollAreaFilter::eventFilter (this=0xa2ec010, o=0xa03e5b0, e=0xbfbc1318) at widgets/qabstractscrollarea_p.h:116
#45 0x00f4ccda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f0d018, receiver=0xa03e5b0, event=0xbfbc1318) at kernel/qcoreapplication.cpp:819
#46 0x060f14b9 in QApplicationPrivate::notify_helper (this=0x8f0d018, receiver=0xa03e5b0, e=0xbfbc1318) at kernel/qapplication.cpp:4296
#47 0x060f8470 in QApplication::notify (this=0xbfbc1ba4, receiver=0xa03e5b0, e=0xbfbc1318) at kernel/qapplication.cpp:3944
#48 0x00658f2a in KApplication::notify (this=0xbfbc1ba4, receiver=0xa03e5b0, event=0xbfbc1318) at ../../kdeui/kernel/kapplication.cpp:302
#49 0x00f4da3b in QCoreApplication::notifyInternal (this=0xbfbc1ba4, receiver=0xa03e5b0, event=0xbfbc1318) at kernel/qcoreapplication.cpp:704
#50 0x06188dfe in QCoreApplication::sendSpontaneousEvent (receiver=0xa03e5b0, event=0x16) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#51 0x061830f4 in QETWidget::translateMouseEvent (this=0xa67f708, event=0xbfbc180c) at kernel/qapplication_x11.cpp:4373
#52 0x06182511 in QApplication::x11ProcessEvent (this=0xbfbc1ba4, event=0xbfbc180c) at kernel/qapplication_x11.cpp:3379
#53 0x061b160a in x11EventSourceDispatch (s=0x8f11ea8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x036ad5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0x036b12d8 in ?? () from /lib/libglib-2.0.so.0
#56 0x036b14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0x00f795d5 in QEventDispatcherGlib::processEvents (this=0x8ee9070, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#58 0x061b1135 in QGuiEventDispatcherGlib::processEvents (this=0x8ee9070, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00f4c059 in QEventLoop::processEvents (this=0xbfbc1b04, flags=) at kernel/qeventloop.cpp:149
#60 0x00f4c4aa in QEventLoop::exec (this=0xbfbc1b04, flags=...) at kernel/qeventloop.cpp:201
#61 0x00f5069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#62 0x060f1577 in QApplication::exec () at kernel/qapplication.cpp:3579
#63 0x0804b472 in main (argc=1, argv=0xbfbc1dc4) at ../../../kontact/src/main.cpp:224

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

Possible duplicates by query: bug 249882, bug 246657, bug 244195, bug 238178, bug 237073.

Reported using DrKonqi
Comment 1 Christophe Marin 2010-09-22 15:07:59 UTC

*** This bug has been marked as a duplicate of bug 219959 ***
Comment 2 Pragalathan 2010-10-07 05:33:05 UTC
Created attachment 52293 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I selected HTML mode in the composer options menu and pasted a clipboard image in it. it asked me whether to insert it as inline image or as attachment. i chose inline and it crashed.

-- Backtrace (Reduced):
#8  0xb62457eb in QMimeData::hasImage (this=0x92bd810) at kernel/qmimedata.cpp:470
#9  0xb4a90dc0 in KPIMTextEdit::TextEdit::insertFromMimeData (this=0x9257d28, source=0x92bd810) at ../../kpimtextedit/textedit.cpp:565
[...]
#11 0xb6c3cc4b in QTextEditControl::insertFromMimeData (this=0x92582b8, source=0x92bd810) at widgets/qtextedit.cpp:104
#12 0xb69c280e in QTextControl::paste (this=0x92582b8, mode=QClipboard::Clipboard) at text/qtextcontrol.cpp:863
#13 0xb6c36bce in QTextEdit::paste (this=0x9257d28) at widgets/qtextedit.cpp:1013