[Bug 161259] New: Kmail crashes and renders maildirs inaccessible (possibly NFS related)

Alexander Borghgraef Alexander.Borghgraef at pandora.be
Fri Apr 25 13:04:16 BST 2008

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Kmail crashes and renders maildirs inaccessible
                    (possibly NFS related)
           Product: kmail
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: Alexander.Borghgraef pandora be

Version:            (using KDE 3.5.9)
Installed from:    Fedora RPMs
Compiler:          gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj- --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
OS:                Linux

Ever since upgrading from Fedora 6 to Fedora 8, kmail has been crashing a lot. It runs fine for some time, but after a while when opening a folder or subfolder, I get an error popup of the type:

  Error opening /home/myhome/Mail/sent-mail/cur; either this is not a valid maildir folder, or you do not have   
  sufficient access permissions.

Followed by this popup window: 

  KMail encountered a fatal error and will terminate now. The error was: Could not sync maildir folder.

And then KMail crashes. The sent-mail directory is an example, it happens with other directories too. The nasty thing is that the directory involved in the crash is rendered inaccessible. This is for instance what I get in konsole when running ls on an offending directory:

  myloginname mycomputer:~$ ls -l Mail/Conferences/
  ls: cannot access Mail/Conferences/cur: No such file or directory
  total 8
  d????????? ? ?        ?          ?                ? cur
  drwx------ 2 myloginname slocate 4096 2005-08-16 15:36 new
  drwx------ 2 myloginname slocate 4096 2008-04-25 12:13 tmp

In some cases, I can cd into the directory and then it's back to normal again, in several recent cases the damage was permanent, and I needed to restore it from backup. One possible cause for this could be that my home directory is located on a remote NFS server, though I have no idea why this should be. I'm using kmail 1.9.9 in kontact 1.2.9, with kde 3.5.9-5.fc8 on Fedora 8, with kernel . This is pretty bad for me, luckily I've backed up Mail/

More information about the Kdepim-bugs mailing list