Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1002600: firefox-esr: 91.4.1 unable to open any web (SSE2 again)

53 views
Skip to first unread message

Ondrej Zary

unread,
Dec 25, 2021, 5:00:04 AM12/25/21
to
Package: firefox-esr
Version: 91.4.1esr-1~deb11u1
Severity: important
File: /usr/bin/firefox
X-Debbugs-Cc: te...@security.debian.org

Dear Maintainer,
after upgrading firefox-esr from 78.15.0esr-1 to 91.4.1esr-1, it can't open
any web page. The tab crashes immediately, with errors like this in dmesg:
traps: Web Content[2691] trap invalid opcode ip:ad209c0d sp:bf87369c error:0 in libxul.so[ac17e000+5844000]

This is a P3 CPU so I guess that SSE2 instructions sneaked in again and this
CPU cannot handle them:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Celeron(TM) CPU 1100MHz
stepping : 1
microcode : 0x1c
cpu MHz : 1364.963
cache size : 256 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse cpuid
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips : 2729.92
clflush size : 32
cache_alignment : 32
address sizes : 36 bits physical, 32 bits virtual
power management:

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- Package-specific info:

-- Extensions information
Name: Amazon.com
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: enabled

Name: Bing
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: enabled

Name: Dark theme
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: user-disabled

Name: DoH Roll-Out
Location: /usr/lib/firefox-esr/browser/features/doh-r...@mozilla.org.xpi
Package: firefox-esr
Status: enabled

Name: DuckDuckGo
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: enabled

Name: Firefox Alpenglow theme
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: user-disabled

Name: Firefox Screenshots
Location: /usr/lib/firefox-esr/browser/features/scree...@mozilla.org.xpi
Package: firefox-esr
Status: enabled

Name: Form Autofill
Location: /usr/lib/firefox-esr/browser/features/formau...@mozilla.org.xpi
Package: firefox-esr
Status: enabled

Name: Google
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: enabled

Name: Light theme
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: user-disabled

Name: Picture-In-Picture
Location: /usr/lib/firefox-esr/browser/features/picturei...@mozilla.org.xpi
Package: firefox-esr
Status: enabled

Name: Proxy Failover
Location: /home/rainbow/.mozilla/firefox/7e8psv5p.default/features/{037a4322-a290-423b-8727-7d7e3091e40c}/proxy-f...@mozilla.com.xpi
Status: enabled

Name: System theme theme
Location: /usr/lib/firefox-esr/omni.ja
Package: firefox-esr
Status: enabled

Name: Web Compatibility Interventions
Location: /usr/lib/firefox-esr/browser/features/webc...@mozilla.org.xpi
Package: firefox-esr
Status: enabled

Name: WebCompat Reporter
Location: /usr/lib/firefox-esr/browser/features/webcompat...@mozilla.org.xpi
Package: firefox-esr
Status: user-disabled

Name: Wikipedia (en)
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: enabled


-- Addons package information
ii firefox-esr 91.4.1esr-1~deb11u1 i386 Mozilla Firefox web browser - Extended Support Release (ESR)

-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 5.10.0-10-686 (SMP w/1 CPU thread)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages firefox-esr depends on:
ii debianutils 4.11.2
ii fontconfig 2.13.1-4.2
ii libatk1.0-0 2.36.0-2
ii libc6 2.31-13+deb11u2
ii libcairo-gobject2 1.16.0-5
ii libcairo2 1.16.0-5
ii libdbus-1-3 1.12.20-2
ii libdbus-glib-1-2 0.110-6
ii libevent-2.1-7 2.1.12-stable-1
ii libffi7 3.3-6
ii libfontconfig1 2.13.1-4.2
ii libfreetype6 2.10.4+dfsg-1
ii libgcc-s1 10.2.1-6
ii libgdk-pixbuf-2.0-0 2.42.2+dfsg-1
ii libglib2.0-0 2.66.8-1
ii libgtk-3-0 3.24.24-4
ii libpango-1.0-0 1.46.2-3
ii libstdc++6 10.2.1-6
ii libvpx6 1.9.0-1
ii libx11-6 2:1.7.2-1
ii libx11-xcb1 2:1.7.2-1
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.3-1.1
ii libxfixes3 1:5.0.3-2
ii libxrender1 1:0.9.10-1
ii procps 2:3.3.17-5
ii zlib1g 1:1.2.11.dfsg-2

Versions of packages firefox-esr recommends:
ii libavcodec58 7:4.3.3-0+deb11u1

