GNU bug report logs - #23389
segfault for non-root user

Previous Next

Package: guix;

Reported by: Myles English <mylesenglish <at> gmail.com>

Date: Wed, 27 Apr 2016 20:45:02 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23389 in the body.
You can then email your comments to 23389 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#23389; Package guix. (Wed, 27 Apr 2016 20:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Myles English <mylesenglish <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 27 Apr 2016 20:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Myles English <mylesenglish <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: segfault for non-root user
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




Information forwarded to bug-guix <at> gnu.org:
bug#23389; Package guix. (Thu, 28 Apr 2016 12:02:01 GMT) Full text and rfc822 format available.

Message #8 received at 23389 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Myles English <mylesenglish <at> gmail.com>
Cc: 23389 <at> debbugs.gnu.org
Subject: Re: bug#23389: segfault for non-root user
Date: Thu, 28 Apr 2016 14:00:55 +0200
Myles English <mylesenglish <at> gmail.com> skribis:

> 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

Is LD_LIBRARY_PATH or LD_PRELOAD set in your environment?

What happens if you run:

  env -i `type -P guix` --help

What does “info files” say in GDB?

Thank you for the bug report!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#23389; Package guix. (Fri, 29 Apr 2016 10:06:02 GMT) Full text and rfc822 format available.

Message #11 received at 23389 <at> debbugs.gnu.org (full text, mbox):

From: Myles English <mylesenglish <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 23389 <at> debbugs.gnu.org
Subject: Re: bug#23389: segfault for non-root user
Date: Fri, 29 Apr 2016 11:04:26 +0100
Ludo’,

Ludovic Courtès writes:

> Myles English <mylesenglish <at> gmail.com> skribis:
>
>> 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
>
> Is LD_LIBRARY_PATH or LD_PRELOAD set in your environment?

This was set:

LD_LIBRARY_PATH=/home/myles/GNUstep/Library/Libraries:/usr/lib

so I uninstalled GNUstep and rebooted, LD_LIBRARY_PATH is unset and this
works:

$ guix package -i glibc-locales

> What happens if you run:
>
>   env -i `type -P guix` --help

$ env -i `type -P guix` --help
zsh: bad option: -P
Usage: env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...]
Set each NAME to VALUE in the environment and run COMMAND.

Mandatory arguments to long options are mandatory for short options too.
  -i, --ignore-environment  start with an empty environment
  -0, --null           end each output line with NUL, not newline
  -u, --unset=NAME     remove variable from the environment
      --help     display this help and exit
      --version  output version information and exit

A mere - implies -i.  If no COMMAND, print the resulting environment.

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Full documentation at: <http://www.gnu.org/software/coreutils/env>
or available locally via: info '(coreutils) env invocation'

> What does “info files” say in GDB?

N/A

> Thank you for the bug report!

Thank you for the help!  'Bug' closed?

Myles

P.S. now firefox gives me a segfault, I think there are other issues here.




Added tag(s) notabug. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Fri, 29 Apr 2016 12:40:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 23389 <at> debbugs.gnu.org and Myles English <mylesenglish <at> gmail.com> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Fri, 29 Apr 2016 12:40:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#23389; Package guix. (Fri, 29 Apr 2016 12:41:01 GMT) Full text and rfc822 format available.

Message #18 received at 23389 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Myles English <mylesenglish <at> gmail.com>
Cc: 23389 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
Subject: Re: bug#23389: segfault for non-root user
Date: Fri, 29 Apr 2016 14:39:32 +0200
tags 23389 notabug
close 23389
thanks

Myles English <mylesenglish <at> gmail.com> skribis:

> Ludovic Courtès writes:
>
>> Myles English <mylesenglish <at> gmail.com> skribis:
>>
>>> 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
>>
>> Is LD_LIBRARY_PATH or LD_PRELOAD set in your environment?
>
> This was set:
>
> LD_LIBRARY_PATH=/home/myles/GNUstep/Library/Libraries:/usr/lib
>
> so I uninstalled GNUstep and rebooted, LD_LIBRARY_PATH is unset and this
> works:
>
> $ guix package -i glibc-locales

Great.

>> What happens if you run:
>>
>>   env -i `type -P guix` --help
>
> $ env -i `type -P guix` --help
> zsh: bad option: -P

Then something like:

  env -i `which guix` --help

Anyway, the rest of your message confirms my intuition.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 May 2016 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.