Bug 49518 - Crash when moving messages to folders
Summary: Crash when moving messages to folders
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.4.3
Platform: Mandrake RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-22 02:53 UTC by ffraley
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ffraley 2002-10-22 02:53:42 UTC
Version:           1.4.3 (using KDE KDE 3.0.3)
Installed from:    Mandrake RPMs
OS:          Linux

A.  When moving messages from Inbox to folder KMail usually crashes (closes abruptly). Since I am often moving 10-20 messages at a time to a folder, I am not certain whether data loss is occurring but it does not appear to be (BUT SEE "B" BELOW).  Happens whether dragging and dropping or selecting destination folder through right-click menu.  Crash occurs several beats after move seems to be completed, just about the time I would be selecting another message at an unhurried pace.  Backtrace included.

B.  When reopened, and sometimes if no crash occurs, the next header selected will change to "No Subject" and the message will appear to contain no data.  I am certainly losing emails here. 

	I have not tried to reproduce this on another machine.	You may want to split this to two bugs, but they both started happening at the same time for me.  

Fred

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x41453739 in wait4 () from /lib/i686/libc.so.6
#0  0x41453739 in wait4 () from /lib/i686/libc.so.6
#1  0x414d0340 in sys_sigabbrev () from /lib/i686/libc.so.6
#2  0x412b6a73 in waitpid () from /lib/i686/libpthread.so.0
#3  0x409f4f55 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
Comment 1 ffraley 2002-10-22 14:31:41 UTC
Next day: 
	Following dialog box when opening KMail: 
 
The directory ~/KMail exists.  From now on, KMail uses the directory ~/Mail 
for its messages. 
 
KMail can move the contents of the directory ~/KMail into Mail, but this will 
replace existing files with the same name inthe directory ~/Mail (e.g. inbox). 
 
Should KMail move the mail folders now? 
 
Yes/No 
Comment 2 Ingo Klöcker 2002-10-23 00:23:26 UTC
Subject: Re:  New: Crash when moving messages to folders

On Tuesday 22 October 2002 02:53, ffraley@apk.net wrote:
> B.  When reopened, and sometimes if no crash occurs, the next header
> selected will change to "No Subject" and the message will appear to
> contain no data.  I am certainly losing emails here.

The index files of the folders where this problem occurs are corrupted. 
You should delete them (while KMail is not running). They are called 
.<foldername>.index* where <foldername> is the name of the 
corresponding folder.

> (no debugging symbols found)...(no debugging symbols found)...
> 0x41453739 in wait4 () from /lib/i686/libc.so.6
> #0  0x41453739 in wait4 () from /lib/i686/libc.so.6
> #1  0x414d0340 in sys_sigabbrev () from /lib/i686/libc.so.6
> #2  0x412b6a73 in waitpid () from /lib/i686/libpthread.so.0
> #3  0x409f4f55 in KCrash::defaultCrashHandler(int) ()
>    from /usr/lib/libkdecore.so.4

This backtrace doesn't tell us anything since all important information 
is missing. If possible please compile KMail configured with the 
- --enable-debug=full option.

Maybe the crashes are caused by a corrupt index. You should try if 
deleting the index of the KMail folder helps (you should probably make 
a backup of the index before you try this). But before you try this 
radical method this you should try if copying all messages from KMail 
to a new (preferably maildir) folder helps. If this works you should 
delete the old KMail folder and then rename the new folder.

Regards,
Ingo

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

iD8DBQE9tc51GnR+RTDgudgRAooiAKCdIxUgigH066ZDFfsL9SDvt6IYWACdFpNX
z+ZsfVhVxBHpYFO56Wgj97s=
=KeZ7
-----END PGP SIGNATURE-----

Comment 3 Till Adam 2003-05-26 19:00:04 UTC
Are you still seeing these crashes with kmail 1.5.2? 
Comment 4 ffraley 2003-05-27 00:52:17 UTC
No, I've not had it in a while, but I did have to delete the index to get rid of the problem, 
and again about a month later. 
Comment 5 Till Adam 2003-05-27 08:49:53 UTC
*** Bug has been marked as fixed ***.