On 2021-09-07 12:23:38 +0200, Axel Beckert wrote: > A first strace ends as follows: > > mprotect(0x7f75ad335000, 4096, PROT_READ) = 0 > munmap(0x7f75ad337000, 327870) = 0 > mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0x7f75ad03a000 > openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 11 > fstat(11, {st_mode=S_IFREG|0644, st_size=526, ...}) = 0 > read(11, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 526 > --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xe0} --- > +++ killed by SIGSEGV (core dumped) +++
A more interesting part of the strace output: [...] 223550 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 11 223550 read(11, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\177\2\0\0\0\0\0"..., 832) = 832 223550 fstat(11, {st_mode=S_IFREG|0755, st_size=1839168, ...}) = 0 223550 mmap(NULL, 1852480, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0x7f8847303000 223550 mprotect(0x7f8847329000, 1658880, PROT_NONE) = 0 223550 mmap(0x7f8847329000, 1347584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x26000) = 0x7f8847329000 223550 mmap(0x7f8847472000, 307200, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x16f000) = 0x7f8847472000 223550 mmap(0x7f88474be000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x1ba000) = 0x7f88474be000 223550 mmap(0x7f88474c4000, 13376, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f88474c4000 223550 close(11) = 0 [...] zsh-static is linked statically. What does it have to do with libc.so.6? If it expects some functions from libc.so.6 and others that had been linked statically, then with the upgrade of libc6 to 2.32-1, I think that this is likely to break. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)