Open Bug 1629734 Opened 6 years ago Updated 1 year ago

Firefox Nightly stops loading new sites, and extensions crash, after browsing for several hours

Categories

(WebExtensions :: General, defect, P3)

77 Branch
defect

Tracking

(firefox76 wontfix, firefox77 wontfix, firefox78 fix-optional)

Tracking Status
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fix-optional

People

(Reporter: u659195, Unassigned)

References

Details

Attachments

(3 files)

Attached image aboutperformance.png

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15 Epiphany/605.1.15

Steps to reproduce:

I simply browsed for several hours, opening a fair amount of links in new tabs over time.

Actual results:

Firefox stops opening new links - the loading animation in the place of the favicon is grey and never turns to the blue dot that indicates it's actually rendering the page.
When switching to a tab that is loading, there is no status message in the bottom left such as "Looking up x..." or "Fetching data from ..."
All extensions crash and stop working/responding. Dark Reader for example turned all my pages white again, while bitwarden lost its popup.

When opening about:performance, the top item is Nightly, and in it, its entirety is attributed to "subprocess_worker_unix.js".

This has been going on for a couple of months for me, I think, on Fedora 31.

Expected results:

Firefox should be able to keep on browsing indefinitely.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Product: Firefox → WebExtensions

The issue is resolved after a restart of Firefox, but reoccurs eventually.

Could you please provide a list of the extensions you have installed?
Thank you

Flags: needinfo?(nikola.tss)

(In reply to Miruna Curtean from comment #3)

Could you please provide a list of the extensions you have installed?
Thank you
Yes, here they are:
https://addons.mozilla.org/en-GB/firefox/addon/ageless/
https://addons.mozilla.org/en-GB/firefox/addon/auto-tab-discard/
https://addons.mozilla.org/en-GB/firefox/addon/clearurls/
https://addons.mozilla.org/en-GB/firefox/addon/bitwarden-password-manager/
https://addons.mozilla.org/en-GB/firefox/addon/decentraleyes/
https://addons.mozilla.org/en-GB/firefox/addon/darkreader/
https://addons.mozilla.org/en-GB/firefox/addon/df-youtube/
https://addons.mozilla.org/en-GB/firefox/addon/joplin-web-clipper/
https://addons.mozilla.org/en-GB/firefox/addon/gsconnect/
https://addons.mozilla.org/en-GB/firefox/addon/font-fingerprint-defender/
https://addons.mozilla.org/en-GB/firefox/addon/flagfox/
https://addons.mozilla.org/en-GB/firefox/addon/emoji-everywhere/
https://addons.mozilla.org/en-GB/firefox/addon/download-instagram-videos/
https://addons.mozilla.org/en-GB/firefox/addon/dont-touch-my-tabs/
https://addons.mozilla.org/en-GB/firefox/addon/unhot/
https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin/
https://addons.mozilla.org/en-GB/firefox/addon/tineye-reverse-image-search/
https://addons.mozilla.org/en-GB/firefox/addon/swift-selection-search/
https://addons.mozilla.org/en-GB/firefox/addon/smart-https-revived/
https://addons.mozilla.org/en-GB/firefox/addon/quora-login-popup-blocker/
https://addons.mozilla.org/en-GB/firefox/addon/protonmail/
https://addons.mozilla.org/en-GB/firefox/addon/old-reddit-redirect/
https://addons.mozilla.org/en-GB/firefox/addon/offline-qr-code-generator/

Flags: needinfo?(nikola.tss)

Resetting severity to default of --.

Could you please narrow down which addon is responsible for this, investigating 20+ addons is too much.

subprocess_worker_unix.js can be related to the nativeMessaging extension API, which appears to be used by the GSConnect extension.

Could you disable the GSConnect extension and let us know if anything changes?

Flags: needinfo?(nikola.tss)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --

Part of the description here is similar to bug 1633278, and clearurls is in the addon list in comment 4

See Also: → 1633278

FYI I was also using ClearURLs when I reported my similar bug https://bugzilla.mozilla.org/show_bug.cgi?id=1627139.

I will stop using it and see if it improves the issue.

Severity: -- → S2
Priority: -- → P3

I think I managed to reproduce it on 76.0.1. I'm not sure if CLearURLs is to blame, as I added it but it did not immediately break anything, but several times while listening to Spotify web player my computer just froze, meaning firefox managed to chew up all of my available RAM. I didn't have a lot of tabs open, but the whole computer didn't respond until (I assume) Fedora just killed the offending process. After that Firefox was unresponsive in the UI - no tab switching, no menus opening, no new tabs, but the animations for hovering over the elements still played. The currently opened website's UI was responsive. After several such mishaps I managed to screenshot task manager once attributing 6GB of memory to WebContent for what is several tabs of Discogs and my 4 pinned tabs - Outlook, Spotify, Discord, and Protonmail. The memory usage kept "resetting", as in, it went from 80MB to 1GB to 2GB to 4, after which it "reset" itself again at 80-ish.

Attached file memory-report2.json.gz

I also managed to grab a memory report from about:memory "Measure and save".
I don't have the majority of the extensions I reported initially, except for ClearURLs, BitWarden, Unhot, and DF Youtube. It might be the extension, or it might be a separate bug I'm mistaking for the initial.

Flags: needinfo?(nikola.tss)

(In reply to nikola.tss from comment #11)

Created attachment 9151511 [details]
Screenshot from 2020-05-25 15-01-19.png
The memory usage kept "resetting", as in, it went from 80MB to 1GB to 2GB to 4, after which it "reset" itself again at 80-ish.
I forgot to point out that it kept resetting after I restarted firefox from the "UI unresponsive" state.

S1 or S2 bugs need an assignee - could you find someone for this bug?

Flags: needinfo?(mixedpuppy)
Component: Untriaged → General
Flags: needinfo?(mixedpuppy)
See Also: → 1627139

Any clarity if this may be related to Bug 1633278 (and maybe even bug 1627139)? There's a fair number of add-ons in comment 4...

Flags: needinfo?(mixedpuppy)

This is triaged, and will likely be a part of extension process crash investigation.

Flags: needinfo?(mixedpuppy)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: