Bug 134069

Summary: kmail crash if user wait too long before entering remote wallet password to unlock pop account
Product: [Applications] kmail Reporter: rapsys <rapsys>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.9.4   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: crash_kmail_entering_password_wallet_too_late

Description rapsys 2006-09-14 15:56:10 UTC
Version:           1.9.4 (using KDE KDE 3.5.4)
Installed from:    Mandriva RPMs
Compiler:          gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk) Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --enable-ssp --disable-libssp
Thread model: posix
OS:                Linux

Hi,

I have discovered a bug in kmail.

If user have :
- setup kwalletmanadger to close itself when not used by any apps with a
special 
wallet for remote login+pass
- login with kmail auto-start (kmail was running last quit)
- user don't enter the password of remote wallet before kmail auto-mail-fetch 
(every 10min) start

The kmail completely crash (I think so, I am not sure of the scenario, but I
think 
that's the more plausible).

See next attachement kdbg output.

This bug has been reported in mandriva bugzilla as well :
http://qa.mandriva.com/show_bug.cgi?id=25721

The ~/.xsession-errors (just in case, I am not sure all is related) :
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x3c00005
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x3c01414
Comment 1 rapsys 2006-09-14 15:56:27 UTC
Created attachment 17770 [details]
crash_kmail_entering_password_wallet_too_late
Comment 2 Philip Rodrigues 2006-09-14 19:00:26 UTC
Please paste the relevant part of backtraces into the comment, as this allows the "simple dupe finder" search to work. It also allows the developers to quickly see where the crash is occurring. Thanks!

#27 0xb7baedb7 in KMFolder::open () from /usr/lib/libkmailprivate.so
#28 0xb7c05bee in KMCommand::keepFolderOpen ()
   from /usr/lib/libkmailprivate.so
#29 0xb7ce3f33 in KMCommand::slotStart () from /usr/lib/libkmailprivate.so
#30 0xb7c82a11 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#31 0xb7c832db in KMShowMsgSrcCommand::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#32 0xb5ffbd1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb630e32e in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb6017b67 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0xb601ecf3 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xb5f9edb7 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0xb5f9fc29 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0xb669e65a in KApplication::notify () from /usr/lib/libkdecore.so.4
#39 0xb5f93fab in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0xb5f50960 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
Comment 3 Philip Rodrigues 2006-09-20 12:51:43 UTC

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