Open Bug 1962981 Opened 14 days ago Updated 11 days ago

Thunderbird shutdown never finishes if pref browser.cache.disk.enable ist set to false and privacy.sanitize.sanitizeOnShutdown and privacy.clearOnShutdown.cache are set to true

Categories

(Thunderbird :: General, defect)

Thunderbird 128
Desktop
Windows
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: vitusb, Unassigned)

Details

Attachments

(1 file)

Attached image bug_id-1806831_01.jpg

Hello,

i hav a resurrection of bug_id 1806831 in TB v128.9.2.0:

https://bugzilla.mozilla.org/show_bug.cgi?id=1806831

(see ScreenShot).

Steps to reproduce:

When pref "browser.cache.disk.enable" ist set to "false" ...
... and ...
pref "privacy.sanitize.sanitizeOnShutdown" is set to "true"
... and ...
pref "privacy.clearOnShutdown.cache" is set to "true".

Actual results:

Continues to run under background processes (see ScreenShot).

**Workaround is to set pref "browser.cache.disk.enable" to "true": **

  • pref("browser.cache.disk.enable", true);

... and leave "privacy.sanitize.sanitizeOnShutdown" and "privacy.clearOnShutdown.cache" untouched (both: "true").

Expected results:

TB should have ended himself completely ...

Does this also reproduce in Firefox, or just thunderbird?
I set these prefs in Firefox 137 on Windows, and was able to shutdown without any issues.

Flags: needinfo?(stglow)

(In reply to Valentin Gosu [:valentin] (he/him) from comment #1)

Does this also reproduce in Firefox, or just thunderbird?
I set these prefs in Firefox 137 on Windows, and was able to shutdown without any issues.


Hello,
excuse me i forgot to mention the used Thunderbird version; we're using for both FF/TB-releases the ESR-builds:

Thunderbird v128.9.2.0 x86 ESR-Release, Firefox x64 128.9.0 ESR-Release.

Does this also reproduce in Firefox, or just thunderbird?

I've not tested the three prefs under my FF-release yet.
I don't know if the code-base is 100% identical (comm-central), maybe it's an x86-related issue under Windows.

I wanted to file that issue, because the error is nearly identical to: https://bugzilla.mozilla.org/show_bug.cgi?id=1806831

Best regards ...

Flags: needinfo?(stglow)
Summary: Firefox shutdown never finishes if pref browser.cache.disk.enable ist set to false and privacy.sanitize.sanitizeOnShutdown and privacy.clearOnShutdown.cache are set to true → Thunderbird shutdown never finishes if pref browser.cache.disk.enable ist set to false and privacy.sanitize.sanitizeOnShutdown and privacy.clearOnShutdown.cache are set to true
Component: Networking: Cache → General
Product: Core → Thunderbird
Version: Firefox 128 → Thunderbird 128

(In reply to [:vitusb] from comment #2)

(In reply to Valentin Gosu [:valentin] (he/him) from comment #1)

Does this also reproduce in Firefox, or just thunderbird?
I set these prefs in Firefox 137 on Windows, and was able to shutdown without any issues.


Hello,
excuse me i forgot to mention the used Thunderbird version; we're using for both FF/TB-releases the ESR-builds:

Thunderbird v128.9.2.0 x86 ESR-Release, Firefox x64 128.9.0 ESR-Release.

Does this also reproduce in Firefox, or just thunderbird?

I've not tested the three prefs under my FF-release yet.
I don't know if the code-base is 100% identical (comm-central), maybe it's an x86-related issue under Windows.

I wanted to file that issue, because the error is nearly identical to: https://bugzilla.mozilla.org/show_bug.cgi?id=1806831

Best regards ...

I mistakenly assigned this issue to Firefox, because i used the "clone bug"-function above :-( ...
This BugID should be assigned to "Thunderbrid" and its cache- / cache-config logic.

Best regards ...

(In reply to [:vitusb] from comment #3)

(In reply to [:vitusb] from comment #2)

(In reply to Valentin Gosu [:valentin] (he/him) from comment #1)

Does this also reproduce in Firefox, or just thunderbird?
I set these prefs in Firefox 137 on Windows, and was able to shutdown without any issues.


Hello,
excuse me i forgot to mention the used Thunderbird version; we're using for both FF/TB-releases the ESR-builds:

Thunderbird v128.9.2.0 x86 ESR-Release, Firefox x64 128.9.0 ESR-Release.

Does this also reproduce in Firefox, or just thunderbird?

I've not tested the three prefs under my FF-release yet.
I don't know if the code-base is 100% identical (comm-central), maybe it's an x86-related issue under Windows.

I wanted to file that issue, because the error is nearly identical to: https://bugzilla.mozilla.org/show_bug.cgi?id=1806831

Best regards ...

I mistakenly assigned this issue to Firefox, because i used the "clone bug"-function above :-( ...
This BugID should be assigned to "Thunderbrid" and its cache- / cache-config logic.

Best regards ...

Here a quick response:
on Firefox x64 128.9.0 ESR-Release i cannot reproduce this issue (x86 version: NOT TESTED).

I've used in both products a policies.json-file to enforce some policies. so ...

  • This is only available in FF:
	"SanitizeOnShutdown": {
		"Cache": true,
		...

I think policies are prioritized over prefs in "firefox.cfg" or "thunderbird.cfg" and all 3 prefs in TB were set in "thunderbird.cfg". In FF "SanitizeOnShutdown.Cache" (see above) is set in "policies.json", "browser.cache.disk.enable" is set in user "prefs.js".

The worst thing is, that i cannot reproduce the issue here on my local Windows 10 x64 - machine. The issue raised on a Windows 11 x64 System. On that Machine, the workaround ( pref("browser.cache.disk.enable", true); ) worked for me.

The "thunderbird.cfg" is a complex JavaScript-Code with an observer for activating addons later, when AddonManager is up. I do also a "process.run" in order to preconfigure LDAP-attributes. I'm utilizing async functions, using promises with ".then-evaluations" and so on ... but there are no relevant errors in TB-console.

Hmm, needs more investigation ...

Best regards ...

Tried it on Thunderbird Daily (on linux), and it shuts down nicely.

WFM also daily 2025-04-30 and 2025-05-01 on Mac

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: