Bug 315058 - Kmail crashed when saving attachment to disk
Summary: Kmail crashed when saving attachment to disk
Status: RESOLVED DUPLICATE of bug 302153
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 328352 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-13 12:05 UTC by Benoit Leffray
Modified: 2014-02-13 02:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Leffray 2013-02-13 12:05:35 UTC
Application: kmail (4.10)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.5.0-23-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

I saved an attached file to my hard drive and got this crash. The attachment hasn't been saved at all.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faaf65117c0 (LWP 2116))]

Thread 5 (Thread 0x7faaecd63700 (LWP 2320)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fab0195ab2d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fab0231b280 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2499
#2  0x00007fab0195ac39 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007fab0abc7e9a in start_thread (arg=0x7faaecd63700) at pthread_create.c:308
#4  0x00007fab0d313cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7faae7fff700 (LWP 2322)):
#0  0x00007fab0d308303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fab05526d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fab05526ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fab0dc9ec16 in QEventDispatcherGlib::processEvents (this=0x7faae00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fab0dc6f2bf in QEventLoop::processEvents (this=this@entry=0x7faae7ffedc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fab0dc6f548 in QEventLoop::exec (this=0x7faae7ffedc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fab0db70b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fab0db73aec in QThreadPrivate::start (arg=0x2af7650) at thread/qthread_unix.cpp:338
#8  0x00007fab0abc7e9a in start_thread (arg=0x7faae7fff700) at pthread_create.c:308
#9  0x00007fab0d313cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7faae6f1a700 (LWP 2324)):
#0  0x00007fab0abc9f69 in __pthread_mutex_lock (mutex=0x7faad8000a60) at pthread_mutex_lock.c:92
#1  0x00007fab05563e21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fab05526d3d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fab05526ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fab0dc9ec16 in QEventDispatcherGlib::processEvents (this=0x7faad80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fab0dc6f2bf in QEventLoop::processEvents (this=this@entry=0x7faae6f19d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fab0dc6f548 in QEventLoop::exec (this=0x7faae6f19d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fab0db70b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fab0dc4f9af in QInotifyFileSystemWatcherEngine::run (this=0x2b4b1c0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fab0db73aec in QThreadPrivate::start (arg=0x2b4b1c0) at thread/qthread_unix.cpp:338
#10 0x00007fab0abc7e9a in start_thread (arg=0x7faae6f1a700) at pthread_create.c:308
#11 0x00007fab0d313cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7faa8e4ee700 (LWP 13415)):
#0  0x00007fab055265c5 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fab05526cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fab05526ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fab0dc9ec16 in QEventDispatcherGlib::processEvents (this=0x7faa880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fab0dc6f2bf in QEventLoop::processEvents (this=this@entry=0x7faa8e4edd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fab0dc6f548 in QEventLoop::exec (this=0x7faa8e4edd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fab0db70b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fab0dc4f9af in QInotifyFileSystemWatcherEngine::run (this=0x4f460f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fab0db73aec in QThreadPrivate::start (arg=0x4f460f0) at thread/qthread_unix.cpp:338
#9  0x00007fab0abc7e9a in start_thread (arg=0x7faa8e4ee700) at pthread_create.c:308
#10 0x00007fab0d313cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faaf65117c0 (LWP 2116)):
[KCrash Handler]
#6  header<KMime::Headers::ContentTransferEncoding> (create=true, this=0x515a610) at ../../kmime/kmime_content.h:833
#7  KMime::Content::contentTransferEncoding (this=this@entry=0x515a610, create=create@entry=true) at ../../kmime/kmime_content.cpp:1002
#8  0x00007fab0a09121b in KMime::Content::decodedContent (this=0x515a610) at ../../kmime/kmime_content.cpp:377
#9  0x00007fab067a9d5d in MessageViewer::Util::saveContent (parent=parent@entry=0x28d2e00, content=content@entry=0x515a610, url=...) at ../../messageviewer/util.cpp:383
#10 0x00007fab067acfec in MessageViewer::Util::saveContents (parent=0x28d2e00, contents=...) at ../../messageviewer/util.cpp:310
#11 0x00007fab067c9f17 in MessageViewer::ViewerPrivate::openAttachment (this=0x2adf7c0, node=0x515a610, name=...) at ../../messageviewer/viewer_p.cpp:370
#12 0x00007fab067a411c in (anonymous namespace)::AttachmentURLHandler::handleClick (this=<optimized out>, url=..., w=0x2adf7c0) at ../../messageviewer/urlhandlermanager.cpp:789
#13 0x00007fab067a6ae8 in MessageViewer::URLHandlerManager::handleClick (this=<optimized out>, url=..., w=0x2adf7c0) at ../../messageviewer/urlhandlermanager.cpp:371
#14 0x00007fab067b4d02 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x2adf7c0, url=...) at ../../messageviewer/viewer_p.cpp:2017
#15 0x00007fab067c926e in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x2adf7c0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./viewer_p.moc:225
#16 0x00007fab0dc8543e in QObject::event (this=0x2adf7c0, e=<optimized out>) at kernel/qobject.cpp:1195
#17 0x00007fab0e194e9c in QApplicationPrivate::notify_helper (this=this@entry=0x258c030, receiver=receiver@entry=0x2adf7c0, e=e@entry=0x566b870) at kernel/qapplication.cpp:4562
#18 0x00007fab0e19930a in QApplication::notify (this=0x7fff91658f60, receiver=0x2adf7c0, e=0x566b870) at kernel/qapplication.cpp:4423
#19 0x00007fab0f99f636 in KApplication::notify (this=0x7fff91658f60, receiver=0x2adf7c0, event=0x566b870) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fab0dc7056e in QCoreApplication::notifyInternal (this=0x7fff91658f60, receiver=receiver@entry=0x2adf7c0, event=event@entry=0x566b870) at kernel/qcoreapplication.cpp:915
#21 0x00007fab0dc743f1 in sendEvent (event=0x566b870, receiver=0x2adf7c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2518220) at kernel/qcoreapplication.cpp:1539
#23 0x00007fab0dc9ea63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x257d120) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007fab05526ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fab05526de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fab05526ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fab0dc9ebf6 in QEventDispatcherGlib::processEvents (this=0x2519b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007fab0e239c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fab0dc6f2bf in QEventLoop::processEvents (this=this@entry=0x7fff91658be0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fab0dc6f548 in QEventLoop::exec (this=0x7fff91658be0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007fab0dc74708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#33 0x0000000000402c1d in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

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

Possible duplicates by query: bug 305454, bug 302153.

Reported using DrKonqi
Comment 1 Laurent Montel 2013-02-13 12:14:26 UTC
I need to have email which creates crash ?
save it to mbox format.
Comment 2 Christoph Feck 2013-02-26 11:55:34 UTC
If you can provide the information requested in comment #1, please add it.

You can also mail the developers privately, if it contains sensitive information.
Comment 3 Jekyll Wu 2013-12-03 07:15:31 UTC
*** Bug 328352 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2014-02-13 02:20:40 UTC

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