Closed Bug 337815 Opened 14 years ago Closed 14 years ago

Messages don't show; summary-file increases every time Tb opens


(Thunderbird :: Mail Window Front End, defect, critical)

Windows XP
Not set


(Not tracked)



(Reporter: rvgas, Assigned: Bienvenu)


(Keywords: fixed1.8.0.7, fixed1.8.1, verified1.8.1.3)


(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20060426 Firefox/
Build Identifier: Mozilla Thinderbird version / (20060308)

First issue noticed: I downloaded my email, nothing showed up in the inbox, though I could see the indicater that it was downloading 33 messages.
I could not retrace these after that, only headers I found but the message itself did not show.
After that:
Whenever I open Thinderbird the inbox will build a summary file. Nothing is shown in the message or subject pane, only after switching to another box (Send) and back it will show the headers, or will start rebuild the summaryfile again and then after another sequence it will show the the headers.
Clicking on a header gives an empty message pane, at this moment it reads in the bottom right corner that there are 31.778 mails, but i am certain there can be only about 2.500 max. This figure increases with approx. 2,500 everytime a summary file is build, everytime i open Thinderbird.

I tried to uninstall Tb, then download a new, latest version, restart, install and the same happends again.

Reproducible: Always

Steps to Reproduce: TB
2.Get mail or click inbox send
4. click inbox
 only now the headres show, but the message is empty.

Actual Results:  
The problem happends every time on one laptop. 
Another laptop, with the same software was used to compare all setting side-by -side to get identical settings.

Expected Results:  
The affected laptop did not show any of the messages.

show the message
Do you have any extensions installed?  If so, do you see the behavior after starting TB in Safe Mode?

Is this for POP mail or IMAP?  If the former, have you ever compacted the folders?  (This rewrites the mbox files without the deleted messages in place.)
With a very large Inbox such as you report, there could be a problem here.  What is the size of the Inbox mail file now (before compacting)?
Summary: Messages don´t show-summary-file increases every time Tb opens → Messages don't show; summary-file increases every time Tb opens
Thanks for your remarks,

I compacted the inbox folders,which went down from 155mB to 125mB
No extensions as i know of, it was happening in the POP3 inbox.

Problem is solved by experimenting with replacing files in folders and back again.
Assignee: mscott → bienvenu
Ever confirmed: true
Attached patch proposed fixSplinter Review
when we encountered a corrupt db, we were marking it invalid, but the code that recreates the new db from the corrupt one was not setting the version correctly, so that we thought the new db was corrupt, and regenerated it, forever. And we weren't clearing the total and unread counts when creating the new db either.
Attachment #229361 - Flags: superreview?(mscott)
this patch is for 2.0 - it's also part of a larger patch I'm working on for the trunk that allows you to rebuild summary files from the folder properties dialog.
Attachment #229361 - Flags: superreview?(mscott) → superreview+
fixed on trunk and branch
Closed: 14 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Comment on attachment 229361 [details] [diff] [review]
proposed fix

this is a very annoying problem for users, and a frequent bug dup/tech support question.
Attachment #229361 - Flags: approval1.8.0.7?
this is an oft-duped bug, and a real pain...
Flags: blocking1.8.0.7?
Flags: blocking1.8.0.7? → blocking1.8.0.7+
Comment on attachment 229361 [details] [diff] [review]
proposed fix

approved for 1.8.0 branch, a=dveditz for drivers
Attachment #229361 - Flags: approval1.8.0.7? → approval1.8.0.7+
landed on branch
Keywords: fixed1.8.0.7
Rob: Can you try the build in this directory ( and confirm that this addresses your issue?
(In reply to comment #5)
> fixed on trunk and branch
David, can the patch produce Bug 351685 or can expose problem of Bug 351685? 
I was not able to reproduce bug 351685, at least on a 2.0 build on the mac. I'll try trunk and windows...
Verified fixed i made several tests to reproduce this bug with the STR from comment #0 works fine for me and was not able to reproduce this bug.

-> adding verified keyword
Build: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv: Gecko/20070326 Thunderbird/ Mnenhy/ ID:2007032620 
Keywords: verified1.8.1.3
You need to log in before you can comment on or make changes to this bug.