Installation log: ``` ❯ curl https://nixos.org/nix/install | sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2399 100 2399 0 0 9872 0 --:--:-- --:--:-- --:--:-- 9872 downloading Nix 2.3.3 binary tarball for x86_64-linux from 'https://nixos.org/releases/nix/nix-2.3.3/nix-2.3.3-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.HeomkFIylv'... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 16.4M 100 16.4M 0 0 3109k 0 0:00:05 0:00:05 --:--:-- 3395k Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation performing a single-user installation of Nix... copying Nix to /nix/store...................................... *** stack smashing detected ***: <unknown> terminated /tmp/nix-binary-tarball-unpack.HeomkFIylv/unpack/nix-2.3.3-x86_64-linux/install: line 117: 18073 Aborted (core dumped) "/bin/nix-store" --load-db < "/.reginfo" /tmp/nix-binary-tarball-unpack.HeomkFIylv/unpack/nix-2.3.3-x86_64-linux/install: unable to register valid paths ``` Version-Release number of selected component (if applicable): 2.30 How reproducible: Very reproducible Steps to Reproduce: 1. $ curl https://nixos.org/nix/install | sh 2. Weep Actual results: "*** stack smashing detected ***: <unknown> terminated" error message Expected results: Having Nix installed on my machine Additional info: Coredump: ``` mars 01 17:04:06 moira systemd-coredump[23219]: Process 23217 (nix-store) of user 1000 dumped core. Stack trace of thread 23217: #0 0x00007f2df70d9625 raise (libc.so.6) #1 0x00007f2df70c28d9 abort (libc.so.6) #2 0x00007f2df711d4af __libc_message (libc.so.6) #3 0x00007f2df71ae5d5 __GI___fortify_fail_abort (libc.so.6) #4 0x00007f2df71ae588 __stack_chk_fail (libc.so.6) #5 0x00007f2df727c838 __pthread_tunables_init (libpthread.so.0) #6 0x00007f2df726e13d __pthread_initialize_minimal (libpthread.so.0) #7 0x00007f2df726d00d _init (libpthread.so.0) mars 01 17:04:06 moira systemd[1]: systemd-coredump: Succeeded. ``` Sysinfo: https://paste.centos.org/view/093f83bd
Moreover, I am quite certain that this bug report on Debian's side is related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948287
Sorry, I can't reproduce this. Did you have LD_LIBRARY_PATH set by chance?
Hello Florian, yes you are right, I did have LD_LIBRARY_PATH set to `/lib64`. Unsetting it made the installation work. Thank you very much!