[Bug 302153] Crashed when saving an attachment

Thorsten Schnebeck thorsten.schnebeck at gmx.net
Wed Aug 1 12:47:07 BST 2012


https://bugs.kde.org/show_bug.cgi?id=302153

Thorsten Schnebeck <thorsten.schnebeck at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thorsten.schnebeck at gmx.net

--- Comment #1 from Thorsten Schnebeck <thorsten.schnebeck at gmx.net> ---
Ok, I can second - but I deleted an attachment. This also triggers the same
crash in KMime (/kmime/kmime_content.h:794 | /kmime/kmime_content.cpp:979)

1. open a already sent mail or open a mail from file
2. Delete attachment
3. A warning window appears that this could produce a wrong digital signature
4. Closing the warning window -> crash:

HTH

  Thorsten

Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa1d73ae7c0 (LWP 30950))]

Thread 5 (Thread 0x7fa1ba74d700 (LWP 30951)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa1d3ba4dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa1d3ba4f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa1cf068e9a in start_thread (arg=0x7fa1ba74d700) at
pthread_create.c:308
#4  0x00007fa1d48d64bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa1b9e34700 (LWP 30952)):
#0  0x00007fa1d48c90bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fa1cebd68cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1ceb9bba4 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1ceb9bfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa1ceb9c164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa1d504b426 in QEventDispatcherGlib::processEvents
(this=0x7fa1b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fa1b9e33dc0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007fa1d4f19fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007fa1d4f1cfcb in QThreadPrivate::start (arg=0x211d110) at
thread/qthread_unix.cpp:298
#10 0x00007fa1cf068e9a in start_thread (arg=0x7fa1b9e34700) at
pthread_create.c:308
#11 0x00007fa1d48d64bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa16c129700 (LWP 30956)):
#0  0x00007fa1d48cab03 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa1ceb9c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1ceb9c164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1d504b426 in QEventDispatcherGlib::processEvents
(this=0x7fa1640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fa16c128d90, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007fa1d4f19fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007fa1d4ffa9ff in QInotifyFileSystemWatcherEngine::run (this=0x2bcd440)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa1d4f1cfcb in QThreadPrivate::start (arg=0x2bcd440) at
thread/qthread_unix.cpp:298
#9  0x00007fa1cf068e9a in start_thread (arg=0x7fa16c129700) at
pthread_create.c:308
#10 0x00007fa1d48d64bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa169e8a700 (LWP 30968)):
#0  0x00007fa1d48cab03 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa1ceb9c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1ceb9c164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1d504b426 in QEventDispatcherGlib::processEvents
(this=0x7fa15c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fa169e89d90, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007fa1d4f19fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007fa1d4ffa9ff in QInotifyFileSystemWatcherEngine::run (this=0x2e81200)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa1d4f1cfcb in QThreadPrivate::start (arg=0x2e81200) at
thread/qthread_unix.cpp:298
#9  0x00007fa1cf068e9a in start_thread (arg=0x7fa169e8a700) at
pthread_create.c:308
#10 0x00007fa1d48d64bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa1d73ae7c0 (LWP 30950)):
[KCrash Handler]
#6  header<KMime::Headers::ContentDisposition> (create=false, this=0xaccd5b0)
at ../../kmime/kmime_content.h:794
#7  KMime::Content::contentDisposition (this=0xaccd5b0, create=false) at
../../kmime/kmime_content.cpp:979
#8  0x00007fa17005ce85 in MessageViewer::ViewerPrivate::deleteAttachment
(this=0xe2ff620, node=0xaccd5b0, showWarning=<optimized out>) at
../../messageviewer/viewer_p.cpp:419
#9  0x00007fa17006b417 in MessageViewer::ViewerPrivate::slotAttachmentDelete
(this=0xe2ff620) at ../../messageviewer/viewer_p.cpp:2448
#10 0x00007fa17006e21a in MessageViewer::ViewerPrivate::qt_static_metacall
(_o=0xe2ff620, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
./viewer_p.moc:236
#11 0x00007fa1d5030281 in QMetaObject::activate (sender=0xb0895a0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffb9c91290) at
kernel/qobject.cpp:3547
#12 0x00007fa1d5a10132 in QAction::triggered (this=<optimized out>, _t1=false)
at .moc/release-shared/moc_qaction.cpp:277
#13 0x00007fa1d5a1031f in QAction::activate (this=0xb0895a0, event=<optimized
out>) at kernel/qaction.cpp:1257
#14 0x00007fa1d5e62119 in QMenuPrivate::activateCausedStack (this=0xd74fab0,
causedStack=..., action=0xb0895a0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1028
#15 0x00007fa1d5e68272 in QMenuPrivate::activateAction (this=0xd74fab0,
action=0xb0895a0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1120
#16 0x00007fa1d68112d0 in KMenu::mouseReleaseEvent (this=0x7fffb9c92b50,
e=0x7fffb9c91e60) at ../../kdeui/widgets/kmenu.cpp:464
#17 0x00007fa1d5a67144 in QWidget::event (this=0x7fffb9c92b50,
event=0x7fffb9c91e60) at kernel/qwidget.cpp:8362
#18 0x00007fa1d5e6980b in QMenu::event (this=0x7fffb9c92b50, e=0x7fffb9c91e60)
at widgets/qmenu.cpp:2469
#19 0x00007fa1d5a16894 in notify_helper (e=0x7fffb9c91e60,
receiver=0x7fffb9c92b50, this=0x1f9b420) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x1f9b420,
receiver=0x7fffb9c92b50, e=0x7fffb9c91e60) at kernel/qapplication.cpp:4531
#21 0x00007fa1d5a1c0bf in QApplication::notify (this=<optimized out>,
receiver=0x7fffb9c92b50, e=0x7fffb9c91e60) at kernel/qapplication.cpp:4102
#22 0x00007fa1d67509e6 in KApplication::notify (this=0x7fffb9c94970,
receiver=0x7fffb9c92b50, event=0x7fffb9c91e60) at
../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fa1d501be9c in QCoreApplication::notifyInternal
(this=0x7fffb9c94970, receiver=0x7fffb9c92b50, event=0x7fffb9c91e60) at
kernel/qcoreapplication.cpp:876
#24 0x00007fa1d5a17862 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x7fffb9c92b50,
event=0x7fffb9c91e60, alienWidget=0x0, nativeWidget=0x7fffb9c92b50,
buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3170
#26 0x00007fa1d5a972c1 in QETWidget::translateMouseEvent (this=0x7fffb9c92b50,
event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#27 0x00007fa1d5a95bae in QApplication::x11ProcessEvent (this=0x7fffb9c94970,
event=0x7fffb9c92730) at kernel/qapplication_x11.cpp:3732
#28 0x00007fa1d5abf0d2 in x11EventSourceDispatch (s=0x1f98470, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007fa1ceb9bd53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fa1ceb9c0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fa1ceb9c164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa1d504b3bf in QEventDispatcherGlib::processEvents (this=0x1f60c10,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fa1d5abed5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fffb9c92ad0, flags=...) at
kernel/qeventloop.cpp:204
#36 0x00007fa1d5e65131 in QMenu::exec (this=<optimized out>, p=..., action=0x0)
at widgets/qmenu.cpp:2113
#37 0x00007fa170059156 in MessageViewer::ViewerPrivate::showContextMenu
(this=0xe2ff620, content=0xaccd5b0, pos=...) at
../../messageviewer/viewer_p.cpp:1728
#38 0x00007fa17005a2b0 in
MessageViewer::ViewerPrivate::slotMimeTreeContextMenuRequested (this=0xe2ff620,
pos=...) at ../../messageviewer/viewer_p.cpp:2332
#39 0x00007fa17006e19e in MessageViewer::ViewerPrivate::qt_static_metacall
(_o=0xe2ff620, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
./viewer_p.moc:228
#40 0x00007fa1d5030281 in QMetaObject::activate (sender=0xda78ea0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffb9c930c0) at
kernel/qobject.cpp:3547
#41 0x00007fa1d5a5c8d2 in QWidget::customContextMenuRequested (this=<optimized
out>, _t1=...) at .moc/release-shared/moc_qwidget.cpp:374
#42 0x00007fa1d5a67af1 in QWidget::event (this=0xda78ea0, event=0x7fffb9c93cc0)
at kernel/qwidget.cpp:8532
#43 0x00007fa1d5e273b6 in QFrame::event (this=0xda78ea0, e=0x7fffb9c93cc0) at
widgets/qframe.cpp:557
#44 0x00007fa1d5f3b89b in QAbstractItemView::viewportEvent (this=0xda78ea0,
event=0x7fffb9c93cc0) at itemviews/qabstractitemview.cpp:1644
#45 0x00007fa1d5f834b5 in QTreeView::viewportEvent (this=0xda78ea0,
event=0x7fffb9c93cc0) at itemviews/qtreeview.cpp:1257
#46 0x00007fa1d501c028 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>,
receiver=0xdc9aa40, event=0x7fffb9c93cc0) at kernel/qcoreapplication.cpp:986
#47 0x00007fa1d5a1685f in notify_helper (e=0x7fffb9c93cc0, receiver=0xdc9aa40,
this=0x1f9b420) at kernel/qapplication.cpp:4555
#48 QApplicationPrivate::notify_helper (this=0x1f9b420, receiver=0xdc9aa40,
e=0x7fffb9c93cc0) at kernel/qapplication.cpp:4531
#49 0x00007fa1d5a1bbcd in QApplication::notify (this=<optimized out>,
receiver=0xdc9aa40, e=0x7fffb9c93cc0) at kernel/qapplication.cpp:4181
#50 0x00007fa1d67509e6 in KApplication::notify (this=0x7fffb9c94970,
receiver=0xdc9aa40, event=0x7fffb9c93cc0) at
../../kdeui/kernel/kapplication.cpp:311
#51 0x00007fa1d501be9c in QCoreApplication::notifyInternal
(this=0x7fffb9c94970, receiver=0xdc9aa40, event=0x7fffb9c93cc0) at
kernel/qcoreapplication.cpp:876
#52 0x00007fa1d5a96c58 in sendSpontaneousEvent (event=0x7fffb9c93cc0,
receiver=0xdc9aa40) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#53 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized
out>) at kernel/qapplication_x11.cpp:4622
#54 0x00007fa1d5a95bae in QApplication::x11ProcessEvent (this=0x7fffb9c94970,
event=0x7fffb9c94560) at kernel/qapplication_x11.cpp:3732
#55 0x00007fa1d5abf0d2 in x11EventSourceDispatch (s=0x1f98470, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007fa1ceb9bd53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007fa1ceb9c0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007fa1ceb9c164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007fa1d504b3bf in QEventDispatcherGlib::processEvents (this=0x1f60c10,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#60 0x00007fa1d5abed5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#62 0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fffb9c94900, flags=...) at
kernel/qeventloop.cpp:204
#63 0x00007fa1d501ff67 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#64 0x0000000000403629 in main (argc=1, argv=0x7fffb9c94f98) at
../../../kontact/src/main.cpp:218

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list