[Nix-dev] bootstrap-tools' bash segfaults

Dag Sverre Seljebotn dagseljebotn at gmail.com
Thu Feb 24 15:59:30 CET 2011


I've got things working on my Ubuntu machine, but on a different
system (RedHat) I get

building path(s)
`/mn/svati/u1/eirikgje/dagss/nix/store/s4bfnqc7mlvw4aabarkbv3mj757kx1fa-stdenv-linux-boot'
builder for `/mn/svati/u1/eirikgje/dagss/nix/store/x9pk6bwhcqqpkb5hhlp13wbs51bwbl25-stdenv-linux-boot.drv'
failed due to signal 11 (Segmentation fault)

I then try to run the bootstrap tools directly:

[...]/dagss/nix/store/r2i6z992vppawznrj3cy5hckhzh94b10-bootstrap-tools/bin
$ ./bash
Segmentation fault

GDB has this to say (immediately after typing "run" and hitting enter)

Starting program:
/mn/svati/u1/eirikgje/dagss/nix/store/r2i6z992vppawznrj3cy5hckhzh94b10-bootstrap-tools/bin/bash
warning: no loadable sections found in added symbol-file
system-supplied DSO at 0x2aaaaaac9000

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaaac96eb in ?? ()

And ldd this:

$ ldd bash
        linux-vdso.so.1 =>  (0x00007fffb99fc000)
        libdl.so.2 =>
/mn/svati/u1/eirikgje/dagss/nix/store/r2i6z992vppawznrj3cy5hckhzh94b10-bootstrap-tools/lib/libdl.so.2
(0x00002b50d6bdc000)
        libc.so.6 =>
/mn/svati/u1/eirikgje/dagss/nix/store/r2i6z992vppawznrj3cy5hckhzh94b10-bootstrap-tools/lib/libc.so.6
(0x00002b50d6de1000)
        /mn/svati/u1/eirikgje/dagss/nix/store/r2i6z992vppawznrj3cy5hckhzh94b10-bootstrap-tools/lib/ld-linux-x86-64.so.2
(0x00002b50d69bc000)

Any hints?

Dag Sverre



More information about the nix-dev mailing list