[kmail2] [Bug 315058] New: Kmail crashed when saving attachment to disk

Benoit Leffray benoit.leffray.kde at gmail.com
Wed Feb 13 12:05:35 GMT 2013


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

            Bug ID: 315058
           Summary: Kmail crashed when saving attachment to disk
    Classification: Unclassified
           Product: kmail2
           Version: 4.10
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: benoit.leffray.kde at gmail.com

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 at 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 at 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 at 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 at entry=0x515a610,
create=create at 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 at entry=0x28d2e00, content=content at 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 at entry=0x258c030, receiver=receiver at entry=0x2adf7c0,
e=e at 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 at entry=0x2adf7c0,
event=event at 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 at 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

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



More information about the Kdepim-bugs mailing list