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.
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-220.127.116.11/jre --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
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
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 18.104.22.168-64.fc8 . This is pretty bad for me, luckily I've backed up Mail/
Update: last time I had an inaccessible directory I couldn't cd into, the problem was resolved without taking any action after about 1h. Could be some sort of sync problem between the file server and my client pc, but the only program affected by it is kmail, so it's still a kmail bug as far as I'm concerned.
*** Bug 161259 has been marked as a duplicate of this bug. ***
This looks like a problem on the file system, not a kmail.
d????????? ? ? ? ? ? cur
it means that the file system is corrupted but probably it is related to an hardware problem.
Can you set up a new hard drive on the NFS server and be sure that your connection is good?
Yes, I've been looking around, and it was most likely an NFS synchronization problem (asked about it on the NFS mailing list). I'm not the sysadmin on this system, so I can't test it, but the problem has disappeared the past months, so I think this bug can safely be closed.
Thanks for your feedback Alexander! :-)