[Nix-dev] Re: bootstrap-tools' bash segfaults

Dag Sverre Seljebotn dagseljebotn at gmail.com
Thu Feb 24 16:01:06 CET 2011


On Thu, Feb 24, 2011 at 3:59 PM, Dag Sverre Seljebotn
<dagseljebotn at gmail.com> wrote:
> 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?

Just in case, more info

$ uname -a
Linux svati.[...] 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST
2011 x86_64 x86_64 x86_64 GNU/Linux

$ file bash
bash: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped



More information about the nix-dev mailing list