Bug 185865

Summary: zombie message if KDE session was ended with Alt+Ctr+Backspace
Product: [Unmaintained] kmail Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kollix
Priority: NOR    
Version: 1.9.10   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screen shot

Description Toralf Förster 2009-03-01 11:18:22 UTC
Version:           1.9.10 (using 3.5.10, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.27-gentoo-r9

I a KDE session is finished at the hard way and KMail was running before I have after the next login within one of my folders a message with is empty, has "No subject" as a subject, has an unknown sender and 01.01.1970 00:59 am as a date and an attachment size of 8.2 KB.
Howver the message is empty (View -> see message code). Forward and/or reply didn't show any content of that message too.

Attached is a screenshot of what I mean (this example has a message within the folder "spam").

tfoerste@n22 ~ $ ls -lR ~/Mail/.inbox.directory/spam
/home/tfoerste/Mail/.inbox.directory/spam:
total 12
drwx------ 2 tfoerste users 4096 Mar  1 10:34 cur
drwx------ 2 tfoerste users 4096 Feb 24  2006 new
drwx------ 2 tfoerste users 4096 Mar  1 10:19 tmp

/home/tfoerste/Mail/.inbox.directory/spam/cur:
total 0

/home/tfoerste/Mail/.inbox.directory/spam/new:
total 0

/home/tfoerste/Mail/.inbox.directory/spam/tmp:
total 0
Comment 1 Toralf Förster 2009-03-01 11:19:15 UTC
Created attachment 31712 [details]
screen shot
Comment 2 Jaime Torres 2009-03-04 13:30:51 UTC
Anything strange could happen to an application data when the application is killed suddenly, without time to do anything with the data, as for example, when the X server dissapears.
Comment 3 Martin Koller 2009-09-27 22:29:17 UTC
You need to recreate the index of the folder (right click on the folder -> properties -> maintenance).
But as said above: hard killing an app can lead to anything.
Comment 4 Toralf Förster 2009-09-28 10:53:31 UTC
(In reply to comment #3)
> You need to recreate the index of the folder (right click on the folder ->
> properties -> maintenance).
Probably a KDE4 feature ?
Comment 5 Martin Koller 2009-09-28 11:00:54 UTC
Yes, index recreation via right mouse popup is a KDE4 feature.
In KDE3 you can manually remove the .index files when kmail is stopped, then the index will be recreated on kmail start.