Bug 252843

Summary: kontact crash when pasting an inline picture
Product: [Applications] kontact Reporter: p92
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description p92 2010-09-30 11:49:00 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-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
start kontact
start ksnapshot
take a zone snapshot of the screen and copy to clipboard
reply to a mail
in the editor select html mail
then ctrl-v to paste the image into the email editor
when asked for attachement or inline  click on 'inline picture'
===> instant crash



The crash can be reproduced every time.

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

Thread 2 (Thread 0x7ff6f75b2710 (LWP 11782)):
#0  0x00007ff717125f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff70fc5a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff70fc5a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff718511566 in QEventDispatcherGlib::processEvents (this=0x185ca50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007ff7184e6992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff7184e6d6c in QEventLoop::exec (this=0x7ff6f75b1d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff7183f0d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff7184c7178 in QInotifyFileSystemWatcherEngine::run (this=0x185bec0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff7183f3775 in QThreadPrivate::start (arg=0x185bec0) at thread/qthread_unix.cpp:248
#9  0x00007ff7121d19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff7171326fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff71a051780 (LWP 11735)):
[KCrash Handler]
#5  0x00007ff708cc2bd0 in vtable for Oxygen::Animation () from /usr/lib/kde4/plugins/styles/oxygen.so
#6  0x00007ff7184f5041 in QMimeData::hasImage (this=0x2e71060) at kernel/qmimedata.cpp:470
#7  0x00007ff713a19f58 in KPIMTextEdit::TextEdit::insertFromMimeData (this=0x2c20510, source=0x2e71060) at ../../kpimtextedit/textedit.cpp:546
#8  0x00007ff70002197d in KMComposerEditor::insertFromMimeData (this=0x2c20510, source=0x2e71060) at ../../kmail/kmcomposereditor.cpp:172
#9  0x00007ff718fd2439 in KTextEdit::Private::handleShortcut (this=0x2c149e0, event=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:338
#10 0x00007ff718fd2d0d in KTextEdit::keyPressEvent (this=0x2c20510, event=0x7fff9adfe450) at ../../kdeui/widgets/ktextedit.cpp:1059
#11 0x00007ff718fba85b in KRichTextEdit::keyPressEvent (this=0x2c20510, event=0x7fff9adff6a0) at ../../kdeui/widgets/krichtextedit.cpp:482
#12 0x00007ff713a1a7c5 in KPIMTextEdit::TextEdit::keyPressEvent (this=0x2c20510, e=0x7fff9adfe450) at ../../kpimtextedit/textedit.cpp:246
#13 0x00007ff7199f3cce in KPIM::KMeditor::keyPressEvent (this=0x2c20510, e=0x7fff9adff6a0) at ../../libkdepim/kmeditor.cpp:202
#14 0x00007ff7178f722e in QWidget::event (this=0x2c20510, event=0x7fff9adff6a0) at kernel/qwidget.cpp:8033
#15 0x00007ff717c9e4e6 in QFrame::event (this=0x2c20510, e=0x7fff9adff6a0) at widgets/qframe.cpp:557
#16 0x00007ff717d298ab in QAbstractScrollArea::event (this=0x2c20510, e=0x7fff9adff6a0) at widgets/qabstractscrollarea.cpp:989
#17 0x00007ff717d14e05 in QTextEdit::event (this=0x2c20510, e=0x7fff9adff6a0) at widgets/qtextedit.cpp:1070
#18 0x00007ff7178a122c in QApplicationPrivate::notify_helper (this=0x8d6670, receiver=0x2c20510, e=0x7fff9adff6a0) at kernel/qapplication.cpp:4300
#19 0x00007ff7178a8ec5 in QApplication::notify (this=<value optimized out>, receiver=0x2c20510, e=0x7fff9adff6a0) at kernel/qapplication.cpp:3763
#20 0x00007ff718ed0526 in KApplication::notify (this=0x7fff9ae00660, receiver=0x2c20510, event=0x7fff9adff6a0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007ff7184e806c in QCoreApplication::notifyInternal (this=0x7fff9ae00660, receiver=0x2c20510, event=0x7fff9adff6a0) at kernel/qcoreapplication.cpp:704
#22 0x00007ff71794c16a in QKeyMapper::sendKeyEvent (keyWidget=0x2c20510, grab=<value optimized out>, type=QEvent::KeyPress, code=86, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1861
#23 0x00007ff71794e6f0 in QKeyMapperPrivate::translateKeyEvent (this=0x9206d0, keyWidget=0x2c20510, event=<value optimized out>, grab=80) at kernel/qkeymapper_x11.cpp:1831
#24 0x00007ff717925904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff9ae00270) at kernel/qapplication_x11.cpp:3394
#25 0x00007ff717951882 in x11EventSourceDispatch (s=0x8e3610, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007ff70fc568c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007ff70fc5a748 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007ff70fc5a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007ff718511513 in QEventDispatcherGlib::processEvents (this=0x8a8d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007ff71795146e in QGuiEventDispatcherGlib::processEvents (this=0x2e71060, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007ff7184e6992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007ff7184e6d6c in QEventLoop::exec (this=0x7fff9ae005a0, flags=) at kernel/qeventloop.cpp:201
#33 0x00007ff7184eaaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2010-09-30 18:01:36 UTC

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