Bug 244195 - Pasting an inline image crashes KMail
Summary: Pasting an inline image crashes KMail
Status: RESOLVED DUPLICATE of bug 229553
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-11 10:31 UTC by Jeroen Verschuuren
Modified: 2010-07-12 23:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Verschuuren 2010-07-11 10:31:38 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Copied an image from the Opera browser and tried to paste this as an inline image in an email.

KMail crashed immediately.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4e90ac4820 (LWP 2812))]

Thread 2 (Thread 0x7f4e70d58710 (LWP 2819)):
#0  0x00007f4e8d5d4f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4e84f824a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4e84f828fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4e8df40566 in QEventDispatcherGlib::processEvents (this=0x2480430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f4e8df15992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f4e8df15d6c in QEventLoop::exec (this=0x7f4e70d57cf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4e8de1fd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f4e8def6178 in QInotifyFileSystemWatcherEngine::run (this=0x288cc80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4e8de22775 in QThreadPrivate::start (arg=0x288cc80) at thread/qthread_unix.cpp:248
#9  0x00007f4e8ba2b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4e8d5e16fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4e90ac4820 (LWP 2812)):
[KCrash Handler]
#5  0x00007f4e8df2403e in QMimeData::hasImage (this=0x33c8520) at kernel/qmimedata.cpp:470
#6  0x00007f4e86bf1f58 in KPIMTextEdit::TextEdit::insertFromMimeData (this=0x3b6b470, source=0x33c8520) at ../../kpimtextedit/textedit.cpp:546
#7  0x00007f4e8f68597d in KMComposerEditor::insertFromMimeData (this=0x3b6b470, source=0x33c8520) at ../../kmail/kmcomposereditor.cpp:172
#8  0x00007f4e905ee439 in KTextEdit::Private::handleShortcut (this=0x35809f0, event=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:338
#9  0x00007f4e905eed0d in KTextEdit::keyPressEvent (this=0x3b6b470, event=0x7fff23fe1ff0) at ../../kdeui/widgets/ktextedit.cpp:1059
#10 0x00007f4e905d685b in KRichTextEdit::keyPressEvent (this=0x3b6b470, event=0x7fff23fe3240) at ../../kdeui/widgets/krichtextedit.cpp:482
#11 0x00007f4e86bf27c5 in KPIMTextEdit::TextEdit::keyPressEvent (this=0x3b6b470, e=0x7fff23fe1ff0) at ../../kpimtextedit/textedit.cpp:246
#12 0x00007f4e873ddcce in KPIM::KMeditor::keyPressEvent (this=0x3b6b470, e=0x7fff23fe3240) at ../../libkdepim/kmeditor.cpp:202
#13 0x00007f4e8e44022e in QWidget::event (this=0x3b6b470, event=0x7fff23fe3240) at kernel/qwidget.cpp:8033
#14 0x00007f4e8e7e74e6 in QFrame::event (this=0x3b6b470, e=0x7fff23fe3240) at widgets/qframe.cpp:557
#15 0x00007f4e8e8728ab in QAbstractScrollArea::event (this=0x3b6b470, e=0x7fff23fe3240) at widgets/qabstractscrollarea.cpp:989
#16 0x00007f4e8e85de05 in QTextEdit::event (this=0x3b6b470, e=0x7fff23fe3240) at widgets/qtextedit.cpp:1070
#17 0x00007f4e8e3ea22c in QApplicationPrivate::notify_helper (this=0x20933c0, receiver=0x3b6b470, e=0x7fff23fe3240) at kernel/qapplication.cpp:4300
#18 0x00007f4e8e3f1ec5 in QApplication::notify (this=<value optimized out>, receiver=0x3b6b470, e=0x7fff23fe3240) at kernel/qapplication.cpp:3763
#19 0x00007f4e904ec526 in KApplication::notify (this=0x7fff23fe4310, receiver=0x3b6b470, event=0x7fff23fe3240) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f4e8df1706c in QCoreApplication::notifyInternal (this=0x7fff23fe4310, receiver=0x3b6b470, event=0x7fff23fe3240) at kernel/qcoreapplication.cpp:704
#21 0x00007f4e8e49516a in QKeyMapper::sendKeyEvent (keyWidget=0x3b6b470, 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
#22 0x00007f4e8e4976f0 in QKeyMapperPrivate::translateKeyEvent (this=0x214dca0, keyWidget=0x3b6b470, event=<value optimized out>, grab=240) at kernel/qkeymapper_x11.cpp:1831
#23 0x00007f4e8e46e904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff23fe3e10) at kernel/qapplication_x11.cpp:3394
#24 0x00007f4e8e49a882 in x11EventSourceDispatch (s=0x201be90, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f4e84f7e8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f4e84f82748 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f4e84f828fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f4e8df40513 in QEventDispatcherGlib::processEvents (this=0x1fca000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f4e8e49a46e in QGuiEventDispatcherGlib::processEvents (this=0x33c8520, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f4e8df15992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f4e8df15d6c in QEventLoop::exec (this=0x7fff23fe4140, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f4e8df19aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

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

Possible duplicates by query: bug 238178, bug 237073, bug 236322, bug 230359, bug 229553.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-07-12 23:53:24 UTC

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