Bug 188143 - KMail crash (SIGSEGV) when storing the same attachement twice
Summary: KMail crash (SIGSEGV) when storing the same attachement twice
Status: RESOLVED DUPLICATE of bug 136145
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 09:41 UTC by Remco Bloemen
Modified: 2009-05-17 20:11 UTC (History)
1 user (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 Remco Bloemen 2009-03-26 09:41:39 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc version 4.3.3 (Gentoo 4.3.3-r1 p1.1, pie-10.1.5)
 
OS:                Linux
Installed from:    Gentoo Packages

I have an email on imap (uncached). When I try to save the second attachment to disk it starts downloading in the background. I now do this a second time, before the first one completes (because I'm impatient and did not saw it was working on it). When the second one finishes, kmail crashes with the following backtrace, which seems similar to bug 136145 (might be the 'regression' some comments talk about).


Application: Kontact (kontact), signal SIGSEGV
0x00007f92d6a52901 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c

Thread 1 (Thread 0x7f92dd4e1750 (LWP 32052)):
[KCrash Handler]
#5  KMLoadPartsCommand::slotPartRetrieved (this=0x297bf80, msg=<value optimized out>, partSpecifier=<value optimized out>)
    at /var/tmp/paludis/kde-base-kmail-4.2.1-r1/work/kmail-4.2.1/mimelib/mimelib/string.h:618
#6  0x00007f92c5733aa5 in KMLoadPartsCommand::qt_metacall (this=0x297bf80, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffe55399a0)
    at /var/tmp/paludis/kde-base-kmail-4.2.1-r1/work/kmail_build/kmail/kmcommands.moc:1858
#7  0x00007f92d7810600 in QMetaObject::activate (sender=0x302e810, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x1dd9ef1) at kernel/qobject.cpp:3057
#8  0x00007f92c5783797 in KMail::FolderJob::messageUpdated (this=0x302e848, _t1=0x1fcbd90, _t2=<value optimized out>)
    at /var/tmp/paludis/kde-base-kmail-4.2.1-r1/work/kmail_build/kmail/folderjob.moc:106
#9  0x00007f92c578f567 in KMail::ImapJob::slotGetMessageResult (this=0x302e810, job=0x301f6d0) at /var/tmp/paludis/kde-base-kmail-4.2.1-r1/work/kmail-4.2.1/kmail/imapjob.cpp:476
#10 0x00007f92c57927af in KMail::ImapJob::qt_metacall (this=0x302e810, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe5539c00)
    at /var/tmp/paludis/kde-base-kmail-4.2.1-r1/work/kmail_build/kmail/imapjob.moc:82
#11 0x00007f92d7810600 in QMetaObject::activate (sender=0x301f6d0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x1dd9ef1) at kernel/qobject.cpp:3057
#12 0x00007f92d7e229d2 in KJob::result (this=0x302e848, _t1=0x301f6d0) at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs_build/kdecore/kjob.moc:188
#13 0x00007f92d7e22d9f in KJob::emitResult (this=0x301f6d0) at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kdecore/jobs/kjob.cpp:294
#14 0x00007f92d9b3d2d0 in KIO::SimpleJob::slotFinished (this=0x301f6d0) at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kio/kio/job.cpp:489
#15 0x00007f92d9b3e453 in KIO::TransferJob::slotFinished (this=0x301f6d0) at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kio/kio/job.cpp:966
#16 0x00007f92d9b3f435 in KIO::TransferJob::qt_metacall (this=0x301f6d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe553a010)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs_build/kio/jobclasses.moc:343
#17 0x00007f92d7810600 in QMetaObject::activate (sender=0x1776810, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x1dd9ef1) at kernel/qobject.cpp:3057
#18 0x00007f92d9bf3db9 in KIO::SlaveInterface::dispatch (this=0x1776810, _cmd=104, rawdata=<value optimized out>)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kio/kio/slaveinterface.cpp:175
#19 0x00007f92d9bf0966 in KIO::SlaveInterface::dispatch (this=0x1776810) at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kio/kio/slaveinterface.cpp:91
#20 0x00007f92d9be1d62 in KIO::Slave::gotInput (this=0x1776810) at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kio/kio/slave.cpp:322
#21 0x00007f92d9be3f98 in KIO::Slave::qt_metacall (this=0x1776810, _c=QMetaObject::InvokeMetaMethod, _id=31426032, _a=0x7fffe553a440)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs_build/kio/slave.moc:76
#22 0x00007f92d7810600 in QMetaObject::activate (sender=0x15ff080, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1dd9ef1) at kernel/qobject.cpp:3057
#23 0x00007f92d9b09bdf in KIO::ConnectionPrivate::dequeue (this=0x1e150d0) at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kio/kio/connection.cpp:82
#24 0x00007f92d9b0a06a in KIO::Connection::qt_metacall (this=0x15ff080, _c=QMetaObject::InvokeMetaMethod, _id=31426032, _a=0x184bf00)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs_build/kio/connection.moc:73
#25 0x00007f92d780d109 in QObject::event (this=0x15ff080, e=0x2c77b50) at kernel/qobject.cpp:1106
#26 0x00007f92d834131d in QApplicationPrivate::notify_helper (this=0x1357e60, receiver=0x15ff080, e=0x2c77b50) at kernel/qapplication.cpp:4084
#27 0x00007f92d83489ba in QApplication::notify (this=0x7fffe553afa0, receiver=0x15ff080, e=0x2c77b50) at kernel/qapplication.cpp:4049
#28 0x00007f92d965316a in KApplication::notify (this=0x7fffe553afa0, receiver=0x15ff080, event=0x2c77b50)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.1-r3/work/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#29 0x00007f92d77fe38b in QCoreApplication::notifyInternal (this=0x7fffe553afa0, receiver=0x15ff080, event=0x2c77b50) at kernel/qcoreapplication.cpp:598
#30 0x00007f92d77fecb6 in QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=0, data=0x1324f80)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 0x00007f92d7823dd3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#32 0x00007f92d24e768a in IA__g_main_context_dispatch (context=0x1358f60) at gmain.c:2144
#33 0x00007f92d24eac6d in g_main_context_iterate (context=0x1358f60, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#34 0x00007f92d24eae1d in IA__g_main_context_iteration (context=0x1358f60, may_block=1) at gmain.c:2841
#35 0x00007f92d7823a4f in QEventDispatcherGlib::processEvents (this=0x132d770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#36 0x00007f92d83c6ce8 in QGuiEventDispatcherGlib::processEvents (this=0x302e848, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x00007f92d77fcd12 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -447500864}) at kernel/qeventloop.cpp:149
#38 0x00007f92d77fceb5 in QEventLoop::exec (this=0x7fffe553ae00, flags={i = -447500784}) at kernel/qeventloop.cpp:196
#39 0x00007f92d77fef3c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#40 0x0000000000404b99 in main (argc=1, argv=0x7fffe553b578) at /var/tmp/paludis/kde-base-kontact-4.2.1/work/kontact-4.2.1/kontact/src/main.cpp:218
Comment 1 Remco Bloemen 2009-03-26 09:46:59 UTC
I opened a new bug since bug 136145 is closed. Is this correct, or should I have asked to reopen said bug?
Comment 2 Dario Andres 2009-03-26 13:06:32 UTC
Bug 136145 comment 23. I noticed that we could reopen that report. (as it's happening on KDE4.2+) However I got no answers :(
Comment 3 Dario Andres 2009-05-17 20:11:51 UTC
Marking as duplicate of bug 136145 as it is now open

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