Bug 155238 - Crash on saving attachment from draft folder
Summary: Crash on saving attachment from draft folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.9.7
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-01-07 19:03 UTC by Mathias
Modified: 2008-09-18 14:07 UTC (History)
2 users (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 Mathias 2008-01-07 19:03:46 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.2 kernel 2.6.23-gentoo-r3
OS:                Linux

hi,
when i rightclick on an attachment being inside the draft folder of an IMAPS-account and choose "save as...", kmail crashes (almost) reproducibly. saving attachments of mails from other folders like inbox or sent (even the same attachment) works fine as usual. also if i rightclick on the mail (in draft folder) and use the "save attachment as..." line, it works.

"almost reproducible" means: it's *always" reproducible if i do it exactly the following way: login---click on the draft folder---click on the resp. mail---rightclick on the att.---choose "save as...". if i first rightclick on the *mail* and save the att.  by choosing "save att. as..." and after that right-click on the att. and choose "save as...", then it does work magically.

here's the backtrace:

[KCrash handler]
#6  0xb7b6bcac in partNode::findNodeForDwPart ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#7  0xb7b6bd03 in partNode::findNodeForDwPart ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#8  0xb7b6bd03 in partNode::findNodeForDwPart ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#9  0xb7e1fd7f in KMReaderWin::update ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#10 0xb7b547e2 in KMail::ISubject::notify ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#11 0xb7d5c78a in KMMessage::updateBodyPart ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#12 0xb7dea80a in KMail::ImapJob::slotGetMessageResult ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#13 0xb7df51f3 in KMail::ImapJob::qt_invoke ()
   from /usr/kde/3.5/lib/libkmailprivate.so
#14 0xb60693c9 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb6bf33be in KIO::Job::result () from /usr/kde/3.5/lib/libkio.so.4
#16 0xb6c395fd in KIO::Job::emitResult () from /usr/kde/3.5/lib/libkio.so.4
#17 0xb6c4506e in KIO::SimpleJob::slotFinished ()
   from /usr/kde/3.5/lib/libkio.so.4
#18 0xb6c4577d in KIO::TransferJob::slotFinished ()
   from /usr/kde/3.5/lib/libkio.so.4
#19 0xb6c391d8 in KIO::TransferJob::qt_invoke ()
   from /usr/kde/3.5/lib/libkio.so.4
#20 0xb60693c9 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb606a01d in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb6beb2cc in KIO::SlaveInterface::finished ()
   from /usr/kde/3.5/lib/libkio.so.4
#23 0xb6c52875 in KIO::SlaveInterface::dispatch ()
   from /usr/kde/3.5/lib/libkio.so.4
#24 0xb6c446a8 in KIO::SlaveInterface::dispatch ()
   from /usr/kde/3.5/lib/libkio.so.4
#25 0xb6c00e8b in KIO::Slave::gotInput () from /usr/kde/3.5/lib/libkio.so.4
#26 0xb6c3c859 in KIO::Slave::qt_invoke () from /usr/kde/3.5/lib/libkio.so.4
#27 0xb60693c9 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#28 0xb6069f22 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#29 0xb639d790 in QSocketNotifier::activated ()
   from /usr/qt/3/lib/libqt-mt.so.3
#30 0xb6086f0f in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3
#31 0xb600a527 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#32 0xb600b091 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#33 0xb673e0ee in KApplication::notify ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#34 0xb5fff191 in QEventLoop::activateSocketNotifiers ()
   from /usr/qt/3/lib/libqt-mt.so.3
#35 0xb5fba824 in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0xb6020b70 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#37 0xb6020a06 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#38 0xb6009fbf in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#39 0x0804a43d in ?? ()
#40 0xbf9e2c20 in ?? ()
#41 0xbf9e2e10 in ?? ()
#42 0x00000000 in ?? ()
Comment 1 Shem Valentine 2008-09-15 02:07:43 UTC
Doesn't seem to be repeatable with kmail 1.10.1.

Tested using dimap, imap, imaps with Draft folder that is local and on server.  Attachment extension was .tar.gz.  Followed steps reporter has given.
Comment 2 George Kiagiadakis 2008-09-18 14:07:23 UTC
I can't reproduce that either with kmail 1.10.1.