[go: nahoru, domu]

Open Bug 1843164 Opened 1 year ago Updated 1 year ago

100 % CPU caused by exhaustive path in prefs.js

Categories

(MailNews Core :: Networking, defect)

Thunderbird 102
x86_64
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: Ulf.Zibis, Unassigned)

References

Details

(Keywords: perf)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

Using TB as normal.

Actual results:

From one day to another, TB consumed 100 % CPU.
It took me 4 days to find the cause, because I first thought the problem was caused by bug 1763729.

The case was, that in prefs.js one pair of the account paths was:
user_pref("mail.server.server35.directory", "/mnt/Daten/Users/ich/AppData/Roaming/Thunderbird/Profiles/9bjwyulg.default/ImapMail/CoSoCo.de@gmail.com");
user_pref("mail.server.server35.directory-rel", "[ProfD]../../../../../mnt/Daten/Users/ich/AppData/Roaming/Thunderbird/Profiles/9bjwyulg.default/ImapMail/CoSoCo.de@gmail.com");

After removing the absolute path and trunkating the relative one to:
user_pref("mail.server.server35.directory-rel", "[ProfD]ImapMail/CoSoCo.de@gmail.com");
the problem was gone.

The volume "/mnt/Daten" is a NTFS file system.
The account "CoSoCo.de@gmail.com" was long time in use and the dir parameters changed by itself for no known reason.

Expected results:

TB should not slow down with such paths, better resolve them and never set absolute paths where not necessary.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
See Also: → 760937
See Also: → 888371
Component: OS Integration → Networking
Keywords: perf
Product: Thunderbird → MailNews Core
You need to log in before you can comment on or make changes to this bug.