Bug#998108: firefox freezes shortly after start
I just had one occasion of the "freezing" problem... but it was the first time since we got 94.0-2. Also it didn't occur short after start, but quite some time after browsing the very same websites. But the symptoms were as described in message #15 (i.e. that loading wheel). So there may be still some issue left (or it might be something new/unrelated). Cheers, Chris.
Bug#998108: firefox freezes shortly after start
After the upgrade to 94.0-2, I still experienced some crashes, but disabling hardware acceleration (about:preferences > General > Performance > uncheck both checkboxes and set processing limit to 8) fixed it for me.
Bug#998108: firefox freezes shortly after start
On Nov 11, 小太 wrote: > If you open /usr/lib/firefox/libxul.so in a hex editor and go to file offset > 0x46a4703, you can perform a find and replace with the below hex strings: > find:498B5C2408904889DFFF157FBD9703EBF5 > replace: 4D8B6C2408904C89EFFF157FBD9703EBDA Great work! Quick one liner: sudo perl -i -pe 's/\x49\x8B\x5C\x24\x08\x90\x48\x89\xDF\xFF\x15\x7F\xBD\x97\x03\xEB\xF5/\x4D\x8B\x6C\x24\x08\x90\x4C\x89\xEF\xFF\x15\x7F\xBD\x97\x03\xEB\xDA/' /usr/lib/firefox/libxul.so -- ciao, Marco signature.asc Description: PGP signature
Bug#998108: firefox freezes shortly after start
On Thu, 11 Nov 2021 23:06:44 +1100 =?UTF-8?B?4oCN5bCP5aSq?= wrote: > So either the change needs to be backported to v94, or we'll just have to wait > until v95 (or compile the browser ourselves) I was a bit adventurous and tried doing a binary patch on the current debian version (94.0-1), and got it working. If you open /usr/lib/firefox/libxul.so in a hex editor and go to file offset 0x46a4703, you can perform a find and replace with the below hex strings: find:498B5C2408904889DFFF157FBD9703EBF5 replace: 4D8B6C2408904C89EFFF157FBD9703EBDA This effectively performs the following changes to the binary: --- libxul.so.S.before2021-11-12 03:15:52.985702747 +1100 +++ libxul.so.S.after2021-11-12 04:13:27.364102267 +1100 @@ -18661992,15 +18661992,15 @@ 4e956f2:41 ff d5 call *%r13 4e956f5:48 8d 0d cc 87 96 03 lea0x39687cc(%rip),%rcx # 87fdec8 <_ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEclEcE5__nul@@xul94+0xaed18> 4e956fc:48 8d 15 cd 87 96 03 lea0x39687cd(%rip),%rdx # 87fded0 <_ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEclEcE5__nul@@xul94+0xaed20> 4e95703:48 83 7b 40 00 cmpq $0x0,0x40(%rbx) 4e95708:74 11je 4e9571b - 4e9570a:49 8b 5c 24 08 mov0x8(%r12),%rbx + 4e9570a:4d 8b 6c 24 08 mov0x8(%r12),%r13 4e9570f:90 nop - 4e95710:48 89 df mov%rbx,%rdi + 4e95710:4c 89 ef mov%r13,%rdi 4e95713:ff 15 7f bd 97 03call *0x397bd7f(%rip) # 8811498 - 4e95719:eb f5jmp4e95710 + 4e95719:eb dajmp4e956f5 4e9571b:8b 02mov(%rdx),%eax 4e9571d:83 c0 ff add$0x,%eax 4e95720:83 f8 01 cmp$0x1,%eax 4e95723:0f 87 13 02 00 00ja 4e9593c 4e95729:4c 8b 29 mov(%rcx),%r13 This basically changes the binary such that it no longer infinite loops in the PulseStream::stop() function, and actually checks self.drain_timer every loop as it's supposed to
Bug#998108: firefox freezes shortly after start
On Thu, 2021-11-11 at 23:06 +1100, 小太 wrote: > So either the change needs to be backported to v94 It seems Mike has already been active in that bug (and even found it himself a ~month ago ^^) and indicated he'll backport it (AFAIU). Which I hope really happens... I know there is no official security support for unstable, but as this bug shows: many people (including DDs) seem to use it on their working systems and it's probably not so good for all these to have to stick with an old version with plenty of high-rated security issues. Cheers, Chris.
Bug#998108: firefox freezes shortly after start
I narrowed down the freeze to the cubeb pulse code (part of the audio library firefox uses), and I found that it was actually fixed almost a month ago: https://github.com/mozilla/cubeb-pulse-rs/pull/72 It's already been merged into firefox on-track for v95: https://bugzilla.mozilla.org/show_bug.cgi?id=1735905 A separate user confirmed on the openSUSE bug that it was fixed with the change: https://bugzilla.opensuse.org/show_bug.cgi?id=1192067#c30 So either the change needs to be backported to v94, or we'll just have to wait until v95 (or compile the browser ourselves)
Bug#998108: firefox freezes shortly after start
On Nov 06, dirdi wrote: > As a first step it would be good to have a method - e.g. a crafted > HTML page - to crash firefox instantly and reproducible. This would > enable us to bisect the changes between 93.0-1 and 93.0-1+b1. I do not think that this would be possible because after restarting Firefox and opening again the link which made it freeze the first time then it works again. -- ciao, Marco signature.asc Description: PGP signature
Bug#998108: firefox freezes shortly after start
Package: firefox Version: 94.0-1 Followup-For: Bug #998108 X-Debbugs-Cc: deb...@dirdi.name As a first step it would be good to have a method - e.g. a crafted HTML page - to crash firefox instantly and reproducible. This would enable us to bisect the changes between 93.0-1 and 93.0-1+b1. Package-specific info: -- Addons package information -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable'), (5, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.14.0-2-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages firefox depends on: ii debianutils 4.11.2 ii fontconfig 2.13.1-4.2 ii libatk1.0-0 2.36.0-2 ii libc62.32-4 ii libcairo-gobject21.16.0-5 ii libcairo21.16.0-5 ii libdbus-1-3 1.12.20-3 ii libdbus-glib-1-2 0.112-2 ii libevent-2.1-7 2.1.12-stable-1 ii libffi8 3.4.2-3 ii libfontconfig1 2.13.1-4.2 ii libfreetype6 2.11.0+dfsg-1 ii libgcc-s111.2.0-10 ii libgdk-pixbuf-2.0-0 2.42.6+dfsg-2 ii libglib2.0-0 2.70.0-3 ii libgtk-3-0 3.24.30-3 ii libnspr4 2:4.32-1 ii libnss3 2:3.72-1 ii libpango-1.0-0 1.48.10+ds1-1 ii libstdc++6 11.2.0-10 ii libvpx7 1.11.0-2 ii libx11-6 2:1.7.2-2+b1 ii libx11-xcb1 2:1.7.2-2+b1 ii libxcb-shm0 1.14-3 ii libxcb1 1.14-3 ii libxcomposite1 1:0.4.5-1 ii libxdamage1 1:1.1.5-2 ii libxext6 2:1.3.4-1 ii libxfixes3 1:5.0.3-2 ii libxrandr2 2:1.5.2-1 ii procps 2:3.3.17-5 ii zlib1g 1:1.2.11.dfsg-2 Versions of packages firefox recommends: ii libavcodec58 7:4.4.1-1+b1 Versions of packages firefox suggests: pn fonts-lmodern pn fonts-stix | otf-stix ii libcanberra0 0.30-8 ii libgssapi-krb5-2 1.18.3-7 ii pulseaudio 15.0+dfsg1-2 -- no debconf information
Bug#998108: firefox freezes shortly after start
Hi, I was also experiencing this problem and was monitoring this bug report for potential solutions, but the problem seems to have recently disappeared. I haven't experienced it since yesterday (2021-11-05) even on sites that I knew to trigger it previously. Like everyone else, the problem started for me with 93.0-1+b1 and persisted with 94.0-1. I am currently still using 94.0-1 with no problems. Perhaps a recent lib update resolved this? Adon
Bug#998108: firefox freezes shortly after start
HW: Intel i7-7500U; 16G RAM; GPU HD Graphics 620 Debian: unstable System: amd64 Session: GNOME with Wayland. Firefox: 93-b1 - 94 Random freezes. 10 seconds up to X minutes, depending on the websites tab opened. Best regards David Heidelberg
Bug#998108: firefox freezes shortly after start
Package: firefox Version: 94.0-1 Followup-For: Bug #998108 Same here, problems started with 93.0-1+b1, and are also present on FF 94. Firefox hangs at random times, doesn't quit properly preventing normal restart, doesn't recognize audio devices correctly. As others noted, FF hangs almost instantly for me when using anything involving media (audio/video playback). --safe-mode doesn't change anything. Disabling all flags for HW acceleration doesn't do anything either. Downgrading to 93.0-1 on the same system fixes the issue.
Bug#998108: firefox freezes shortly after start
Control: found -1 firefox/94.0-1 Hi all, On Sat, Oct 30, 2021 at 03:04:01PM +0200, Christoph Anton Mitterer wrote: > Package: firefox > Version: 93.0-1+b1 > Severity: grave > Justification: renders package unusable > > Hey. > > Since about yesterday (possibly since the rebuilt package came in) > firefox freezes shortly after being started. > There is no high CPU activity then, it just takes no input anymore > (no keyboard, no mouse clicks). > This also happens in --safe-mode. I had this bug too with 93.0-1+b1, and it still happens with today's 94.0-1 update. -- Dmitry Shachnev signature.asc Description: PGP signature
Bug#998108: firefox freezes shortly after start
On Sat, 30 Oct 2021 15:04:01 +0200 Christoph Anton Mitterer wrote: > Since about yesterday (possibly since the rebuilt package came in) > firefox freezes shortly after being started. > There is no high CPU activity then, it just takes no input anymore > (no keyboard, no mouse clicks). > This also happens in --safe-mode. I'm encountering this as well. It happens slower if I just browse, and much much faster if I use something like WebGL.
Bug#998108: firefox freezes shortly after start
On Sat, 30 Oct 2021 20:33:31 +0200 Olivier Allard-Jacquin wrote: According to "strace" command, this is look faulted tab open nvidia library, so maybe issue is linker to video acceleration. I do not have nvidia, still I have this problem.
Bug#998108: firefox freezes shortly after start
Hi, same issue here: - AMD64 install - Debian testing + firefox from unstable After 93.0-1+b1 install, firefox freeze on some web sites, specially when new tab open a new link. According to "strace" command, this is look faulted tab open nvidia library, so maybe issue is linker to video acceleration. According to upper Philipp Huebner's reply, downgrading to 93.0-1 from snapshot.debian.org has fix issue. Finally, using latest firefox nightly version from https://www.mozilla.org/fr/firefox/channel/desktop/#nightly (today this is 95.0a1) also fix issue. Best regards, Olivier
Bug#998108: firefox freezes shortly after start
Hi, I am affected by the same problem. After downgrading to firefox=93.0-1 from snapshot.debian.org the problem is gone. Regards, -- .''`. Philipp Huebner : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F `. `'` `- OpenPGP_signature Description: OpenPGP digital signature
Bug#998108: firefox freezes shortly after start
Package: firefox Version: 93.0-1+b1 Severity: grave Justification: renders package unusable Hey. Since about yesterday (possibly since the rebuilt package came in) firefox freezes shortly after being started. There is no high CPU activity then, it just takes no input anymore (no keyboard, no mouse clicks). This also happens in --safe-mode. Any ideas? Chris. -- Package-specific info: -- Extensions information Name: Amazon.co.uk Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: enabled Name: Bing Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: enabled Name: Dark theme Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: user-disabled Name: Debian queries Location: /usr/share/webext/debian-buttons Package: webext-debianbuttons Status: user-disabled Name: DoH Roll-Out Location: /usr/lib/firefox/browser/features/doh-roll...@mozilla.org.xpi Package: firefox Status: enabled Name: DuckDuckGo Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: enabled Name: eBay Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: enabled Name: Firefox Alpenglow theme Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: user-disabled Name: Firefox Screenshots Location: /usr/lib/firefox/browser/features/screensh...@mozilla.org.xpi Package: firefox Status: enabled Name: Form Autofill Location: /usr/lib/firefox/browser/features/formautof...@mozilla.org.xpi Package: firefox Status: enabled Name: FoxyProxy Standard Location: /usr/share/webext/foxyproxy Package: webext-foxyproxy Status: enabled Name: Google Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: enabled Name: Light theme Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: user-disabled Name: Lightbeam 3.0 Location: /usr/share/webext/lightbeam Package: webext-lightbeam Status: user-disabled Name: NoScript Location: /usr/share/webext/noscript Package: webext-noscript Status: enabled Name: Picture-In-Picture Location: /usr/lib/firefox/browser/features/pictureinpict...@mozilla.org.xpi Package: firefox Status: enabled Name: System theme theme Location: /usr/lib/firefox/omni.ja Package: firefox Status: enabled Name: uBlock Origin Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ublo...@raymondhill.net Package: webext-ublock-origin-firefox Status: enabled Name: Web Compatibility Interventions Location: /usr/lib/firefox/browser/features/webcom...@mozilla.org.xpi Package: firefox Status: enabled Name: WebCompat Reporter Location: /usr/lib/firefox/browser/features/webcompat-repor...@mozilla.org.xpi Package: firefox Status: user-disabled Name: Wikipedia (en) Location: /usr/lib/firefox/browser/omni.ja Package: firefox Status: enabled -- Addons package information ii firefox 93.0-1+b1 amd64Mozilla Firefox web browser ii webext-debianbuttons 2.3-2 all Buttons for querying Debian-related pages with Firefox ii webext-foxyproxy 7.5.1+dfsg-2 all Advanced proxy management for Firefox ii webext-lightbeam 3.0.1-1 all visualize sites that may be tracking you around the internet ii webext-noscript 10.1.9.6-2all permissions manager for Firefox ii webext-ublock-origin-firefox 1.37.0+dfsg-1 all lightweight and efficient ads, malware, trackers blocker (Firefox) -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.14.0-3-amd64 (SMP w/4 CPU threads) Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages firefox depends on: ii debianutils 5.5-1 ii fontconfig 2.13.1-4.2 ii libatk1.0-0 2.36.0-2 ii libc62.32-4 ii libcairo-gobject21.16.0-5 ii libcairo21.16.0-5 ii libdbus-1-3 1.12.20-3 ii libdbus-glib-1-2 0.112-2 ii libevent-2.1-7 2.1.12-stable-1 ii libffi8 3.4.2-3 ii libfontconfig1 2.13.1-4.2 ii libfreetype6 2.11.0+dfsg-1 ii libgcc-s111.2.0-10 ii libgdk-pixbuf-2.0-0 2.42.6+dfsg-2 ii libglib2.0-0 2.70.0-3 ii libgtk-3-0 3.24.30-3 ii libnspr4 2:4.32-1 ii libnss3 2:3.70-1 ii libpango-1.0-0 1.48.10+ds1-1 ii libstdc++6 11.2.0-10 ii libvpx7 1.11.0-2 ii libx11-6 2:1.7.2-2+b1 ii libx11-xcb1 2:1.7.2-2+b1 ii libxcb-shm0 1.14-3 ii libxcb1 1.14-3 ii libxcomposite1 1:0.4.5-1 ii libxdamage1 1:1.1.5-2 ii libxext6 2:1.3.4-1 ii libxfixes3 1:5.0.3-2 ii libxrender1 1:0.9.10-1 ii procps