[Bug 287177] New: KMail crashes when deleting an Attachment
Johannes Obermayr
johannesobermayr at gmx.de
Mon Nov 21 16:03:00 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=287177
Summary: KMail crashes when deleting an Attachment
Product: kmail2
Version: unspecified
Platform: openSUSE RPMs
OS/Version: Linux
Status: NEW
Severity: crash
Priority: NOR
Component: general
AssignedTo: kdepim-bugs at kde.org
ReportedBy: johannesobermayr at gmx.de
Application: kmail (4.8 pre)
KDE Platform Version: 4.7.3 (4.7.3) "release 1"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution (Platform): openSUSE RPMs
-- Information about the crash:
1. &RMB; -> "Show Message Structure"
2. Choose one body part
3. &RMB; -> "Delete Attachment"
4. "Delete"
5. Crash
The crash can be reproduced every time.
-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbcd6ab4760 (LWP 4414))]
Thread 3 (Thread 0x7fbcba10a700 (LWP 4417)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fbcc82c49dc in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x7fbcc8c7b200) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2 0x00007fbcc82c4b09 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3 0x00007fbcd1c5ff05 in start_thread (arg=0x7fbcba10a700) at
pthread_create.c:301
#4 0x00007fbcd3e6e53d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 2 (Thread 0x7fbcb97f1700 (LWP 4418)):
#0 0x00007fbcd3e65423 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007fbccc002a98 in g_main_context_poll (n_fds=1, fds=0x802d00,
timeout=5501, context=0x976aa0, priority=<optimized out>) at gmain.c:3386
#2 g_main_context_iterate (context=0x976aa0, block=<optimized out>,
dispatch=1, self=<optimized out>) at gmain.c:3068
#3 0x00007fbccc002f59 in g_main_context_iteration (context=0x976aa0,
may_block=1) at gmain.c:3136
#4 0x00007fbcd5470576 in QEventDispatcherGlib::processEvents (this=0x7f9860,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5 0x00007fbcd5444a22 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6 0x00007fbcd5444c1f in QEventLoop::exec (this=0x7fbcb97f0e20, flags=...) at
kernel/qeventloop.cpp:201
#7 0x00007fbcd535c5df in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#8 0x00007fbcd535f025 in QThreadPrivate::start (arg=0x7c8c30) at
thread/qthread_unix.cpp:331
#9 0x00007fbcd1c5ff05 in start_thread (arg=0x7fbcb97f1700) at
pthread_create.c:301
#10 0x00007fbcd3e6e53d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 1 (Thread 0x7fbcd6ab4760 (LWP 4414)):
[KCrash Handler]
#6 begin (this=0x10000003f) at /usr/include/QtCore/qlist.h:861
#7 QList<KMime::Content*>::contains (this=0x10000003f, t=@0x7fff717f7b48) at
/usr/include/QtCore/qlist.h:863
#8 0x00007fbcd08638dc in KMime::Content::removeContent (this=0xe4a9e0,
c=0x14de080, del=true) at
/usr/src/debug/kdepimlibs-4.7.46/kmime/kmime_content.cpp:566
#9 0x00007fbccd2332a3 in MessageViewer::ViewerPrivate::deleteAttachment
(this=0x9da900, node=0x14de080, showWarning=<optimized out>) at
/usr/src/debug/kdepim-4.7.46/messageviewer/viewer_p.cpp:407
#10 0x00007fbccd240847 in MessageViewer::ViewerPrivate::slotAttachmentDelete
(this=0x9da900) at /usr/src/debug/kdepim-4.7.46/messageviewer/viewer_p.cpp:2374
#11 0x00007fbccd2438ed in MessageViewer::ViewerPrivate::qt_metacall
(this=0x9da900, _c=QMetaObject::InvokeMetaMethod, _id=55, _a=0x7fff717f7e70) at
/usr/src/debug/kdepim-4.7.46/build/messageviewer/viewer_p.moc:254
#12 0x00007fbcd545859a in QMetaObject::activate (sender=0x1265e40, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff717f7e70) at
kernel/qobject.cpp:3287
#13 0x00007fbcd480e5d2 in QAction::triggered (this=<optimized out>, _t1=false)
at .moc/release-shared/moc_qaction.cpp:263
#14 0x00007fbcd480e7bf in QAction::activate (this=0x1265e40, event=<optimized
out>) at kernel/qaction.cpp:1257
#15 0x00007fbcd4c44969 in QMenuPrivate::activateCausedStack (this=0x1741ff0,
causedStack=..., action=0x1265e40, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1005
#16 0x00007fbcd4c4a5a2 in QMenuPrivate::activateAction (this=0x1741ff0,
action=0x1265e40, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1097
#17 0x00007fbcd6582f50 in KMenu::mouseReleaseEvent (this=0x7fff717f9740,
e=0x7fff717f8a40) at /usr/src/debug/kdelibs-4.7.46/kdeui/widgets/kmenu.cpp:464
#18 0x00007fbcd48652b6 in QWidget::event (this=0x7fff717f9740,
event=0x7fff717f8a40) at kernel/qwidget.cpp:8295
#19 0x00007fbcd4c4bb0b in QMenu::event (this=0x7fff717f9740, e=0x7fff717f8a40)
at widgets/qmenu.cpp:2405
#20 0x00007fbcd4814be4 in notify_helper (e=0x7fff717f8a40,
receiver=0x7fff717f9740, this=0x65da70) at kernel/qapplication.cpp:4481
#21 QApplicationPrivate::notify_helper (this=0x65da70, receiver=0x7fff717f9740,
e=0x7fff717f8a40) at kernel/qapplication.cpp:4453
#22 0x00007fbcd481a36b in QApplication::notify (this=<optimized out>,
receiver=0x7fff717f9740, e=0x7fff717f8a40) at kernel/qapplication.cpp:4042
#23 0x00007fbcd64c1046 in KApplication::notify (this=0x7fff717fb5c0,
receiver=0x7fff717f9740, event=0x7fff717f8a40) at
/usr/src/debug/kdelibs-4.7.46/kdeui/kernel/kapplication.cpp:311
#24 0x00007fbcd544581c in QCoreApplication::notifyInternal
(this=0x7fff717fb5c0, receiver=0x7fff717f9740, event=0x7fff717f8a40) at
kernel/qcoreapplication.cpp:787
#25 0x00007fbcd4815bb2 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x7fff717f9740,
event=0x7fff717f8a40, alienWidget=0x0, nativeWidget=0x7fff717f9740,
buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3141
#27 0x00007fbcd4892201 in QETWidget::translateMouseEvent (this=0x7fff717f9740,
event=<optimized out>) at kernel/qapplication_x11.cpp:4406
#28 0x00007fbcd4890a2a in QApplication::x11ProcessEvent (this=0x7fff717fb5c0,
event=0x7fff717f9300) at kernel/qapplication_x11.cpp:3598
#29 0x00007fbcd48b82a2 in x11EventSourceDispatch (s=0x660450, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fbccc00258d in g_main_dispatch (context=0x65d6c0) at gmain.c:2425
#31 g_main_context_dispatch (context=0x65d6c0) at gmain.c:2995
#32 0x00007fbccc002d88 in g_main_context_iterate (context=0x65d6c0,
block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#33 0x00007fbccc002f59 in g_main_context_iteration (context=0x65d6c0,
may_block=1) at gmain.c:3136
#34 0x00007fbcd547050f in QEventDispatcherGlib::processEvents (this=0x60b8d0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007fbcd48b7f2e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fbcd5444a22 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fbcd5444c1f in QEventLoop::exec (this=0x7fff717f96d0, flags=...) at
kernel/qeventloop.cpp:201
#38 0x00007fbcd4c47a81 in QMenu::exec (this=<optimized out>, p=..., action=0x0)
at widgets/qmenu.cpp:2049
#39 0x00007fbccd22f9cb in MessageViewer::ViewerPrivate::showContextMenu
(this=0x9da900, content=0x14de080, pos=...) at
/usr/src/debug/kdepim-4.7.46/messageviewer/viewer_p.cpp:1661
#40 0x00007fbccd230d70 in
MessageViewer::ViewerPrivate::slotMimeTreeContextMenuRequested (this=0x9da900,
pos=...) at /usr/src/debug/kdepim-4.7.46/messageviewer/viewer_p.cpp:2258
#41 0x00007fbccd243871 in MessageViewer::ViewerPrivate::qt_metacall
(this=0x9da900, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0x7fff717f9c40) at
/usr/src/debug/kdepim-4.7.46/build/messageviewer/viewer_p.moc:246
#42 0x00007fbcd545859a in QMetaObject::activate (sender=0x977d20, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff717f9c40) at
kernel/qobject.cpp:3287
#43 0x00007fbcd485b982 in QWidget::customContextMenuRequested (this=<optimized
out>, _t1=<optimized out>) at .moc/release-shared/moc_qwidget.cpp:360
#44 0x00007fbcd4865c51 in QWidget::event (this=0x977d20, event=0x7fff717fa840)
at kernel/qwidget.cpp:8465
#45 0x00007fbcd4c09716 in QFrame::event (this=0x977d20, e=0x7fff717fa840) at
widgets/qframe.cpp:557
#46 0x00007fbcd4d19adb in QAbstractItemView::viewportEvent (this=0x977d20,
event=0x7fff717fa840) at itemviews/qabstractitemview.cpp:1628
#47 0x00007fbcd4d5e7d5 in QTreeView::viewportEvent (this=0x977d20,
event=0x7fff717fa840) at itemviews/qtreeview.cpp:1256
#48 0x00007fbcd54459a8 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>,
receiver=0x95f260, event=0x7fff717fa840) at kernel/qcoreapplication.cpp:902
#49 0x00007fbcd4814baf in notify_helper (e=0x7fff717fa840, receiver=0x95f260,
this=0x65da70) at kernel/qapplication.cpp:4477
#50 QApplicationPrivate::notify_helper (this=0x65da70, receiver=0x95f260,
e=0x7fff717fa840) at kernel/qapplication.cpp:4453
#51 0x00007fbcd4819f5c in QApplication::notify (this=<optimized out>,
receiver=0x95f260, e=0x7fff717fa840) at kernel/qapplication.cpp:4121
#52 0x00007fbcd64c1046 in KApplication::notify (this=0x7fff717fb5c0,
receiver=0x95f260, event=0x7fff717fa840) at
/usr/src/debug/kdelibs-4.7.46/kdeui/kernel/kapplication.cpp:311
#53 0x00007fbcd544581c in QCoreApplication::notifyInternal
(this=0x7fff717fb5c0, receiver=0x95f260, event=0x7fff717fa840) at
kernel/qcoreapplication.cpp:787
#54 0x00007fbcd4891bb8 in sendSpontaneousEvent (event=0x7fff717fa840,
receiver=0x95f260) at ../../src/corelib/kernel/qcoreapplication.h:218
#55 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized
out>) at kernel/qapplication_x11.cpp:4477
#56 0x00007fbcd4890a2a in QApplication::x11ProcessEvent (this=0x7fff717fb5c0,
event=0x7fff717fb0d0) at kernel/qapplication_x11.cpp:3598
#57 0x00007fbcd48b82a2 in x11EventSourceDispatch (s=0x660450, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x00007fbccc00258d in g_main_dispatch (context=0x65d6c0) at gmain.c:2425
#59 g_main_context_dispatch (context=0x65d6c0) at gmain.c:2995
#60 0x00007fbccc002d88 in g_main_context_iterate (context=0x65d6c0,
block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#61 0x00007fbccc002f59 in g_main_context_iteration (context=0x65d6c0,
may_block=1) at gmain.c:3136
#62 0x00007fbcd547050f in QEventDispatcherGlib::processEvents (this=0x60b8d0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#63 0x00007fbcd48b7f2e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007fbcd5444a22 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#65 0x00007fbcd5444c1f in QEventLoop::exec (this=0x7fff717fb4a0, flags=...) at
kernel/qeventloop.cpp:201
#66 0x00007fbcd5448de7 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#67 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kdepim-4.7.46/kmail/main.cpp:145
Reported using DrKonqi
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list