Closed Bug 1872620 Opened 2 years ago Closed 2 years ago

JIT freezes during startup and then occasionally while using, caused by recurring event

Categories

(Thunderbird :: General, defect)

Thunderbird 115
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1679132

People

(Reporter: okias, Unassigned)

References

Details

(Keywords: dupeme, perf)

Attachments

(2 files)

Steps to reproduce:

System: Debian 13 (x86_64), latest Thunderbird (for testing, experimental repository)

Regression: worked well before 10x.x series for sure, cannot pinpoint exactly because the issue was happening before only sometimes.

  1. Start Thunderbird (two accounts, after issues I setup one to manual fetching)

Actual results:

  1. Thunderbird is unresponsive for few seconds (sometimes survives, sometimes Waylands compositors kill it)
  2. use is fine
  3. freezes again in any random situation (writing message, browsing emails)

I tried safe-mode with same result.

Expected results:

No intermittent freezes.

Versions: 10x.x - 121.0b3

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Version: Thunderbird 115 → Thunderbird 121

Other recent linux perf issues https://mzl.la/3RFldzb

A performance profile will be useful https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance.
You might need to Install Thunderbird from https://www.thunderbird.net/ to get the symbols.

Keywords: perf
Version: Thunderbird 121 → Thunderbird 115

First test:

  1. Downloaded https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/121.0b3/linux-x86_64/en-US/thunderbird-121.0b3.tar.bz2
  2. copied the profile from my default profile into the beta one

I see the delay, but it's like 2 seconds instead of 15 - 30s, but it's visible and there.

The profiling is problematic, even ./thunderbird --devtools won't allow me start profiling in right time to catch the initial freeze.

I failed to mention, profiling on startup can be done with instructions at https://profiler.firefox.com/docs/#/./guide-startup-shutdown

Component: Untriaged → General

So far I haven't found way to anonymize the profiling data, so most of the time it's around these calls.

8s with binary from Thunderbird, xx s from Debian package.

Thanks for the screen shot of your performance profile. I see calendar, and we do have calendar issues. You will want to check your recurring tasks and appointments, and put reasonable end dates on them.

The other possibility is you use https://mozilla.github.io/mozregression/ to find the regression range.

Severity: -- → S4
Flags: needinfo?(david)
Summary: JIT freezes during startup and then occasionally while use → JIT freezes during startup and then occasionally while use (wayland?)
See Also: → 1867219

Please let us know what you find.

After dropping one forever recurring everyday event Thunderbird got better, so I assume it's directly related to the calendar.

Flags: needinfo?(david)

Thanks. In that case it will be one of these https://mzl.la/42nyb9T

Flags: needinfo?(david)
Keywords: dupeme
Summary: JIT freezes during startup and then occasionally while use (wayland?) → JIT freezes during startup and then occasionally while using, caused by recurring event

Yes, feel free to mark it as a duplicate.

Flags: needinfo?(david)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1679132
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: