Application: kmail (1.13.2) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-23-generic i686 Distribution: Ubuntu 10.04 LTS -- Information about the crash: KMail can't save encrypted attachements: it saves them but the saved file is simply unusable (it was a tar.gz attachement and here is the answer for tar -xvf commandtar: This does not look like a tar archive gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Exiting with failure status due to previous errors ). When trying to save it without encryption KMail crashes The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault [Current thread is 1 (Thread 0xb7701780 (LWP 2486))] Thread 6 (Thread 0xb31b9b70 (LWP 2490)): #0 0x0888be16 in *__GI_clock_gettime (clock_id=143196148, tp=0xb31b8f48) at ../sysdeps/unix/clock_gettime.c:100 #1 0x00b446fb in qt_gettime () at kernel/qcore_unix.cpp:111 #2 0x00b49825 in QTimerInfoList::updateCurrentTime (this=0x9e1f0d4) at kernel/qeventdispatcher_unix.cpp:340 #3 0x00b4986a in QTimerInfoList::timerWait (this=0x9e1f0d4, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #4 0x00b47818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb31b905c) at kernel/qeventdispatcher_glib.cpp:136 #5 0x00b478a5 in timerSourcePrepare (source=0x0, timeout=0x888fff4) at kernel/qeventdispatcher_glib.cpp:169 #6 0x022ebaca in g_main_context_prepare () from /lib/libglib-2.0.so.0 #7 0x022ebee9 in ?? () from /lib/libglib-2.0.so.0 #8 0x022ec4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #9 0x00b4760f in QEventDispatcherGlib::processEvents (this=0x9fb6320, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #10 0x00b1a059 in QEventLoop::processEvents (this=0xb31b9220, flags=) at kernel/qeventloop.cpp:149 #11 0x00b1a4aa in QEventLoop::exec (this=0xb31b9220, flags=...) at kernel/qeventloop.cpp:201 #12 0x00a165a8 in QThread::exec (this=0x9e3caa0) at thread/qthread.cpp:487 #13 0x00af9c1b in QInotifyFileSystemWatcherEngine::run (this=0x9e3caa0) at io/qfilesystemwatcher_inotify.cpp:248 #14 0x00a1932e in QThreadPrivate::start (arg=0x9e3caa0) at thread/qthread_unix.cpp:248 #15 0x00d6d96e in start_thread (arg=0xb31b9b70) at pthread_create.c:300 #16 0x016a4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 5 (Thread 0xb284fb70 (LWP 2502)): #0 0x0044b422 in __kernel_vsyscall () #1 0x00d72015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x016b19dd in __pthread_cond_wait (cond=0x9b76598, mutex=0x9b76580) at forward.c:139 #3 0x00a1a287 in QWaitConditionPrivate::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0x046c7870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9b34be0, th=0xa49efa8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x046ca38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ae62b0, th=0xa49efa8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x046c627b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9b34be0, th=0xa49efa8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x046ca482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa49efa8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa49efa8, previous=0xaad6018) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x046c851e in ThreadWeaver::ThreadRunHelper::run (this=0xb284f284, parent=0x9b34be0, th=0xa49efa8) at ../../../threadweaver/Weaver/Thread.cpp:87 #11 0x046c8c3b in ThreadWeaver::Thread::run (this=0xa49efa8) at ../../../threadweaver/Weaver/Thread.cpp:142 #12 0x00a1932e in QThreadPrivate::start (arg=0xa49efa8) at thread/qthread_unix.cpp:248 #13 0x00d6d96e in start_thread (arg=0xb284fb70) at pthread_create.c:300 #14 0x016a4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 4 (Thread 0xb4ae2b70 (LWP 2505)): #0 0x0044b422 in __kernel_vsyscall () #1 0x00d72015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x016b19dd in __pthread_cond_wait (cond=0x9b76598, mutex=0x9b76580) at forward.c:139 #3 0x00a1a287 in QWaitConditionPrivate::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0x046c7870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9b34be0, th=0xa74b350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x046ca38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ae62b0, th=0xa74b350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x046c627b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9b34be0, th=0xa74b350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x046ca482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa74b350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa74b350, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x046ca4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa74b350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #11 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa74b350, previous=0xa4d9280) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #12 0x046c851e in ThreadWeaver::ThreadRunHelper::run (this=0xb4ae2284, parent=0x9b34be0, th=0xa74b350) at ../../../threadweaver/Weaver/Thread.cpp:87 #13 0x046c8c3b in ThreadWeaver::Thread::run (this=0xa74b350) at ../../../threadweaver/Weaver/Thread.cpp:142 #14 0x00a1932e in QThreadPrivate::start (arg=0xa74b350) at thread/qthread_unix.cpp:248 #15 0x00d6d96e in start_thread (arg=0xb4ae2b70) at pthread_create.c:300 #16 0x016a4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xb1b81b70 (LWP 2508)): #0 0x0044b422 in __kernel_vsyscall () #1 0x00d72015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x016b19dd in __pthread_cond_wait (cond=0x9b76598, mutex=0x9b76580) at forward.c:139 #3 0x00a1a287 in QWaitConditionPrivate::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0x046c7870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9b34be0, th=0xa487780) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x046ca38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ae62b0, th=0xa487780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x046c627b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9b34be0, th=0xa487780) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x046ca482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa487780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa487780, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x046ca4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa487780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #11 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa487780, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #12 0x046ca4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa487780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #13 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa487780, previous=0xa795960) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #14 0x046c851e in ThreadWeaver::ThreadRunHelper::run (this=0xb1b81284, parent=0x9b34be0, th=0xa487780) at ../../../threadweaver/Weaver/Thread.cpp:87 #15 0x046c8c3b in ThreadWeaver::Thread::run (this=0xa487780) at ../../../threadweaver/Weaver/Thread.cpp:142 #16 0x00a1932e in QThreadPrivate::start (arg=0xa487780) at thread/qthread_unix.cpp:248 #17 0x00d6d96e in start_thread (arg=0xb1b81b70) at pthread_create.c:300 #18 0x016a4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xb1380b70 (LWP 2511)): #0 0x0044b422 in __kernel_vsyscall () #1 0x00d72015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x016b19dd in __pthread_cond_wait (cond=0x9b76598, mutex=0x9b76580) at forward.c:139 #3 0x00a1a287 in QWaitConditionPrivate::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x9b34bf8, mutex=0x9b9bb90, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0x046c7870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9b34be0, th=0xa20efa8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x046ca38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ae62b0, th=0xa20efa8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x046c627b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9b34be0, th=0xa20efa8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x046ca482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa20efa8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa20efa8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x046ca4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa20efa8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #11 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa20efa8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #12 0x046ca4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa20efa8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #13 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa20efa8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #14 0x046ca4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ae62b0, th=0xa20efa8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #15 0x046c74d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9b34be0, th=0xa20efa8, previous=0xa57c910) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #16 0x046c851e in ThreadWeaver::ThreadRunHelper::run (this=0xb1380284, parent=0x9b34be0, th=0xa20efa8) at ../../../threadweaver/Weaver/Thread.cpp:87 #17 0x046c8c3b in ThreadWeaver::Thread::run (this=0xa20efa8) at ../../../threadweaver/Weaver/Thread.cpp:142 #18 0x00a1932e in QThreadPrivate::start (arg=0xa20efa8) at thread/qthread_unix.cpp:248 #19 0x00d6d96e in start_thread (arg=0xb1380b70) at pthread_create.c:300 #20 0x016a4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb7701780 (LWP 2486)): [KCrash Handler] #6 KMMessagePart::contentTransferEncoding (this=0xa781574) at ../../kmail/kmmsgpart.cpp:390 #7 0x0103078d in KMMessagePart::cte (this=0xa781574) at ../../kmail/kmmsgpart.h:157 #8 KMMessagePart::bodyDecodedBinary (this=0xa781574) at ../../kmail/kmmsgpart.cpp:256 #9 0x011e6e73 in KMSaveAttachmentsCommand::saveItem (this=0xa81e358, node=0xa781560, url=...) at ../../kmail/kmcommands.cpp:2735 #10 0x011e8da8 in KMSaveAttachmentsCommand::slotSaveAll (this=0xa81e358) at ../../kmail/kmcommands.cpp:2637 #11 0x011eb111 in KMSaveAttachmentsCommand::qt_metacall (this=0xa81e358, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfb9105c) at ./kmcommands.moc:895 #12 0x00b20c9a in QMetaObject::metacall (object=0xa81e358, cl=3216575596, idx=13, argv=0xbfb9105c) at kernel/qmetaobject.cpp:237 #13 0x00b2f3d5 in QMetaObject::activate (sender=0xa6a2258, m=0x15c9444, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293 #14 0x011ca477 in KMLoadPartsCommand::partsRetrieved (this=0xa6a2258) at ./kmcommands.moc:2152 #15 0x011cb8c2 in KMLoadPartsCommand::execute (this=0xa6a2258) at ../../kmail/kmcommands.cpp:2876 #16 0x011ec1a3 in KMLoadPartsCommand::slotStart (this=0xa6a2258) at ../../kmail/kmcommands.cpp:2851 #17 0x011da86b in KMCommand::qt_metacall (this=0xa6a2258, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb9124c) at ./kmcommands.moc:92 #18 0x011dac2a in KMLoadPartsCommand::qt_metacall (this=0xa6a2258, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb9124c) at ./kmcommands.moc:2135 #19 0x00b20c9a in QMetaObject::metacall (object=0xa6a2258, cl=3216575596, idx=8, argv=0xbfb9124c) at kernel/qmetaobject.cpp:237 #20 0x00b2f3d5 in QMetaObject::activate (sender=0xa94dbc0, m=0xc2e188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293 #21 0x00b36fe7 in QSingleShotTimer::timeout (this=0xa94dbc0) at .moc/release-shared/qtimer.moc:82 #22 0x00b370fc in QSingleShotTimer::timerEvent (this=0xa94dbc0) at kernel/qtimer.cpp:308 #23 0x00b2c254 in QObject::event (this=0xa94dbc0, e=0xbfb90c01) at kernel/qobject.cpp:1212 #24 0x06d254dc in QApplicationPrivate::notify_helper (this=0x98d2310, receiver=0xa94dbc0, e=0xbfb91780) at kernel/qapplication.cpp:4300 #25 0x06d2c05e in QApplication::notify (this=0xbfb91b90, receiver=0xa94dbc0, e=0xbfb91780) at kernel/qapplication.cpp:3704 #26 0x0062bf2a in KApplication::notify (this=0xbfb91b90, receiver=0xa94dbc0, event=0xbfb91780) at ../../kdeui/kernel/kapplication.cpp:302 #27 0x00b1ba3b in QCoreApplication::notifyInternal (this=0xbfb91b90, receiver=0xa94dbc0, event=0xbfb91780) at kernel/qcoreapplication.cpp:704 #28 0x00b4ad66 in QCoreApplication::sendEvent (this=0x98dba44) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #29 QTimerInfoList::activateTimers (this=0x98dba44) at kernel/qeventdispatcher_unix.cpp:603 #30 0x00b478e4 in timerSourceDispatch (source=0x98dba10) at kernel/qeventdispatcher_glib.cpp:184 #31 0x022e85e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #32 0x022ec2d8 in ?? () from /lib/libglib-2.0.so.0 #33 0x022ec4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #34 0x00b475d5 in QEventDispatcherGlib::processEvents (this=0x98a8278, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #35 0x06de5135 in QGuiEventDispatcherGlib::processEvents (this=0x98a8278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #36 0x00b1a059 in QEventLoop::processEvents (this=0xbfb91a44, flags=) at kernel/qeventloop.cpp:149 #37 0x00b1a4aa in QEventLoop::exec (this=0xbfb91a44, flags=...) at kernel/qeventloop.cpp:201 #38 0x00b1e69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #39 0x06d25577 in QApplication::exec () at kernel/qapplication.cpp:3579 #40 0x0804ab0e in main (argc=3, argv=0xbfb91d54) at ../../kmail/main.cpp:156 Possible duplicates by query: bug 225460, bug 212993. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 136145 ***