Versions of packages firefox-esr suggests:
pn fonts-lmodern <none>
pn fonts-stix | otf-stix <none>
pn libcanberra0 <none>
ii libgssapi-krb5-2 1.18.3-6+deb11u1
pn pulseaudio <none>

-- no debconf information

NoSSE2

unread,
Jan 6, 2022, 8:00:04 PM1/6/22
to
Package: firefox-esr
Version: 91.4.1esr-1~deb11u1
Followup-For: Bug #1002600
X-Debbugs-Cc: karogyoke...@gmail.com

Dear Maintainer,

I have the same issue. I can't open any webpage, all crash instantly.
All of the reports show SIGILL / ILL_ILLOPN, here is one of them:
https://crash-
stats.mozilla.org/report/index/c402dee7-8941-48f1-a6d6-aa7390220107

I also have dmesg full of these lines:
[ 5061.277751] traps: Web Content[2013] trap invalid opcode ip:ad125c0d
sp:bfb40f5c error:0 in libxul.so[ac09a000+5844000]

It violates the i386 baseline by using SSE2 unconditionally, even if the host
CPU doesn't support it (tested on a downclocked Athlon XP).

I suggest that https://wiki.debian.org/SIMDEverywhere might be helpful in
developing a patch, if it isn't just a compiler flag fix.

If this issue/bug is unfixable, the package should depend on package
sse2-support (i386 only).

Workaround: use the epiphany-browser package (GNOME Web). That works without
SSE2.

cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm)
stepping : 0
cpu MHz : 1143.871
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow cpuid 3dnowprefetch
vmmcall
bugs : fxsave_leak sysret_ss_attrs spectre_v1 spectre_v2
spec_store_bypass
bogomips : 2287.74
clflush size : 32
cache_alignment : 32
address sizes : 34 bits physical, 32 bits virtual
power management: ts
Location: /home/user/.mozilla/firefox/59cnrgo2.default-esr/features/{846e0e2e-33ed-482e-a2cb-73452b541ea7}/proxy-f...@mozilla.com.xpi
Status: enabled

Name: System theme theme
Location: /usr/lib/firefox-esr/omni.ja
Package: firefox-esr
Status: enabled

Name: Web Compatibility Interventions
Location: /usr/lib/firefox-esr/browser/features/webc...@mozilla.org.xpi
Package: firefox-esr
Status: enabled

Name: WebCompat Reporter
Location: /usr/lib/firefox-esr/browser/features/webcompat...@mozilla.org.xpi
Package: firefox-esr
Status: user-disabled

Name: Wikipedia (en)
Location: /usr/lib/firefox-esr/browser/omni.ja
Package: firefox-esr
Status: enabled


-- Addons package information
ii firefox-esr 91.4.1esr-1~deb11u1 i386 Mozilla Firefox web browser - Extended Support Release (ESR)

-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 5.10.0-10-686-pae (SMP w/1 CPU thread)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
ii libcanberra0 0.30-7
ii libgssapi-krb5-2 1.18.3-6+deb11u1
ii pulseaudio 14.2-2

-- no debconf information

karogyoker999

unread,
Aug 5, 2022, 6:40:04 AM8/5/22
to
I've tested the proposed patch below:
https://github.com/amurzeau/debian-autobuild/releases/tag/firefox-esr%2F91.12.0esr-1%2Bnosse1_deb11u1

I've tested it on an Athlon XP 2600+ (Barton) with 3GB RAM.

Everything seems fine. I can even play videos on youtube with smooth
sound and if I play the videos at 144p then I basically get a
slideshow, but that's fine for this machine :)

Tested slither.io and I could 'play'. It was unplayable due to CPU
bottleneck, but from software side it worked.

I also tested WebRTC via https://networktest.twilio.com/ and it was
working. Except the video-chat part, as firefox-esr doesn't have
webcam support (based on the report at html5test.com).

The only downside of this patch is that Pentium 4's with SSE2 will be
somewhat slower, but at least it will work on all 32 bit CPU's, not
just P4's.

The alternative is adding the sse2-support package as a dependency for
firefox-esr and use epiphany-browser instead of firefox-esr for i386
Debian installations by default.

Thank you for the fix. I hope it gets merged soon.

karogyoker999

unread,
Oct 27, 2022, 2:20:03 PM10/27/22
to
It seems that firefox-esr_102.4.0esr-1 works again. I don't know why though.
0 new messages