View previous topic :: View next topic |
Author |
Message |
MickeyK n00b
Joined: 11 Aug 2009 Posts: 10 Location: Hamburg, Germany
|
Posted: Mon Apr 01, 2024 11:12 am Post subject: nss downgrade reintroduces illegal instruction crash[SOLVED] |
|
|
After the latest nss downgrade to 3.90.2 firefox no longer starts. With nss-3.91 it was ok. After some investigation it appears firefox suffers an illegal instruction. I'm using an old i5 2310 which does not have the ADX cpu flag.
Looks like https://bugs.gentoo.org/907932
Unmasking nss-3.91 is not possible, looks like the ebuild is no longer available...
Would appreciate if anyone could shed some light. Thanks! _________________ The sooner you fall behind the more time you'll have to catch up.
Last edited by MickeyK on Mon Apr 01, 2024 3:35 pm; edited 1 time in total |
|
Back to top |
|
|
MickeyK n00b
Joined: 11 Aug 2009 Posts: 10 Location: Hamburg, Germany
|
Posted: Mon Apr 01, 2024 11:16 am Post subject: |
|
|
My emerge --info:
Code: | Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.38-r10, 6.6.21-gentoo x86_64)
=================================================================
System uname: Linux-6.6.21-gentoo-x86_64-Intel-R-_Core-TM-_i5-2310_CPU_@_2.90GHz-with-glibc2.38
KiB Mem: 32767840 total, 26341100 free
KiB Swap: 524284 total, 524284 free
Timestamp of repository gentoo: Mon, 01 Apr 2024 09:30:00 +0000
Head commit of repository gentoo: 6eaea842808852e8551c315ef2107708fe917a10
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.3::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.2::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust: 1.75.0-r1::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/openrc: 0.53.1::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r10::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc lm_sensors lzma mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses nls nsplugin ogg opengl openmp oss pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell split-usr sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vlc vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="intel8x0" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ The sooner you fall behind the more time you'll have to catch up. |
|
Back to top |
|
|
MickeyK n00b
Joined: 11 Aug 2009 Posts: 10 Location: Hamburg, Germany
|
Posted: Mon Apr 01, 2024 11:39 am Post subject: |
|
|
When starting firefox from gdb it creates its window and then gets SIGILL with the following stack backtrace:
Code: | [New Thread 0x7fffc3cff6c0 (LWP 7491)]
Thread 11 "Socket Thread" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7fffe497d6c0 (LWP 7391)]
0x00007fffc66a4c5d in ?? () from /usr/lib64/libfreeblpriv3.so
(gdb) bt
#0 0x00007fffc66a4c5d in ??? () at /usr/lib64/libfreeblpriv3.so
#1 0x00007fffc66a52da in ??? () at /usr/lib64/libfreeblpriv3.so
#2 0x00007fffc66a59ed in ??? () at /usr/lib64/libfreeblpriv3.so
#3 0x00007fffc66a3d7d in ??? () at /usr/lib64/libfreeblpriv3.so
#4 0x00007fffc66920ea in ??? () at /usr/lib64/libfreeblpriv3.so
#5 0x00007fffc665fb79 in ??? () at /usr/lib64/libfreeblpriv3.so
#6 0x00007fffc665fce7 in ??? () at /usr/lib64/libfreeblpriv3.so
#7 0x00007fffdc78de90 in ??? () at /usr/lib64/libsoftokn3.so
#8 0x00007fffecfc3106 in PK11_GenerateKeyPairWithOpFlags () at /usr/lib64/libnss3.so
#9 0x00007fffecfbac4f in SECKEY_CreateECPrivateKey () at /usr/lib64/libnss3.so
#10 0x00007fffed1152e9 in ??? () at /usr/lib64/libssl3.so
#11 0x00007fffed12d86e in ??? () at /usr/lib64/libssl3.so
#12 0x00007fffed12d8ec in ??? () at /usr/lib64/libssl3.so
#13 0x00007fffed132e70 in ??? () at /usr/lib64/libssl3.so
#14 0x00007fffed10a69c in ??? () at /usr/lib64/libssl3.so
#15 0x00007fffed11c78b in ??? () at /usr/lib64/libssl3.so
#16 0x00007fffed12105a in ??? () at /usr/lib64/libssl3.so
#17 0x00007fffed121558 in SSL_ForceHandshake () at /usr/lib64/libssl3.so
#18 0x00007ffff308019c in ??? () at /usr/lib64/firefox/libxul.so
#19 0x00007fffefd0caaf in ??? () at /usr/lib64/firefox/libxul.so
#20 0x00007fffefd4f5fc in ??? () at /usr/lib64/firefox/libxul.so
#21 0x00007fffefd4bde5 in ??? () at /usr/lib64/firefox/libxul.so
#22 0x00007fffefd5d257 in ??? () at /usr/lib64/firefox/libxul.so
#23 0x00007fffefc69ad7 in ??? () at /usr/lib64/firefox/libxul.so
#24 0x00007fffefc69f61 in ??? () at /usr/lib64/firefox/libxul.so
#25 0x00007fffefb3e8a2 in ??? () at /usr/lib64/firefox/libxul.so
#26 0x00007fffefb4326e in ??? () at /usr/lib64/firefox/libxul.so
#27 0x00007fffefb4a98e in ??? () at /usr/lib64/firefox/libxul.so
#28 0x00007fffefb49f1b in ??? () at /usr/lib64/firefox/libxul.so
#29 0x00007fffefb4ae1e in ??? () at /usr/lib64/firefox/libxul.so
#30 0x00007fffef9f25b7 in ??? () at /usr/lib64/firefox/libxul.so
#31 0x00007fffef9f5ede in ??? () at /usr/lib64/firefox/libxul.so
#32 0x00007fffeff20627 in ??? () at /usr/lib64/firefox/libxul.so
#33 0x00007fffefed981b in ??? () at /usr/lib64/firefox/libxul.so
#34 0x00007fffef9efde2 in ??? () at /usr/lib64/firefox/libxul.so
#35 0x00007ffff6fe8233 in ??? () at /usr/lib64/libnspr4.so
#36 0x00007ffff7bc0e34 in start_thread (arg=<optimized out>) at pthread_create.c:444
#37 0x00007ffff7c4351c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
This to me points away from nss into libfreeblpriv3.so as PK11_GenerateKeyPairWithOpFlags in libnss3 is the last call on frame #8...
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ The sooner you fall behind the more time you'll have to catch up. |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Mon Apr 01, 2024 11:40 am Post subject: |
|
|
Seems you are right.
I can reproduce it.
Downgrade nss to 3.90.2 and firefox crashes on an intel Core i7-4720HQ.
No problem on an AMD Ryzen 7900.
Recompilation of firefox didn't help, now trying on llvm clang and rust too but I wouldn't count on it. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
MickeyK n00b
Joined: 11 Aug 2009 Posts: 10 Location: Hamburg, Germany
|
Posted: Mon Apr 01, 2024 11:46 am Post subject: |
|
|
I had several firefox rebuilds b/c of the profile upgrade but only after today's nss downgrade firefox started to crash... _________________ The sooner you fall behind the more time you'll have to catch up. |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Mon Apr 01, 2024 11:49 am Post subject: |
|
|
Maybe the bug should be reopened, as it was "fixed" by the reversed nss update?
What about the thunderbird-useres the bug was actually for? _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
MickeyK n00b
Joined: 11 Aug 2009 Posts: 10 Location: Hamburg, Germany
|
Posted: Mon Apr 01, 2024 11:53 am Post subject: |
|
|
I'd second bug reopening...
As an interims solution a masked nss-3.91 ebuild would be nice and quick to try. _________________ The sooner you fall behind the more time you'll have to catch up. |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Mon Apr 01, 2024 11:56 am Post subject: |
|
|
The bug is for thunderbird only.
If nobody can confirm this on tunderbird I would rather open another. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Mon Apr 01, 2024 12:20 pm Post subject: |
|
|
Code: | LC_ALL="C" firefox
console.error: ({})
Exiting due to channel error.
Exiting due to channel error. |
_________________ With nice greetings
Vrenn |
|
Back to top |
|
|
MickeyK n00b
Joined: 11 Aug 2009 Posts: 10 Location: Hamburg, Germany
|
Posted: Mon Apr 01, 2024 12:45 pm Post subject: |
|
|
I get this when running firefox from the shell:
> firefox
console.error: ({})
Exiting due to channel error.
Illegal instruction
> echo $?
132 _________________ The sooner you fall behind the more time you'll have to catch up. |
|
Back to top |
|
|
molletts Tux's lil' helper
Joined: 16 Feb 2013 Posts: 119
|
Posted: Mon Apr 01, 2024 1:25 pm Post subject: |
|
|
Yes, I can confirm this too - Thunderbird and Firefox both crash with "Illegal instruction" following the downgrade. For now, I've grabbed a copy of nss-3.91.ebuild from the portage tree git repo and shoved it in a local overlay, which has got things working again.
For info, this is running on AMD Barcelona. |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Mon Apr 01, 2024 1:29 pm Post subject: |
|
|
or unmask nss 3.99 suggested on bug 925027. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2223 Location: Barcelona
|
Posted: Mon Apr 01, 2024 2:18 pm Post subject: |
|
|
Same problem here, with both Firefox and Thunderbird.
Code: | $ firefox
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=0.681419) [GFX1-]: vaapitest: ERROR
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=0.681419) |[1][GFX1-]: vaapitest: VA-API test failed: libva-drm.so.2 is missing.
(t=0.68146) [GFX1-]: vaapitest: VA-API test failed: libva-drm.so.2 is missing.
console.error: ({})
Instrucción ilegal |
Upgrade to nss-3.99 solves the problem. _________________ pcmaster |
|
Back to top |
|
|
MickeyK n00b
Joined: 11 Aug 2009 Posts: 10 Location: Hamburg, Germany
|
Posted: Mon Apr 01, 2024 3:34 pm Post subject: |
|
|
pcmaster wrote: | Upgrade to nss-3.99 solves the problem. |
YES. Thanks. Same here, firefox now works again. _________________ The sooner you fall behind the more time you'll have to catch up. |
|
Back to top |
|
|
Sebastien P. n00b
Joined: 13 Jun 2008 Posts: 15 Location: Haubourdin
|
Posted: Mon Apr 01, 2024 4:20 pm Post subject: |
|
|
Same things with AMD 64 X2 Windsor.
I will try to upgrade to 3.99. |
|
Back to top |
|
|
|