Bug 44381

Summary: all of my settings for kmail disappear sometimes for no apparent reason
Product: [Unmaintained] kmail Reporter: Michael Wray <mwray>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Wray 2002-06-26 13:36:08 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.4 (using KDE 3.0.0 )
Severity:          normal
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.18-64GB-SMP
OS/Compiler notes: 

Ocassionally after a few uses (sometimes weeks sometimes days...) when I log into Kmail ALL of my settings are lost..My Identities are gone My Network setup is gone and my filters are gone...My messages and folders remain in tact...just my settings disappear. I don't kill my machine and have always closed out of all applicatios correctly...and I'm not getting any error messages from KDE other than some generic messages about an unknown K-application crashing..no memory locations..just when I close X I see that KDE is complaining that something crashed.  I expected this to be KDE server applets since I use startx so I can see those messages when I log out.  It happens more frequently when I am using KDM at runlevel 5 instead of starting X from the command line....but the errors I see on the console for some reason don't get teed into the logfiles...(at least I haven't been able to locate them in any of my logfiles..)

Is there a way for me to back up those settings until a fix occurs? (Rather than having to reenter them every time this happens...I have something like 20 mail accounts and 24 identities...(some are mail accounts forwarded to another mail account..) and about 10 or so filters...aside from sorting mail by account...(sorting mailing lists then a generic spam filter...I use REGEX matching on alot of my filters...)

I don't think I had this problem before I started using REGEX...I'm not sure though...

I'm only averageing 20 messages a day and am under a total of 4000 messages in my mail boxes. (Somewhere in the neighbor hood of 3600 messages...)  I also am using xcin..but rarely use it..but it is always running..and am wondering if this may cause any issues...

I'm sorry I don't know how to specifically force the error to happen as its only happened about 10 times and it happens so infrequently..like I said usually several weeks go by..


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Ingo Klöcker 2002-06-26 22:34:18 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 26 June 2002 15:36 mwray@hecomm.org wrote:
> Ocassionally after a few uses (sometimes weeks sometimes days...)
> when I log into Kmail ALL of my settings are lost..My Identities are
> gone My Network setup is gone and my filters are gone...My messages
> and folders remain in tact...just my settings disappear. I don't kill
[snip]

It seems KMail's config file gets deleted or corrupted every now and 
then.

> Is there a way for me to back up those settings until a fix occurs?

All settings are stored in .kde/share/config/kmailrc

[snip]
> I don't think I had this problem before I started using REGEX...I'm
> not sure though...

It's very unlikely that the usage of regex is related to the lost 
settings.

> I'm only averageing 20 messages a day and am under a total of 4000
> messages in my mail boxes. (Somewhere in the neighbor hood of 3600
> messages...)  I also am using xcin..but rarely use it..but it is
> always running..and am wondering if this may cause any issues...

What is xcin?

> I'm sorry I don't know how to specifically force the error to happen
> as its only happened about 10 times and it happens so
> infrequently..like I said usually several weeks go by..

Are you probably using ReiserFS? I ask because if your computer crashes 
then files might get corrupted when you use (an older?) ReiserFS.

Regards
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9GkFqGnR+RTDgudgRArUQAJ0VNA7Vfrk40HJ/rgJ7eUP5syfHMgCgstUr
nexPnEp/9V1fESIc3jLElWI=
=gYgV
-----END PGP SIGNATURE-----
Comment 2 Michael Wray 2002-06-27 02:02:18 UTC
On Wednesday 26 June 2002 17:34 Ingo Kl=C3=B6cker wrote:
> [snip]
>
> What is xcin?
Xcin is an alternate input method for X. It allows input of Chinese=20
characters...even works with KMail...=E4=BD=A0=E5=A5=BD=E5=90=97  ("how are=
 you?" in Chinese).

>
> > I'm sorry I don't know how to specifically force the error to happen
> > as its only happened about 10 times and it happens so
> > infrequently..like I said usually several weeks go by..
>
> Are you probably using ReiserFS? I ask because if your computer crashes
> then files might get corrupted when you use (an older?) ReiserFS.
>
Yes....It is the default with SuSE 8.0...Funny..they haven't released any=
=20
announcements about that issue..but obviously they have the bug still in=20
their kernels as I have lost my man pages to this bug..Thanks for the=20
info..one I didn't know...

I'll try backing up that file...it seems unused files don't get touched by =
the=20
bug..if they are in unused directories...
Comment 3 Ingo Klöcker 2002-06-27 23:17:20 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 27 June 2002 04:02 Michael Wray wrote:
> On Wednesday 26 June 2002 17:34 Ingo Klöcker wrote:
> > Are you probably using ReiserFS? I ask because if your computer
> > crashes then files might get corrupted when you use (an older?)
> > ReiserFS.
>
> Yes....It is the default with SuSE 8.0...Funny..they haven't released
> any announcements about that issue..but obviously they have the bug
> still in their kernels as I have lost my man pages to this
> bug..Thanks for the info..one I didn't know...
>
> I'll try backing up that file...it seems unused files don't get
> touched by the bug..if they are in unused directories...

As this is no KMail bug I close your report.

BTW you should use ext3 or xfs instead of ReiserFS. So far I didn't 
have any problems with xfs and as ext3 is based on ext2 it should also 
be pretty safe. Nevertheless regular backups are a must.

Regards
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9G50AGnR+RTDgudgRAjoxAKDcOHJpGKsIjV97aRfBLBlMJMsbGACfY0ai
kUNTwLyPK9kQ2ATSPBQlT3Q=
=1WP8
-----END PGP SIGNATURE-----