Bug 254681

Summary: kontact kmail crashed when pasting .png image file into the body of email
Product: [Applications] kontact Reporter: Peter <p.kuramapu>
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 Peter 2010-10-19 20:43:35 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

After using KSnapshot to screen grab I pasted the image into kontact/kmail.

Crashed.

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

Thread 2 (Thread 0xb1fd5b70 (LWP 8936)):
#0  0x01d21e36 in clock_gettime () from /lib/librt.so.1
#1  0x04ac250b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x04b996e5 in QTimerInfoList::updateCurrentTime (this=0x8b90d3c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x04b9972a in QTimerInfoList::timerWait (this=0x8b90d3c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x04b977a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1fd509c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x04b9783d in timerSourcePrepare (source=0x0, timeout=0x1d25ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x039b7e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x039b8279 in ?? () from /lib/libglib-2.0.so.0
#9  0x039b8848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x04b9759f in QEventDispatcherGlib::processEvents (this=0x8b89f38, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x04b67609 in QEventLoop::processEvents (this=0xb1fd5270, flags=) at kernel/qeventloop.cpp:149
#12 0x04b67a8a in QEventLoop::exec (this=0xb1fd5270, flags=...) at kernel/qeventloop.cpp:201
#13 0x04a63b7e in QThread::exec (this=0x8b90398) at thread/qthread.cpp:490
#14 0x04b4635b in QInotifyFileSystemWatcherEngine::run (this=0x8b90398) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x04a66df9 in QThreadPrivate::start (arg=0x8b90398) at thread/qthread_unix.cpp:266
#16 0x00c0acc9 in start_thread () from /lib/libpthread.so.0
#17 0x051106ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb77ab730 (LWP 8933)):
[KCrash Handler]
#7  0x00500070 in KParts::ScriptableLiveConnectExtension::ScriptableLiveConnectExtension (this=0xa10d490, p=0x8444928, old=0x4b82a6b) at ../../kparts/scriptableextension.cpp:227
#8  0x00b5d420 in KPIMTextEdit::TextEdit::insertFromMimeData (this=0xbff7e1ac, source=0xa10d490) at ../../kpimtextedit/textedit.cpp:565
#9  0xb341fe70 in KMComposerEditor::insertFromMimeData (this=0x962e378, source=0xa10d490) at ../../kmail/kmcomposereditor.cpp:172
#10 0x014cf60b in QTextEditControl::insertFromMimeData (this=0xa14f418, source=0xa10d490) at widgets/qtextedit.cpp:104
#11 0x0125143e in QTextControl::paste (this=0xa14f418, mode=QClipboard::Clipboard) at text/qtextcontrol.cpp:863
#12 0x014c95be in QTextEdit::paste (this=0x962e378) at widgets/qtextedit.cpp:1013
#13 0x0040c9a5 in KTextEdit::Private::handleShortcut (this=0x95d1690, event=0xbff7ee54) at ../../kdeui/widgets/ktextedit.cpp:340
#14 0x0040d46f in KTextEdit::keyPressEvent (this=0x962e378, event=0xbff7ee54) at ../../kdeui/widgets/ktextedit.cpp:1071
#15 0x003f3517 in KRichTextEdit::keyPressEvent (this=0x962e378, event=0xbff7ee54) at ../../kdeui/widgets/krichtextedit.cpp:468
#16 0x00b5d952 in KPIMTextEdit::TextEdit::keyPressEvent (this=0x962e378, e=0xbff7ee54) at ../../kpimtextedit/textedit.cpp:265
#17 0x006c5adc in KPIM::KMeditor::keyPressEvent (this=0x962e378, e=0xbff7ee54) at ../../libkdepim/kmeditor.cpp:202
#18 0x01026b13 in QWidget::event (this=0x962e378, event=0xbff7ee54) at kernel/qwidget.cpp:8222
#19 0x01448763 in QFrame::event (this=0x962e378, e=0xbff7ee54) at widgets/qframe.cpp:557
#20 0x014e6487 in QAbstractScrollArea::event (this=0x962e378, e=0xbff7ee54) at widgets/qabstractscrollarea.cpp:996
#21 0x014cf1cd in QTextEdit::event (this=0x962e378, e=0xbff7ee54) at widgets/qtextedit.cpp:1070
#22 0x0040b063 in KTextEdit::event (this=0x962e378, ev=0xbff7ee54) at ../../kdeui/widgets/ktextedit.cpp:329
#23 0x00fc8fdc in QApplicationPrivate::notify_helper (this=0x84098a8, receiver=0x962e378, e=0xbff7ee54) at kernel/qapplication.cpp:4396
#24 0x00fd0ac9 in QApplication::notify (this=0xbff7f8b4, receiver=0x962e378, e=0xbff7ee54) at kernel/qapplication.cpp:3857
#25 0x002e868a in KApplication::notify (this=0xbff7f8b4, receiver=0x962e378, event=0xbff7ee54) at ../../kdeui/kernel/kapplication.cpp:310
#26 0x04b68b3b in QCoreApplication::notifyInternal (this=0xbff7f8b4, receiver=0x962e378, event=0xbff7ee54) at kernel/qcoreapplication.cpp:732
#27 0x00fc8b9e in sendSpontaneousEvent (receiver=0x962e378, event=0x16) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 qt_sendSpontaneousEvent (receiver=0x962e378, event=0x16) at kernel/qapplication.cpp:5388
#29 0x0108569d in QKeyMapper::sendKeyEvent (keyWidget=0x962e378, grab=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1867
#30 0x01087b49 in QKeyMapperPrivate::translateKeyEvent (this=0x8434fb8, keyWidget=0x962e378, event=0xbff7f51c, grab=248) at kernel/qkeymapper_x11.cpp:1837
#31 0x0105b387 in QApplication::x11ProcessEvent (this=0xbff7f8b4, event=0xbff7f51c) at kernel/qapplication_x11.cpp:3429
#32 0x0108b36a in x11EventSourceDispatch (s=0x8404e40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x039b4855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x039b8668 in ?? () from /lib/libglib-2.0.so.0
#35 0x039b8848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x04b97565 in QEventDispatcherGlib::processEvents (this=0x83e1b60, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#37 0x0108abe5 in QGuiEventDispatcherGlib::processEvents (this=0x83e1b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x04b67609 in QEventLoop::processEvents (this=0xbff7f814, flags=) at kernel/qeventloop.cpp:149
#39 0x04b67a8a in QEventLoop::exec (this=0xbff7f814, flags=...) at kernel/qeventloop.cpp:201
#40 0x04b6c00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#41 0x00fc7e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#42 0x0804b132 in main (argc=1, argv=0xbff7fad4) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2010-10-20 12:18:41 UTC

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