After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 102937 - Deleting messages corrupts files
Deleting messages corrupts files
Status: VERIFIED INCOMPLETE
Product: balsa
Classification: Other
Component: general
2.0.x
Other other
: Normal major
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-09 13:31 UTC by Laurent Duperval
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Normal message view (55.97 KB, image/png)
2003-01-09 14:10 UTC, Laurent Duperval
Details
Incorrect headers appear (79.55 KB, image/png)
2003-01-09 14:11 UTC, Laurent Duperval
Details
The message I tried to delete which corrupted the Trash (80.99 KB, image/png)
2003-01-09 14:15 UTC, Laurent Duperval
Details

Description Laurent Duperval 2003-01-09 13:31:32 UTC
Specifically, I had two cases where deleting a message corrupted the 
mail file. In one case, all messages after the one deleted had parts of 
the previous message embedded in it. In the second instance, I went to 
the Trash folder and I go a message saying that my trash folder wasn't 
a mail folder. So I looked at its contents and all the headers except the 

Status: RO

were stripped (including the ^From... line) from the message in the file. 
(I'm on MDK 9.0 if that matters any).

I have not found a way to reliably reproduce this.
Comment 1 Laurent Duperval 2003-01-09 14:10:58 UTC
Created attachment 13443 [details]
Normal message view
Comment 2 Laurent Duperval 2003-01-09 14:11:49 UTC
Created attachment 13444 [details]
Incorrect headers appear
Comment 3 Laurent Duperval 2003-01-09 14:15:47 UTC
Created attachment 13445 [details]
The message I tried to delete which corrupted the Trash
Comment 4 Laurent Duperval 2003-01-09 14:16:23 UTC
I'm attaching snapshots of what my messages look like. Notice that the
first snapshot is normal. In the second, some headers start to appear
that shouldn't be there and the third message is the one I tried to
delete which corrupted the Trash.

I'm thinking it has something to do with it.
Comment 5 Carlos Morgado 2003-01-12 21:23:35 UTC
Are you using local mboxes or IMAP ?
The Trash is not a mailbox message indicates the file is nothing like
what balsa is expecting to find ie, a file when it's looking for a MH
or vice versa
Comment 6 Laurent Duperval 2003-01-13 13:33:22 UTC
I'm using local mailboxes. Like I said, the problem with the Trash was
that all of the headers of the first message in the file were missing.
To me, it means that when I deleted the message, Balsa incorrectly
inserted the information in the Trash folder. It copied the message
body and the status but did not copoy the rest of the headers. Maybe
that's why headers started appearing in the Inbox. I really don't know.
Comment 7 Kjartan Maraas 2003-10-05 19:28:54 UTC
Is major high enough for data corruption issues?
Comment 8 Carlos Morgado 2003-10-05 22:37:03 UTC
Laurent, did you ever see this again ? I can only see this happening
in 2 ways, one is major memory corruption coming from part of balsa,
the other is something touching the origin mailbox and changing the
message offsets ever so slightly. This would mean locking is broken.
Comment 9 Laurent Duperval 2003-10-06 11:16:30 UTC
Hmm, just got a wake up call and I see I never followed up. Well,
because of the corruption problem, I never used balsa. Since I
couldn't be sure my data would remain correct, I had to use another
client.
Comment 10 Carlos Morgado 2004-07-04 23:09:45 UTC
Untreceable sadly