Bug 195222

Summary: KMail startup crashes when imap password is incorrect
Product: [Unmaintained] kmail Reporter: Rik <rikratva>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rik 2009-06-04 16:10:20 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I changed my IMAP password on the remote host. Now, when I start Kontact or KMail, it crashes because the password in KWallet is incorrect.

Command line output:

rik@rkpc:~$ kmail
kmail(19461) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"
kmail(19461) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
kmail(19461)/kmail (storage internals) KMFolderIndex::openInternal: KDE_fopen(indexLocation()= "/home/rik/.kde/share/apps/kmail/mail/.outbox.index" , "r+") == mIndexStream ==  0x8e2b768
kmail(19461)/kmail (storage internals) KMFolderIndex::openInternal: KDE_fopen(indexLocation()= "/home/rik/.kde/share/apps/kmail/mail/.drafts.index" , "r+") == mIndexStream ==  0x9215f88
kmail(19461)/kmail (storage internals) KMFolderIndex::openInternal: KDE_fopen(indexLocation()= "/home/rik/.kde/share/apps/kmail/mail/.templates.index" , "r+") == mIndexStream ==  0x92194c8
kmail(19461) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().
rik@rkpc:~$ kmail(19461)/kmail (storage internals) KMFolderIndex::openInternal: KDE_fopen(indexLocation()= "/home/rik/.kde/share/apps/kmail/mail/.inbox.index" , "r+") == mIndexStream ==  0x9aa0740
kmail(19461)/kmail (storage internals) KMFolderMaildir::reallyDoClose: fclose(mIndexStream =  0x9aa0740 )
kmail(19461)/kmail (storage internals) KMFolderIndex::openInternal: KDE_fopen(indexLocation()= "/home/rik/.kde/share/apps/kmail/imap/.372518085.directory/.INBOX.index" , "r+") == mIndexStream ==  0x9be9fb8
kmail(19461)/kmail (storage internals) KMFolderIndex::openInternal: KDE_fopen(indexLocation()= "/home/rik/.kde/share/apps/kmail/mail/.inbox.index" , "r+") == mIndexStream ==  0x9c64d10
kmail(19461)/kmail (storage internals) KMFolderMaildir::reallyDoClose: fclose(mIndexStream =  0x9c64d10 )
ASSERT: "!mSlave" in file /build/buildd/kdepim-4.2.2/kmail/imapaccountbase.cpp, line 304
*** KMail got signal 6 (Crashing)
KCrash: Application 'kmail' crashing...
sock_file=/home/rik/.kde/socket-rkpc/kdeinit4__0

Workaround: I updated the password directly in KWallet, so I can use KMail again.
Comment 1 Dario Andres 2009-06-04 18:01:30 UTC
Looks the same as bug 185141 ( bug 168662 ). Marking as duplicate. Thanks

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