Closed Bug 1515198 Opened 5 years ago Closed 5 years ago

Firefox hangs for a few seconds since Firefox 63

Categories

(Firefox :: General, enhancement)

64 Branch
Desktop
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: allo, Unassigned)

Details

(Whiteboard: [fxperf])

Since Firefox 63, Firefox often hangs for a few seconds, such that I cannot scroll and the mouse cursor does not change over links. Switching tabs works sometimes and sometimes not and the menu (main menu bar) still works.

I can reproduce the Problem with Firefox 63 and 64 on almost all sites, while Firefox 62 works without any problems on all sites.
With firefox 64, often the rest of the UI hangs as well. I am not sure if this is new or I just used firefox 63 shorter (I stayed some time with 62 because of the hanging in 63, so I did not test it that long).

Could you please try to get a performance profile with the problem happens, or try to reproduce the problem while the performance profile is being registered? See https://perf-html.io/ for instructions on how to do that.

Whiteboard: [fxperf]
Flags: needinfo?(allo)

(In reply to Marco Bonardo [::mak] from comment #2)

Could you please try to get a performance profile with the problem happens, or try to reproduce the problem while the performance profile is being registered? See https://perf-html.io/ for instructions on how to do that.

I am currently testing the addon. What sensitive data is in a full report? Does it capture URLs, Input, etc. or just performance data of the renderer?

Flags: needinfo?(mak77)

it may contain urls. You can enable the checkbox to cleanup the profile.

Flags: needinfo?(mak77)

I'm trying to capture something. I am not fully sure, when a capture is useful. Does it correctly capture, when I e.g. have "keyboard lag" when typing in a textbox, too?
More and more often, I see my text only after 5-10 seconds on some websites. Not directly reproducible, but it happens often. I am not sure if it depends on the website, or if I just use some websites more often than others.

(In reply to alex from comment #5)

I'm trying to capture something. I am not fully sure, when a capture is useful. Does it correctly capture, when I e.g. have "keyboard lag" when typing in a textbox, too?

It may be useful, yes, if you notice any case where Firefox is not responsive.

Keeping this in the fxperf triage until this bug gets a profile, as it's not actionable as-is. We'll keep it in triage for another week, and then remove the fxperf tag unless a profile comes in (and then feel free to put the tag back if and when the profile is posted).

Thanks!

I am trying to get a profile, but when I start after a hang, I do not get the hang again that soon.

(In reply to alex from comment #8)

I am trying to get a profile, but when I start after a hang, I do not get the hang again that soon.

Probably best to start profiling at the start of your browsing session, and just keep it running in the background. It records performance data in a circular buffer, like an airplane blackbox. Once the hang occurs, and then finishes, that's when you should dump the profile. Does that help?

Doesn't it slow down the browser?
Then I can try.

I thought it would slow down Firefox and eat more and more memory over time.

The upload fails with "Error: xhr onerror was called, xhr.statusText: " (yes, no status text)

Saving the file to disk seems not to redact urls. I see both URLs with protocol (rather easy to redact in a text editor), but domain names without protocol as well and it doesn't seem clear at which places are possibly other identifing things. As I often have quite a few tabs open (most hibernated), it isn't that easy what data of which tabs seems to be in the dump.
Is there a standalone tool for extracting anonymous data from the file?

(In reply to alex from comment #10)

Doesn't it slow down the browser?
Then I can try.

I thought it would slow down Firefox and eat more and more memory over time.

There's a slight overhead for sampling, and a slight (but fixed) memory overhead for recording the circular buffer.

(In reply to alex from comment #11)

The upload fails with "Error: xhr onerror was called, xhr.statusText: " (yes, no status text)

Hm... have you had any success uploading any profiles?

Keeping in triage for another week since there's nothing actionable here yet.

No. I could try with a fresh profile, possibly some setting or extension is messing with the upload. On the other hand, the hang seems to be related to something in my profile, less customized profiles on other computers work fine for me. I would blame it on the extensions, if it would not have worked just fine with Firefox 62.

Maybe we should close the bug and I wait if it gets better or worse with the next releases.

Flags: needinfo?(allo)

I am resolving the bug as incomplete, but if you can provider further information that we can use to debug this, please feel free to reopen

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE

I installed Firefox 65 and it works much faster than 64 in general.
I did not encounter hangs yet. I am not 100% sure after just a day, but the problem may be resolved together with the other changes which made Firefox that much faster.

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