Closed Bug 474166 Opened 17 years ago Closed 17 years ago

Auto-compact truncates mailboxes to zero length.

Categories

(MailNews Core :: Database, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tonymec, Unassigned)

Details

(Keywords: dataloss, regression)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090116 SeaMonkey/2.0a3pre - Build ID: 20090116000450 A few hours ago I got a popup asking me if I wanted to autocompact all folders. This is a routine event, I accepted. I was surprised by how fast it said it had finished, with no progress dialog for any of the folders where I knew I had quite a number of deleted emails. After going to those folders, I was surprised to notice that "Order received" did not start at zero, and even more when trying to open a message in one of those folders gave a blank (empty) Message window. (I don't use the preview pane.) As far as I can reconstruct it, that so-called auto-compact had truncated the _mailboxes_ to zero length without changing anything in the msf files. I lost more than 400 unread bugmail this way. Before this nightly I had skipped a number of days, but the latest build I used before this one, a nightly dated 2009-01-12 and IIRC timestamped 00:05:51, did not suffer from this bug. I have seen several bugs in these last 24 hours (most of them on Thunderbird) about similar problems and often with crashes (I had no crash). I'm not sure whether or not this bug should be duped to any of them. See among others: bug 473907, bug 474091, bug 474111, bug 474132, bug 474144.
This is most likely a duplicate of bug 463907 and / or bug 4667430 - there was a fixed pushed and it will be in today's nightlies. Please can you try again with them when they are out.
Whiteboard: dupeme
(In reply to comment #1) > This is most likely a duplicate of bug 463907 and / or bug 4667430 - there was > a fixed pushed and it will be in today's nightlies. Please can you try again > with them when they are out. Today's nightlies are almost unusable for me because of bug 474193 (no CSS). I think I'll be waiting one more day.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090118 SeaMonkey/2.0a3pre - Build ID: 20090118061305 Trying this hourly where bug 474193 has been fixed. "Compact this folder" works correctly. I haven't yet been asked for auto-compact; but since auto-compact can be triggered at any time, I'm not sure how to accept without losing all mail again if the bug is _not_ fixed after all.
one would expect auto-compact to use the same compact code as file>compact
(In reply to comment #4) > one would expect auto-compact to use the same compact code as file>compact Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090118 SeaMonkey/2.0a3pre - Build ID: 20090118061305 Experiment shows that in this build, "File => Compact Folders" compacts only the current folder.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090118 SeaMonkey/2.0a3pre - Build ID: 20090118061305 Auto-compact now works OK. I tested it by repeatedly "copying" my bugmail to two new (temporary) folders then moving part (but not all) of the latters' contents to Trash until the popup appeared. After I accepted, both temporary folders' "Order Received" started at zero and the contents could be read.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Whiteboard: dupeme
You need to log in before you can comment on or make changes to this bug.