Bug 239038 - Kmail crash after pasting text copied from KWrite
Summary: Kmail crash after pasting text copied from KWrite
Status: RESOLVED DUPLICATE of bug 219959
Alias: None
Product: kmail
Classification: Applications
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-05-27 19:16 UTC by Toby Fox
Modified: 2010-05-27 20:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toby Fox 2010-05-27 19:16:43 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-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Several times when pasting text (copied from KWrite) into an email in Kmail I briefly see a menu asking if I want to paste inline or as an attachment, as if it were an image, and then it crashes.  As far as I can tell, I am not pasting an image - when I go back to KWrite and paste, it is just the couple words of text I copied.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb3b5db70 (LWP 3933)):
#0  0x01905e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x00e226fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00e27825 in QTimerInfoList::updateCurrentTime (this=0xa6a6ff4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x00e2786a in QTimerInfoList::timerWait (this=0xa6a6ff4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00e25818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3b5d05c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00e258a5 in timerSourcePrepare (source=0x0, timeout=0x1909ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x019caaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x019caee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x019cb4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x00e2560f in QEventDispatcherGlib::processEvents (this=0xa6a5770, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00df8059 in QEventLoop::processEvents (this=0xb3b5d220, flags=) at kernel/qeventloop.cpp:149
#11 0x00df84aa in QEventLoop::exec (this=0xb3b5d220, flags=...) at kernel/qeventloop.cpp:201
#12 0x00cf45a8 in QThread::exec (this=0xa50f4c8) at thread/qthread.cpp:487
#13 0x00dd7c1b in QInotifyFileSystemWatcherEngine::run (this=0xa50f4c8) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00cf732e in QThreadPrivate::start (arg=0xa50f4c8) at thread/qthread_unix.cpp:248
#15 0x00ace96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x078d0a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7726780 (LWP 3930)):
[KCrash Handler]
#6  QMimeDataPrivate::retrieveTypedData (this=0xbff36e10, format=..., type=QVariant::ByteArray) at kernel/qmimedata.cpp:107
#7  0x00e072b1 in QMimeData::data (this=0xa763770, mimeType=...) at kernel/qmimedata.cpp:524
#8  0x0137dd1e in KMComposerEditor::insertFromMimeData (this=0xa727e78, source=0xa763770) at ../../kmail/kmcomposereditor.cpp:180
#9  0x04ee838b in QTextEditControl::insertFromMimeData (this=0xa702538, source=0xa763770) at widgets/qtextedit.cpp:104
#10 0x04c78e6f in QTextControl::paste (this=0xa702538) at text/qtextcontrol.cpp:853
#11 0x04ee2316 in QTextEdit::paste (this=0xa727e78) at widgets/qtextedit.cpp:1013
#12 0x00411da5 in KTextEdit::Private::handleShortcut (this=0xa704c88, event=0xbff37984) at ../../kdeui/widgets/ktextedit.cpp:338
#13 0x0041287f in KTextEdit::keyPressEvent (this=0xa727e78, event=0xbff37984) at ../../kdeui/widgets/ktextedit.cpp:1059
#14 0x003f6087 in KRichTextEdit::keyPressEvent (this=0xa727e78, event=0xbff37984) at ../../kdeui/widgets/krichtextedit.cpp:482
#15 0x01987c22 in KPIMTextEdit::TextEdit::keyPressEvent (this=0xa727e78, e=0xbff37984) at ../../kpimtextedit/textedit.cpp:246
#16 0x02d560dc in KPIM::KMeditor::keyPressEvent (this=0xa727e78, e=0xbff37984) at ../../libkdepim/kmeditor.cpp:202
#17 0x04a67503 in QWidget::event (this=0xa727e78, event=0xbff37984) at kernel/qwidget.cpp:8033
#18 0x04e63fd3 in QFrame::event (this=0xa727e78, e=0xbff37984) at widgets/qframe.cpp:557
#19 0x04efed97 in QAbstractScrollArea::event (this=0xa727e78, e=0xbff37984) at widgets/qabstractscrollarea.cpp:989
#20 0x04ee7f4d in QTextEdit::event (this=0xa727e78, e=0xbff37984) at widgets/qtextedit.cpp:1070
#21 0x0040de73 in KTextEdit::event (this=0xa727e78, ev=0xbff37984) at ../../kdeui/widgets/ktextedit.cpp:327
#22 0x04a094dc in QApplicationPrivate::notify_helper (this=0xa028500, receiver=0xa727e78, e=0xbff37984) at kernel/qapplication.cpp:4300
#23 0x04a11b71 in QApplication::notify (this=0xbff38490, receiver=0xa727e78, e=0xbff37984) at kernel/qapplication.cpp:3763
#24 0x002eff2a in KApplication::notify (this=0xbff38490, receiver=0xa727e78, event=0xbff37984) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00df9a3b in QCoreApplication::notifyInternal (this=0xbff38490, receiver=0xa727e78, event=0xbff37984) at kernel/qcoreapplication.cpp:704
#26 0x04a0a2be in QCoreApplication::sendSpontaneousEvent (receiver=0xa727e78, event=0x9) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#27 qt_sendSpontaneousEvent (receiver=0xa727e78, event=0x9) at kernel/qapplication.cpp:5279
#28 0x04ac3d90 in QKeyMapper::sendKeyEvent (keyWidget=0xa727e78, grab=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, 
    nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1861
#29 0x04ac62f5 in QKeyMapperPrivate::translateKeyEvent (this=0xa0486a8, keyWidget=0xa727e78, event=0xbff3804c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#30 0x04a99757 in QApplication::x11ProcessEvent (this=0xbff38490, event=0xbff3804c) at kernel/qapplication_x11.cpp:3394
#31 0x04ac960a in x11EventSourceDispatch (s=0x9ff6610, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x019c75e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x019cb2d8 in ?? () from /lib/libglib-2.0.so.0
#34 0x019cb4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00e255d5 in QEventDispatcherGlib::processEvents (this=0x9fc2278, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#36 0x04ac9135 in QGuiEventDispatcherGlib::processEvents (this=0x9fc2278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00df8059 in QEventLoop::processEvents (this=0xbff38344, flags=) at kernel/qeventloop.cpp:149
#38 0x00df84aa in QEventLoop::exec (this=0xbff38344, flags=...) at kernel/qeventloop.cpp:201
#39 0x00dfc69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x04a09577 in QApplication::exec () at kernel/qapplication.cpp:3579
#41 0x0804ab0e in main (argc=3, argv=0xbff38654) at ../../kmail/main.cpp:156

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

Possible duplicates by query: bug 238982, bug 219959.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-05-27 20:30:55 UTC

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