Bug 237219

Summary: kmail crash when inlining image
Product: [Unmaintained] kmail Reporter: Vladimir Kondratiev <vladimir.kondratiev>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern
Priority: NOR    
Version: 1.13.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vladimir Kondratiev 2010-05-11 10:00:57 UTC
Application: kmail (1.13.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I copied image to clipboard (in firefox, "copy image");
then, in kmail, "paste/as inline"

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

Thread 2 (Thread 0x7f7aeb7d8710 (LWP 24576)):
#0  0x00007f7b07fa7f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7aff9544a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f7aff9548fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f7b08912566 in QEventDispatcherGlib::processEvents (this=0x1e4c1f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f7b088e7992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f7b088e7d6c in QEventLoop::exec (this=0x7f7aeb7d7cf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f7b087f1d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f7b088c8178 in QInotifyFileSystemWatcherEngine::run (this=0x1c69d60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7b087f4775 in QThreadPrivate::start (arg=0x1c69d60) at thread/qthread_unix.cpp:248
#9  0x00007f7b063fe9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f7b07fb469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7b0b495820 (LWP 24572)):
[KCrash Handler]
#5  0x0000000001dcb6b0 in ?? ()
#6  0x00007f7b088f6041 in QMimeData::hasImage (this=0x5fe0a40) at kernel/qmimedata.cpp:470
#7  0x00007f7b015c2f58 in KPIMTextEdit::TextEdit::insertFromMimeData(QMimeData const*) () from /usr/lib/libkpimtextedit.so.4
#8  0x00007f7b0a0582ed in ?? () from /usr/lib/libkmailprivate.so.4
#9  0x00007f7b09007f9d in QTextControl::qt_metacall (this=0x200baa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48e91740) at .moc/release-shared/moc_qtextcontrol_p.cpp:173
#10 0x00007f7b088fbe3f in QMetaObject::activate (sender=0x6169260, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x4f97c96) at kernel/qobject.cpp:3293
#11 0x00007f7b08db6032 in QAction::triggered (this=0x5fe0a40, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x00007f7b08db80ab in QAction::activate (this=0x6169260, event=<value optimized out>) at kernel/qaction.cpp:1255
#13 0x00007f7b091f739d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x6169260, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#14 0x00007f7b091fcdda in QMenuPrivate::activateAction (this=0x685b1a0, action=0x6169260, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#15 0x00007f7b08e12582 in QWidget::event (this=0x17b7cd0, event=0x7fff48e921f0) at kernel/qwidget.cpp:7998
#16 0x00007f7b091fef9b in QMenu::event (this=0x17b7cd0, e=0x7fff48e921f0) at widgets/qmenu.cpp:2414
#17 0x00007f7b08dbc22c in QApplicationPrivate::notify_helper (this=0x1411fc0, receiver=0x17b7cd0, e=0x7fff48e921f0) at kernel/qapplication.cpp:4300
#18 0x00007f7b08dc2ecb in QApplication::notify (this=0x7fff48e946e0, receiver=0x17b7cd0, e=0x7fff48e921f0) at kernel/qapplication.cpp:3865
#19 0x00007f7b0aebf536 in KApplication::notify (this=0x7fff48e946e0, receiver=0x17b7cd0, event=0x7fff48e921f0) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f7b088e906c in QCoreApplication::notifyInternal (this=0x7fff48e946e0, receiver=0x17b7cd0, event=0x7fff48e921f0) at kernel/qcoreapplication.cpp:704
#21 0x00007f7b08dc20ae in QCoreApplication::sendEvent (receiver=0x17b7cd0, event=0x7fff48e921f0, alienWidget=0x0, nativeWidget=0x17b7cd0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (receiver=0x17b7cd0, event=0x7fff48e921f0, alienWidget=0x0, nativeWidget=0x17b7cd0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#23 0x00007f7b08e423dd in QETWidget::translateMouseEvent (this=0x17b7cd0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#24 0x00007f7b08e408ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff48e92b10) at kernel/qapplication_x11.cpp:3501
#25 0x00007f7b08e6c882 in x11EventSourceDispatch (s=0x1437250, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f7aff9508c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f7aff954748 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f7aff9548fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f7b08912513 in QEventDispatcherGlib::processEvents (this=0x137d000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007f7b08e6c46e in QGuiEventDispatcherGlib::processEvents (this=0x5fe0a40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f7b088e7992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f7b088e7d6c in QEventLoop::exec (this=0x7fff48e92e40, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f7b091fa4e5 in QMenu::exec (this=0x17b7cd0, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:2063
#34 0x00007f7b0afc0e05 in KTextEdit::contextMenuEvent (this=<value optimized out>, event=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:617
#35 0x00007f7b08e11f68 in QWidget::event (this=0x4bf3e40, event=0x7fff48e93890) at kernel/qwidget.cpp:8165
#36 0x00007f7b091b94e6 in QFrame::event (this=0x4bf3e40, e=0x7fff48e93890) at widgets/qframe.cpp:557
#37 0x00007f7b088e8487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x4c56350, event=0x7fff48e93890) at kernel/qcoreapplication.cpp:819
#38 0x00007f7b08dbc1fc in QApplicationPrivate::notify_helper (this=0x1411fc0, receiver=0x4c56350, e=0x7fff48e93890) at kernel/qapplication.cpp:4296
#39 0x00007f7b08dc28c3 in QApplication::notify (this=0x7fff48e946e0, receiver=0x4c56350, e=0x7fff48e93890) at kernel/qapplication.cpp:3944
#40 0x00007f7b0aebf536 in KApplication::notify (this=0x7fff48e946e0, receiver=0x4c56350, event=0x7fff48e93890) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x00007f7b088e906c in QCoreApplication::notifyInternal (this=0x7fff48e946e0, receiver=0x4c56350, event=0x7fff48e93890) at kernel/qcoreapplication.cpp:704
#42 0x00007f7b08e41fb2 in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4373
#43 0x00007f7b08e408ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff48e941e0) at kernel/qapplication_x11.cpp:3501
#44 0x00007f7b08e6c882 in x11EventSourceDispatch (s=0x1437250, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f7aff9508c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007f7aff954748 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007f7aff9548fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x00007f7b08912513 in QEventDispatcherGlib::processEvents (this=0x137d000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#49 0x00007f7b08e6c46e in QGuiEventDispatcherGlib::processEvents (this=0x5fe0a40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f7b088e7992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007f7b088e7d6c in QEventLoop::exec (this=0x7fff48e94510, flags=) at kernel/qeventloop.cpp:201
#52 0x00007f7b088ebaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0x0000000000403482 in _start ()

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

Possible duplicates by query: bug 230359.

Reported using DrKonqi
Comment 1 Jay 2010-08-08 20:46:16 UTC
This is a duplicate of bug 229553.  https://bugs.kde.org/show_bug.cgi?id=229553
Comment 2 Björn Ruberg 2010-08-09 00:38:19 UTC

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