Bug 93976

Summary: Crash regarding gpg-encrypted emails and passphrase-asking dialog
Product: [Unmaintained] kmail Reporter: Iván Sánchez Ortega <ivansanchez>
Component: encryptionAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Iván Sánchez Ortega 2004-11-26 15:48:37 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages

Hello there,

I discovered this one while reading some of my own gpg-encrypted emails (and entering my passphrase). In order to reproduce the bug:

- Select a pgp-encrypted email, so you are asked for your passphrase.
- While the "enter passphrase" dialog is present, click on a non-gpg-encrypted email.
- Enter the passprhase, click OK.
- Crash!

My guess: the en/decryption plug-in does tries to decrypt the non-gpg-encrypted email (last selected).

Quik and dirty proposed fix: make the "enter passphrase" dialog steal focus.


Backtrace follows:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 1747)]
[KCrash handler]
#5  0x421e9b93 in KMail::ObjectTreeParser::parseObjectTree ()
   from /usr/lib/libkmailprivate.so.0
#6  0x42111619 in KMReaderWin::parseMsg () from /usr/lib/libkmailprivate.so.0
#7  0x42110f93 in KMReaderWin::displayMessage ()
   from /usr/lib/libkmailprivate.so.0
#8  0x42110b49 in KMReaderWin::updateReaderWin ()
   from /usr/lib/libkmailprivate.so.0
#9  0x42117cba in KMReaderWin::qt_invoke () from /usr/lib/libkmailprivate.so.0
#10 0x40e7f52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0x40e7f354 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0x411bf27b in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#13 0x40ea0d42 in QTimer::event () from /usr/lib/libqt-mt.so.3
#14 0x40e22bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#15 0x40e221ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#16 0x40a52da3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#17 0x40e12405 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#18 0x40dcbc4b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#19 0x40e34f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#20 0x40e34dd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#21 0x40e22e21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#22 0x080590fb in ?? ()
#23 0xbffffa50 in ?? ()
#24 0x00000001 in ?? ()
#25 0x00000001 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000001 in ?? ()
#29 0x08066480 in _IO_stdin_used ()
#30 0x00000000 in ?? ()
#31 0x08065976 in _IO_stdin_used ()
#32 0x08065962 in _IO_stdin_used ()
#33 0xbffffa78 in ?? ()
#34 0x4023d2ee in operator new () from /usr/lib/libstdc++.so.5
#35 0x402a5dc6 in __libc_start_main () from /lib/libc.so.6
#36 0x080588b1 in ?? ()
Comment 1 Stephan Binner 2005-01-05 15:50:19 UTC

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