Bug 93042 - One encrypted attachment but multiple "enter passphrase" dialogs, finally KMail crashes
Summary: One encrypted attachment but multiple "enter passphrase" dialogs, finally KMa...
Status: RESOLVED DUPLICATE of bug 92737
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.7
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 18:49 UTC by Sebastian Sauer
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 Sebastian Sauer 2004-11-10 18:49:04 UTC
Version:           1.7 (using KDE 3.3.0,  (3.1))
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-12)
OS:                Linux (i686) release 2.6.8.1

This bug is a bit tricky, but at least for me reproducable. Here we go;

I've got a mail with 4 attachments. The first 3 attachments are simple HTML-files and the 4th is the pgp-encrypted body.
If I open the mail with KMail, 4 "enter your passphrase" dialogs are poping up. It doesn't matter if I put in my passphrase for all of them, just for one or for the 4th (the correct one). At least the body got decrypted correct and is visible after I put in the correct password on dialog #4. But as soon as I am on dialog #1, #2 OR #3 (as sayed by canceling others before or by putting my password in), KMail just crashes.

Guess it's very difficult for others to reproduce this one and therefore this report may just be totaly useless, but I report it anyway cause I am able to catch at least a BT that maybe helps. If not, just feel free to close this report again. Thanks and keep up the great work on the worlds best Mailclient :-)

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1110394880 (LWP 1143)]
[KCrash handler]
#3  0x4032c4d3 in KMail::ObjectTreeParser::parseObjectTree ()
   from /usr/lib/libkmailprivate.so.0
#4  0x403314e3 in KMail::ObjectTreeParser::stdChildHandling ()
   from /usr/lib/libkmailprivate.so.0
#5  0x4033163f in KMail::ObjectTreeParser::processMultiPartMixedSubtype ()
   from /usr/lib/libkmailprivate.so.0
#6  0x4033cfad in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process () from /usr/lib/libkmailprivate.so.0
#7  0x4032c795 in KMail::ObjectTreeParser::parseObjectTree ()
   from /usr/lib/libkmailprivate.so.0
#8  0x40238499 in KMReaderWin::parseMsg () from /usr/lib/libkmailprivate.so.0
#9  0x40237e13 in KMReaderWin::displayMessage ()
   from /usr/lib/libkmailprivate.so.0
#10 0x402379c9 in KMReaderWin::updateReaderWin ()
   from /usr/lib/libkmailprivate.so.0
#11 0x4023516c in KMReaderWin::update () from /usr/lib/libkmailprivate.so.0
#12 0x4039d14d in KMail::ISubject::notify ()
   from /usr/lib/libkmailprivate.so.0
#13 0x40176afc in KMMessage::updateBodyPart ()
   from /usr/lib/libkmailprivate.so.0
#14 0x4038ec19 in KMail::ImapJob::slotGetMessageResult ()
   from /usr/lib/libkmailprivate.so.0
#15 0x4039012a in KMail::ImapJob::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#16 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0x41c899ba in KIO::Job::result () from /usr/lib/libkio.so.4
#18 0x41c72c1c in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#19 0x41c7411c in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#20 0x41c7756e in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#21 0x41c8b99d in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#22 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0x40b72354 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0x41c68fae in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#25 0x41c67ba9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#26 0x41c670c9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#27 0x41c64afb in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#28 0x41c66818 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#29 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#30 0x40b7268d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#31 0x40eb0eb2 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#32 0x40b8ecd0 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#33 0x40b15bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#34 0x40b151ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#35 0x407431a3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#36 0x40b055da in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#37 0x40abec03 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#38 0x40b27f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#39 0x40b15e81 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#40 0x40cfc570 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#41 0x4141ff38 in Kpgp::Module::prepare () from /usr/lib/libkdenetwork.so.2
#42 0x414202e8 in Kpgp::Module::decrypt () from /usr/lib/libkdenetwork.so.2
#43 0x4140d840 in Kpgp::Block::decrypt () from /usr/lib/libkdenetwork.so.2
#44 0x4033b9d9 in KMail::ObjectTreeParser::writeBodyStr ()
   from /usr/lib/libkmailprivate.so.0
#45 0x40334973 in KMail::ObjectTreeParser::writeBodyString ()
   from /usr/lib/libkmailprivate.so.0
#46 0x40330c8e in KMail::ObjectTreeParser::processTextPlainSubtype ()
   from /usr/lib/libkmailprivate.so.0
#47 0x4033ce2d in (anonymous namespace)::TextPlainBodyPartFormatter::process
    () from /usr/lib/libkmailprivate.so.0
#48 0x4032c795 in KMail::ObjectTreeParser::parseObjectTree ()
   from /usr/lib/libkmailprivate.so.0
#49 0x403314e3 in KMail::ObjectTreeParser::stdChildHandling ()
   from /usr/lib/libkmailprivate.so.0
#50 0x4033163f in KMail::ObjectTreeParser::processMultiPartMixedSubtype ()
   from /usr/lib/libkmailprivate.so.0
#51 0x4033cfad in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process () from /usr/lib/libkmailprivate.so.0
#52 0x4032c795 in KMail::ObjectTreeParser::parseObjectTree ()
   from /usr/lib/libkmailprivate.so.0
#53 0x40238499 in KMReaderWin::parseMsg () from /usr/lib/libkmailprivate.so.0
#54 0x40237e13 in KMReaderWin::displayMessage ()
   from /usr/lib/libkmailprivate.so.0
#55 0x402379c9 in KMReaderWin::updateReaderWin ()
   from /usr/lib/libkmailprivate.so.0
