Bug 195575

Summary: Crash when access to Maildir on NFS is delayed
Product: [Applications] kmail Reporter: st_maker-kde
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: christophe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description st_maker-kde 2009-06-07 17:25:13 UTC
Version:            (using KDE 4.2.4)
Compiler:          gcc-4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

KMail is configured to store the mails in a Maildir folder on a NFS share on my server. As the server spins off the harddisk after a timeout there is sometimes a delay when accessing the Maildir folder until the harddisk is available.

When this happens I see sometimes a crash of KMail. I never saw this crash when the harddisk was already spinning. And I never saw this crash with KDE <= 4.2.2 (not sure about 4.2.3).

The crash message states that the messages could not be added to the folder. Maybe there is not enough free space

The crash message in german:
In KMail ist ein schwerwiegender Fehler aufgetreten. Das Programm wird beendet.
Die Fehlermeldung lautet:
Die Nachricht kann nicht zu diesem Ordner hinzugefügt werden. Vielleicht ist nicht mehr genug Platz auf dem Datenträger verfügbar.
Comment 1 Christophe Marin 2009-07-06 19:03:53 UTC
Hi,

Do you have a backtrace for this crash ? 

Thanks.
Comment 2 st_maker-kde 2009-07-07 19:12:54 UTC
Hi,

sorry, no. I think I need to enable debug sysmbols at compile time to get a backtrace, right?
Comment 3 st_maker-kde 2009-08-18 21:44:59 UTC
I found out that when I change the mount option from 'soft,timeo=10' to 'hard' then I don't see this error anymore. Seems that with the soft option something times out even the timeout is set to 10 seconds and it doesn't take that long. With hard it waits until the harddisk is ready.
Comment 4 Christophe Marin 2009-10-23 14:49:36 UTC
We can consider this issue as resolved, correct ?
Comment 5 st_maker-kde 2009-10-24 16:48:22 UTC
Yes, it is resolved with changing the NFS option to 'hard'.

Thanks!