Bug 278914 - crash on click "save attachments"
Summary: crash on click "save attachments"
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 1.99.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-31 08:56 UTC by Ferdinand Gassauer
Modified: 2011-08-01 14:00 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 Ferdinand Gassauer 2011-07-31 08:56:18 UTC
Version:           2.0.89 (using KDE 4.7.0) 
OS:                Linux

Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f95a7411760 (LWP 30367))]

Thread 3 (Thread 0x7f958aab4700 (LWP 30371)):
#0  0x00007f95a263b38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9598cb61d4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f95a2636a3f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f95a47e067d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9585476700 (LWP 30446)):
#0  0x00007f95a47d7503 in poll () from /lib64/libc.so.6
#1  0x00007f959c87ed14 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f959c87f250 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f95a5dc6286 in QEventDispatcherGlib::processEvents (this=0x3cdfd00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f95a5d9a8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f95a5d9aae5 in QEventLoop::exec (this=0x7f9585475de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f95a5caf7a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f95a5d7c008 in QInotifyFileSystemWatcherEngine::run (this=0x3ccdb90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f95a5cb2095 in QThreadPrivate::start (arg=0x3ccdb90) at thread/qthread_unix.cpp:320
#9  0x00007f95a2636a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f95a47e067d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f95a7411760 (LWP 30367)):
[KCrash Handler]
#6  0x00007f95a1056f26 in KMime::Headers::ContentDisposition* KMime::Content::header<KMime::Headers::ContentDisposition>(bool) () from /usr/lib64/libkmime.so.4
#7  0x00007f959dad2608 in MessageViewer::Util::extractAttachments(KMime::Message const*) () from /usr/lib64/libmessageviewer.so.4
#8  0x00007f959dae20f9 in MessageViewer::ViewerPrivate::slotAttachmentSaveAll() () from /usr/lib64/libmessageviewer.so.4
#9  0x00007f959dad64d6 in MessageViewer::Viewer::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libmessageviewer.so.4
#10 0x00007f95a5dafa5f in QMetaObject::activate (sender=0x3c6af20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7d767220) at kernel/qobject.cpp:3278
#11 0x00007f95a515cdb2 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#12 0x00007f95a515cfaa in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#13 0x00007f95a5594023 in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007f95a559a03a in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007f95a6ef0c0d in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#16 0x00007f95a51b4c5c in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f95a559b22b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f95a5163144 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f95a516bf7c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f95a6e2f736 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007f95a5d9b47c in QCoreApplication::notifyInternal (this=0x7fff7d7698a0, receiver=0x3aa2220, event=0x7fff7d767ea0) at kernel/qcoreapplication.cpp:731
#22 0x00007f95a5164155 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#23 0x00007f95a51e2d94 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f95a51e1209 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f95a5208f12 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007f959c87e7d3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#27 0x00007f959c87efb0 in ?? () from /lib64/libglib-2.0.so.0
#28 0x00007f959c87f250 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x00007f95a5dc622f in QEventDispatcherGlib::processEvents (this=0x6117e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f95a5208bae in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007f95a5d9a8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f95a5d9aae5 in QEventLoop::exec (this=0x7fff7d768b20, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f95a55977a5 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f95a61e2c19 in KMReaderMainWin::slotDelayedMessagePopup(KJob*) () from /usr/lib64/libkmailprivate.so.4
#35 0x00007f95a61e3d24 in KMReaderMainWin::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#36 0x00007f95a5dafa5f in QMetaObject::activate (sender=0x3f02250, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7d768d50) at kernel/qobject.cpp:3278
#37 0x00007f95a68535a2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#38 0x00007f95a68535e0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#39 0x00007f95a0ccbfcd in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#40 0x00007f95a0cf4915 in Akonadi::ItemSearchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#41 0x00007f95a5daf37a in QObject::event (this=0x3f02250, e=<value optimized out>) at kernel/qobject.cpp:1217
#42 0x00007f95a5163144 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f95a516b6fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007f95a6e2f736 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#45 0x00007f95a5d9b47c in QCoreApplication::notifyInternal (this=0x7fff7d7698a0, receiver=0x3f02250, event=0x3fe9a10) at kernel/qcoreapplication.cpp:731
#46 0x00007f95a5d9ec75 in sendEvent (receiver=0x0, event_type=0, data=0x611fd0) at kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x611fd0) at kernel/qcoreapplication.cpp:1372
#48 0x00007f95a5dc6093 in sendPostedEvents (s=0x664640) at kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=0x664640) at kernel/qeventdispatcher_glib.cpp:277
#50 0x00007f959c87e7d3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#51 0x00007f959c87efb0 in ?? () from /lib64/libglib-2.0.so.0
#52 0x00007f959c87f250 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#53 0x00007f95a5dc622f in QEventDispatcherGlib::processEvents (this=0x6117e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#54 0x00007f95a5208bae in ?? () from /usr/lib64/libQtGui.so.4
#55 0x00007f95a5d9a8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007f95a5d9aae5 in QEventLoop::exec (this=0x7fff7d769760, flags=...) at kernel/qeventloop.cpp:201
#57 0x00007f95a5d9ef2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#58 0x000000000040316e in main ()


Reproducible: Always

Steps to Reproduce:
click "save attachments"

Actual Results:  
crash

unfortunately opensuse does not provide debug sysmbols

Expected Results:  
save attachments

boring workaround -
save attachments one by one

OS: Linux (x86_64) release 2.6.37.6-0.5-desktop
Compiler: gcc
Comment 1 Laurent Montel 2011-07-31 11:44:11 UTC
Is it possible to send me this email in private mail ?
I can't reproduce it
Comment 2 Laurent Montel 2011-08-01 14:00:58 UTC
Fixed in 4.7/master