#56 0x4023516c in KMReaderWin::update () from /usr/lib/libkmailprivate.so.0
#57 0x4039d14d in KMail::ISubject::notify ()
   from /usr/lib/libkmailprivate.so.0
#58 0x40176afc in KMMessage::updateBodyPart ()
   from /usr/lib/libkmailprivate.so.0
#59 0x4038ec19 in KMail::ImapJob::slotGetMessageResult ()
   from /usr/lib/libkmailprivate.so.0
#60 0x4039012a in KMail::ImapJob::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#61 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#62 0x41c899ba in KIO::Job::result () from /usr/lib/libkio.so.4
#63 0x41c72c1c in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#64 0x41c7411c in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#65 0x41c7756e in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#66 0x41c8b99d in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#67 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#68 0x40b72354 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#69 0x41c68fae in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#70 0x41c67ba9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#71 0x41c670c9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#72 0x41c64afb in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#73 0x41c66818 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#74 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#75 0x40b7268d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#76 0x40eb0eb2 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#77 0x40b8ecd0 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#78 0x40b15bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#79 0x40b151ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#80 0x407431a3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#81 0x40b055da in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#82 0x40abec03 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#83 0x40b27f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#84 0x40b15e81 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#85 0x40cfc570 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#86 0x4141ff38 in Kpgp::Module::prepare () from /usr/lib/libkdenetwork.so.2
#87 0x414202e8 in Kpgp::Module::decrypt () from /usr/lib/libkdenetwork.so.2
#88 0x4140d840 in Kpgp::Block::decrypt () from /usr/lib/libkdenetwork.so.2
#89 0x4033b9d9 in KMail::ObjectTreeParser::writeBodyStr ()
   from /usr/lib/libkmailprivate.so.0
#90 0x40334973 in KMail::ObjectTreeParser::writeBodyString ()
   from /usr/lib/libkmailprivate.so.0
#91 0x40330c8e in KMail::ObjectTreeParser::processTextPlainSubtype ()
   from /usr/lib/libkmailprivate.so.0
#92 0x4033ce2d in (anonymous namespace)::TextPlainBodyPartFormatter::process
    () from /usr/lib/libkmailprivate.so.0
#93 0x4032c795 in KMail::ObjectTreeParser::parseObjectTree ()
   from /usr/lib/libkmailprivate.so.0
#94 0x403314e3 in KMail::ObjectTreeParser::stdChildHandling ()
   from /usr/lib/libkmailprivate.so.0
#95 0x4033163f in KMail::ObjectTreeParser::processMultiPartMixedSubtype ()
   from /usr/lib/libkmailprivate.so.0
#96 0x4033cfad in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process () from /usr/lib/libkmailprivate.so.0
#97 0x4032c795 in KMail::ObjectTreeParser::parseObjectTree ()
   from /usr/lib/libkmailprivate.so.0
#98 0x40238499 in KMReaderWin::parseMsg () from /usr/lib/libkmailprivate.so.0
#99 0x40237e13 in KMReaderWin::displayMessage ()
   from /usr/lib/libkmailprivate.so.0
#100 0x402379c9 in KMReaderWin::updateReaderWin ()
   from /usr/lib/libkmailprivate.so.0
#101 0x4023516c in KMReaderWin::update () from /usr/lib/libkmailprivate.so.0
#102 0x4039d14d in KMail::ISubject::notify ()
   from /usr/lib/libkmailprivate.so.0
#103 0x40176afc in KMMessage::updateBodyPart ()
   from /usr/lib/libkmailprivate.so.0
#104 0x4038ec19 in KMail::ImapJob::slotGetMessageResult ()
   from /usr/lib/libkmailprivate.so.0
#105 0x4039012a in KMail::ImapJob::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#106 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#107 0x41c899ba in KIO::Job::result () from /usr/lib/libkio.so.4
#108 0x41c72c1c in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#109 0x41c7411c in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#110 0x41c7756e in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#111 0x41c8b99d in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#112 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#113 0x40b72354 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#114 0x41c68fae in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#115 0x41c67ba9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#116 0x41c670c9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#117 0x41c64afb in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#118 0x41c66818 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#119 0x40b7252c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#120 0x40b7268d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#121 0x40eb0eb2 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#122 0x40b8ecd0 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#123 0x40b15bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#124 0x40b151ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#125 0x407431a3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#126 0x40b055da in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#127 0x40abec03 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#128 0x40b27f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#129 0x40b27dd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#130 0x40b15e21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#131 0x0804a0b4 in ?? ()
#132 0xbffff9d0 in ?? ()
#133 0xbffff8e0 in ?? ()
#134 0x00000000 in ?? ()
#135 0x00000000 in ?? ()
#136 0x40fb8620 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#137 0x0815a130 in ?? ()
#138 0x400076fb in _dl_unload_cache () from /lib/ld-linux.so.2
#139 0x405747f8 in __libc_start_main () from /lib/tls/libc.so.6
#140 0x40696fcc in ?? () from /lib/tls/libc.so.6
Comment 1 runevi 2004-11-12 16:26:00 UTC
I've got the same problem, with two attachments, one encrypted and one not.  It pops up two dialog boxes - and crashes if I enter my password into both OR i press cancel on the last one.

Another thing to comment on is that this was what happened when retrieving the message from an IMAP server.  It did not happen when I moved the mail from the IMAP-server onto my local machine, and tried accessing it there.
Comment 2 DragonK 2004-11-18 13:03:06 UTC
I'm experiencing the same thing, only with more (4) dialog boxes. Using an IMAP server too.

See: http://bugs.kde.org/show_bug.cgi?id=92737
Comment 3 Sebastian Sauer 2004-11-20 13:57:53 UTC
Thanks DragonK. I mark my report then as duplicate of yours.

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