Subject: segfault for non-root user

From: Myles English <[email-masked]>
Date: Wed, 27 Apr 2016 21:44:06 +0100

Hello,

Just installed binary x86-64 nix on Arch Linux as per instructions here:

http://www.gnu.org/software/guix/manual/guix.html#Binary-Installation

The install for root when well and the hello sample package installed
fine.  Then I went to setup my user as described here:

http://www.gnu.org/software/guix/manual/guix.html#Application-Setup

but got a segfault at:

$ guix package -i glibc-locales

and in fact even just

$ guix

I don't know if this backtrace is useful but here it it:

» coredumpctl gdb /gnu/store/b1yqjimbdh5bf9jnizd4h7yf110744j2-bash-4.3.42/bin/bash
           PID: 20982 (guix)
           UID: 1000 (myles)
           GID: 1000 (myles)
        Signal: 11 (SEGV)
     Timestamp: Wed 2016-04-27 21:19:50 BST (7min ago)
  Command Line: /gnu/store/b1yqjimbdh5bf9jnizd4h7yf110744j2-bash-4.3.42/bin/bash /usr/local/bin/guix
    Executable: /gnu/store/b1yqjimbdh5bf9jnizd4h7yf110744j2-bash-4.3.42/bin/bash
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (myles)
       Boot ID: fe0b4d463dfb4886a15e7520cae37405
    Machine ID: 2068a1f86eccfef4ce4bdf96000002f2
      Hostname: bill
      Coredump: /var/lib/systemd/coredump/core.guix.1000.fe0b4d463dfb4886a15e7520cae37405.20982.1461788390000000000000.lz4
       Message: Process 20982 (guix) of user 1000 dumped core.
                
                Stack trace of thread 20982:
                #0  0x0000000000000000 n/a (n/a)

GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /gnu/store/b1yqjimbdh5bf9jnizd4h7yf110744j2-bash-4.3.42/bin/bash...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 20982]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/gnu/store/b1yqjimbdh5bf9jnizd4h7yf110744j2-bash-4.3.42/bin/bash /usr/local/bin'.
---Type <return> to continue, or q <return> to quit---
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007f36f1c6e4e5 in _dl_vdso_vsym () from /usr/lib/libc.so.6
#2  0x00007f36f1bf9827 in time () from /usr/lib/libc.so.6
#3  0x00007f36f27c1a68 in _dl_relocate_object ()
   from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#4  0x00007f36f27b9df5 in dl_main () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#5  0x00007f36f27cc355 in _dl_sysdep_start ()
   from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#6  0x00007f36f27bac7a in _dl_start ()
   from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#7  0x00007f36f27b6c48 in _start () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#8  0x0000000000000002 in ?? ()
#9  0x00007fffb8c00cba in ?? ()
#10 0x00007fffb8c00cfb in ?? ()
#11 0x0000000000000000 in ?? ()
(gdb)

Myles