Bug 25702

Summary: kmail crashes when home disk full
Product: [Applications] kmail Reporter: G Delafond <g.delafond>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.2   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description G Delafond 2001-05-14 11:56:50 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.2 (using KDE 2.1.2 )
Severity:          normal
Installed from:    Linux-Mandrake 8.0 i586
Compiler:          gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
OS:                Linux 2.4.3-20mdk i686
OS/Compiler notes: 

When my home partition is full if I try to delete a message or some other operation which needs some disk space kmail disappears with no explanation.
And my work (like deleting messages) is lost.

Is it possible to verify before these operations to verify disk space and send un full disk message instead of crashing ?

Many thanks

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Michael Haeckel 2001-05-15 20:38:27 UTC
On Monday 14. May 2001 13:56 g.delafond@medsyn.fr wrote:
>
> When my home partition is full if I try to delete a message or some other
> operation which needs some disk space kmail disappears with no
> explanation. And my work (like deleting messages) is lost.
>
> Is it possible to verify before these operations to verify disk space and
> send un full disk message instead of crashing ?

KMail does not crash but simply exit abnormally to prevent any possbily data 
loss.
Comment 2 Jaakko Holster 2005-04-04 09:04:51 UTC
I saw kmail's crash dialog on the screen today morning. When I tried to restart kmail, a dialog appeared saying "inbox index should be re-generated" etc. Well, I hit OK and it crashed again. Ah, then I found that my disk was out of space. Freed some space and kmail was happily running again. No mail loss since they were safely stored in the IMAP server.

Why did kmail crashed? Shouldn't it instead notice user "sorry, your disk is full" and/or quit?

I'm using kmail 1.8 (KDE 3.4) and an IMAP account.