Closed Bug 302610 Opened 19 years ago Closed 18 years ago

Thunderbird 1.06 crashes on exit due to "empty_trash_on_exit" in prefs.js

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: pasi.keinanen, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050720 Firefox/1.0.6 (mmoy CE 1.0.6 K8B-X33)
Build Identifier: Thunderbird 1.0.6.0 official Windows32 English (1.7.10: 2005071616)

Thunderbird 1.06 crashes on exit once it has corrupted (miswritten?) it's own
prefs.js inside the active profile folder.

The crashs is reproducible and happens always.

It pertains to the following lines in the prefs.js file:

user_pref("mail.server.serverX.empty_trash_on_exit", true);

Where X can be one of several server accounts used in Thunderbird.

Setting the above lines to false will cure this particular Crash on Exit bug.

Note! The problem first appeared after a complete removal of two accounts in
Thunderbird (Account Settings / Remove Account). 

After this, the "empty_trash_on_exit" would cause crash when Thunderbird was quit.

The servers in question (in lines
"user_pref("mail.server.serverX.empty_trash_on_exit", true);") did not refer to
recently removed or non-existing accounts.

The Trash folder was intact, fully working and compacted.






Reproducible: Always

Steps to Reproduce:
0. Make sure that "Account Settings / Server Settings / Empty Trash on Exit" is
set to ON for all servers/accounts being used (preferably several accounts).
1. Manage to "corrupt" pref.js by removing some accounts (Account Settings /
Remove Account). Sorry, can't reproduce this 100% always. The file is not
visible corrupted and does not contain any oddities, illegal entries or munged
text. But it still contains a few "empty_trash_on_exit" lines.
2. Quit Thunderbird
3. See it crash
4. Set Empty_trash_on_exit -lines to "false" in pref.js and see how the Crash on
Exit is cured.

Actual Results:  
Thunderbird crashes with the Operating SYstem level error: 

"Thunderbird exe has encountered a problem and needs to close..."

Error signature is:

AppName: thunderbird.exe AppVer: 1.0.6.0 ModName: thunderbird.exe
ModVer: 1.0.6.0 Offset: 004daf6c


Expected Results:  
Thunderbird should exit cleanly and if there is an erroneous prefs.js setting,
it should try to correct it and if unable, notify the user.
can you e-mail me your prefs.js (in your user profile directory)? I suspect that
somehow deleting the accounts messed up your prefs.js in some way...
Reporter, Pasi, is MIA - "unknown user account"
QA Contact: general
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.