• Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System pentium4
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by Andreas Baumann - 03.12.2021
Last edited by Andreas Baumann - 20.09.2022

FS#218 - [nss] shlibsign segfaults on IA-32

subprocess.CalledProcessError: Command ‘[’/build/nss/src/dist/Release/bin/shlibsign’, ‘-v’, ‘-i’, ‘/build/nss/src/dist/Release/lib/libfreebl3.so’]’ died with <Signals.SIGSEGV: 11>.

Closed by  Andreas Baumann
20.09.2022 17:47
Reason for closing:  Fixed
Admin
Andreas Baumann commented on 03.12.2021 10:54

Not sure about that, happened tons of time in the past, sometimes due to changes not in NSS itself but
in security, kernel, way how the package is compiled, etc.

Admin
Andreas Baumann commented on 05.12.2021 07:04

For now just disabled signing of the shared libraries.. At least we have a working nss now again..

Admin
Andreas Baumann commented on 17.12.2021 08:21

working, but that firefox doesn't start anymore. :-)

Admin
Andreas Baumann commented on 10.01.2022 17:52

In the chroot I see:

cd /build/nss/src/nss/coreconf
export LD_LIBRARY_PATH=../../dist/Release/lib
/build/nss/src/dist/Release/bin/shlibsign -v \
-i /build/nss/src/dist/Release/lib/libfreebl3.so
write(1, "Generate a DSA key pair ... \n", 29Generate a DSA key pair ... 
) = 29
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x2e7e4214} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault

This binary seems to be notorously buggy if you check Google for similar
bugs..

Admin
Andreas Baumann commented on 13.01.2022 11:50

3.74 shows the same issue.

Recompiling 3.72 with gcc 11.1.0 actually didn't worked either, so
it seems nss hits a corner case in gcc itself. Let's try to build
with gcc10..

Admin
Andreas Baumann commented on 13.01.2022 11:55

build.sh: what happened with CC env variables:

  1. -gcc) export CC=gcc; export CCC=g++; export CXX=g++; msvc=0 ;;

this is just silly..

Admin
Andreas Baumann commented on 13.01.2022 12:05

with gcc-10, the same..

Admin
Andreas Baumann commented on 13.01.2022 12:11

Hah, who would have thought: clang doesn't miscompile the code, so clang it is. :-)

Admin
Andreas Baumann commented on 20.09.2022 17:36
clang-14: error: unknown argument: '-fvar-tracking-assignments'
ninja: build stopped: subcommand failed.

Seems to be in some makepkg.conf's in devtools?

Has rechenknecht an old devtools32 installed? Also I rember the diffs between
master and aba branch in devtools32 which should probably be merged by hand now..

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing