Closed Bug 474091 Opened 16 years ago Closed 15 years ago

Apparent corruption of DB, and then restoration problem

Categories

(Thunderbird :: General, defect)

x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mitra_lists, Unassigned)

Details

Attachments

(1 file)

17.07 KB, application/octet-stream
Details
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5
Build Identifier: nightly 16 Jan 08 (unable to restart tb to get this string)

This may be one or two different problems.

After updating shredder (nightly build), and then testing for a message that previously caused problems in TB (it didn't appear to cause problems any more). But I noticed when returning to machine a few hours later that almost all new messages showed just a blank image in the message pane, no text (I'm not sure if headers showed). 

It seemed that anything the application touched was corrupted, e.g. I had some folders showing new messages that had been filtered into seperate message, when I clicked on them the blank message pain showed, when I went back to the folder the message had disappeared. (itwas the only one in the folder). 

I quit thunderbird and went to an older version I knew worked - about a week old. But this showed the same problems. 

So since I only had a few new messages I decided to restore my previous Profile.
I zipped the current profile so I have a copy.
Went to Time Machine and Restored one from earlier today - probably pre-corruption (though not certainly). 
Both new and old applications then crashed on opening. 
In case this was a problem with old files + new bad ones (I don't know the internal structure of the Profile) I renamed the Profile directory, and restored again.
Same problem - neither old nor current TB applications open.
Interestingly I don't get a prompt from Crash Reporter any more - just the standard Apple crash dialogue (that sends the info to Apple).

So there may be two bugs here.
1: Something in  current nightly that corrupts the Profile
2: Problem with Time Machine not being able to restore Profile


I'm happy to help track this down.

I would really appreciate assistance to get a working version of my email back! 



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Have you checked with older Tb trunk builds?

Sounds for me to be combination of Bug 473907(seems to start from 2009/1/16 build) and existing Bug 472446(and some other "rebuild index" related bugs of Tb trunk).
If you use "auto compact" option, disable it.
If you use IMAP, and if you enable following options, disable them.
> (a) Synching&Disk Spaces/Message Syncronizing
>     Keep messages for this account on this computer
> (b) IMAP folder properties : Offlin-use
Will your problem disappear? If no, can your problem be reproduced with older Tb trunk builds?
Thanks -
- I don't use IMAP (or Newsgroups) so it might or might not be the same as Bug 473907

- As the bug above says, I can't get into TB to turn off auto-compact (but will do when the db is fixed).

Yes - the bug - the current one where it crashes on the restored data - is repeatable with older versions of TB, but doesn't appear to send a crash log. 

Do you think this is two problems - (i.e. should I post a seperate bug with being unable to restore Profile's from Time Machine ?
I've got the following errors in Console log ... and I've checked and no TB CrashReport is being created.

17/01/09 8:14:13 PM [0x0-0x5d05d].org.mozilla.thunderbird[443] Sat Jan 17 20:14:13 mitramacbookpro-4.local thunderbird-bin[443] <Error>: cmsDataProviderGetBytes : CMCloneProfileRef: returned -4204 
17/01/09 8:14:13 PM [0x0-0x5d05d].org.mozilla.thunderbird[443] Sat Jan 17 20:14:13 mitramacbookpro-4.local thunderbird-bin[443] <Error>: CMSValidateProfile : Unable to read ICC profile 
17/01/09 8:14:13 PM [0x0-0x5d05d].org.mozilla.thunderbird[443] Sat Jan 17 20:14:13 mitramacbookpro-4.local thunderbird-bin[443] <Error>: cmsDataProviderGetBytes : CMCloneProfileRef: returned -4204 
17/01/09 8:14:13 PM [0x0-0x5d05d].org.mozilla.thunderbird[443] Sat Jan 17 20:14:13 mitramacbookpro-4.local thunderbird-bin[443] <Error>: CMSValidateProfile : Unable to read ICC profile 
17/01/09 8:14:13 PM com.apple.launchd[72] ([0x0-0x5d05d].org.mozilla.thunderbird[443]) Stray process with PGID equal to this dead job: PID 444 PPID 1 crashreporter 
17/01/09 8:14:13 PM com.apple.launchd[72] ([0x0-0x5d05d].org.mozilla.thunderbird[443]) Stray process with PGID equal to this dead job: PID 444 PPID 1 crashreporter 
17/01/09 8:14:13 PM com.apple.launchd[72] ([0x0-0x5d05d].org.mozilla.thunderbird[443]) Exited with exit code: 1 
17/01/09 8:14:17 PM ReportCrash[445] Formulating crash report for process crashreporter[444] 
17/01/09 8:14:18 PM ReportCrash[445] Saved crashreport to /Users/mitra/Library/Logs/CrashReporter/crashreporter_2009-01-17-201413_mitramacbookpro-4.crash using uid: 501 gid: 501, euid: 501 egid: 501
Attached file Apple Crash report
I notice that it crashes in  _CFBundleGetLanguageSearchList + 18
(In reply to comment #4)
> Apple Crash report
> I notice that it crashes in  _CFBundleGetLanguageSearchList + 18

Problem relates to Local handling on Mac OS X?
Bugs listed in Bug 472666 : Bug 22310, Bug 441167, Bug 419220, Bug 472960
That seems strange - unless corruption has corrupted the Locale code, any idea where that is stored - is that inside the Profile - though that wouldn't explain why it crashes on restored data from TimeMachine - AND from a restored Zip file.

If it is stored OUTSIDE the profile - any hints where?
This bug really needs splitting into two - the first time Corruption, then the inability to restore with Time Machine (or Zip) - I've posted the restoration bug as Bug 474144
Mitra, the information here isn't enough to diagnose or take action as far as I can tell.  If you are still able to reproduce, please reopen with more information about how to reproduce.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Version: unspecified → 3.0
The bug is almost a year old - far too long to try and reproduce.
Resolution: INCOMPLETE → FIXED
Resolution: FIXED → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: