GNU bug report logs -
#60141
Stack smashing detected after first guix pull on fresh Ubuntu 22.04 guix install
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60141 in the body.
You can then email your comments to 60141 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#60141
; Package
guix
.
(Sat, 17 Dec 2022 03:35:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Andrews, Kyle (KC)" <KCAndrews <at> dow.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 17 Dec 2022 03:35:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
My system administrator just installed guix for me thanks to it being so easy on Ubuntu.
To show it off, I wanted to make a quick demonstration to a colleague on how it makes it easy to create a reproducible python environment using `guix shell`. That command didn't seem to exist on the version of guix available from ubuntu (1.3.0). Not anticipating any problems, I thought I just needed to run `guix pull`.
#+BEGIN_QUOTE
me <at> ubuntu:~$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 8548ba5 (45,920 new commits)...
Building from this channel:
...
#+END_QUOTE
That errored out for me at the "computing derivation" stage the first time I ran it.
#+BEGIN_QUOTE
./guix/store.scm:1419:15: ERROR:
1. &store-protocol-error:
message: "`/usr/bin/guix substitute' died unexpectedly"
status: 1
guix pull: error: You found a bug: the program '/gnu/store/4fcbgpasw95hrbz7n7pnx6wnsc174vds-compute-guix-derivation'
failed to compute the derivation for Guix (version: "8548ba5847417eabe14aa08fa9861f91743bd3a1"; system: "x86_64-linux";
host version: "1.3.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.
#+END_QUOTE
Thankfully, running `guix pull` again immediately afterwards worked. This left me with the following familiar output.
#+BEGIN_QUOTE
building profile with 1 package...
hint: Consider setting the necessary environment variables by running:
GUIX_PROFILE="/home/u548962/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"
Alternately, see `guix package --search-paths -p "/home/u548962/.config/guix/current"'.
hint: After setting `PATH', run `hash guix' to make sure your shell refers to `/home/u548962/.config/guix/current/bin/guix'.
#+END_QOUTE
Being that this is a foreign distro, I thought I needed to run the hint lines to get the updated guix executable in my current terminal.
Instead, now I see:
#+BEGIN_QUOTE
me <at> ubuntu:~$ GUIX_PROFILE="/home/me/.config/guix/current"
me <at> ubuntu:~$ . "$GUIX_PROFILE/etc/profile"
me <at> ubuntu:~$ hash guix
me <at> ubuntu:~$ guix shell --help
*** stack smashing detected ***: terminated
Aborted (core dumped)
u548962 <at> mdu20prst01:~$ guix --help
*** stack smashing detected ***: terminated
Aborted (core dumped)
u548962 <at> mdu20prst01:~$ guix
*** stack smashing detected ***: terminated
Aborted (core dumped)
#+END_QUOTE
I was hopeful, but now the guix command does nothing at all.
General Business
Merged 60139 60141.
Request was from
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Dec 2022 11:58:02 GMT)
Full text and
rfc822 format available.
Merged 60139 60140 60141.
Request was from
Tobias Geerinckx-Rice <me <at> tobias.gr>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Dec 2022 17:43:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#60141
; Package
guix
.
(Thu, 12 Jan 2023 22:28:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 60141 <at> debbugs.gnu.org (full text, mbox):
I moved .config/guix to .config/guix.bkp and that allowed me to execute the basic guix 1.3.0 commands again. However, whatever I create the result is always the same. I get segmentation fault (core dumped). For example:
$ guix install hello
$ {{source the profile}}
$ hello
Segmentation fault (core dumped)
General Business
Information forwarded
to
bug-guix <at> gnu.org
:
bug#60141
; Package
guix
.
(Fri, 13 Jan 2023 16:44:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 60141 <at> debbugs.gnu.org (full text, mbox):
My system administrator let me know that the terminal I was presented with was sandboxed by RStudio Server (not running on Guix) and that this was responsible for causing the error.
I was able to run the hello command from an unsandboxed shell. I was also able to pull the latest version of guix using the same method.
General Business
-----Original Message-----
From: Andrews, Kyle (KC)
Sent: Thursday, January 12, 2023 5:28 PM
To: 60141 <at> debbugs.gnu.org
Subject: Follow-up
I moved .config/guix to .config/guix.bkp and that allowed me to execute the basic guix 1.3.0 commands again. However, whatever I create the result is always the same. I get segmentation fault (core dumped). For example:
$ guix install hello
$ {{source the profile}}
$ hello
Segmentation fault (core dumped)
General Business
Information forwarded
to
bug-guix <at> gnu.org
:
bug#60141
; Package
guix
.
(Tue, 17 Jan 2023 15:21:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 60141 <at> debbugs.gnu.org (full text, mbox):
Hi,
"Andrews, Kyle (KC)" <KCAndrews <at> dow.com> skribis:
> My system administrator let me know that the terminal I was presented with was sandboxed by RStudio Server (not running on Guix) and that this was responsible for causing the error.
>
> I was able to run the hello command from an unsandboxed shell. I was also able to pull the latest version of guix using the same method.
Thanks for reporting back. My guess would be that RStudio Server was
setting ‘LD_LIBRARY_PATH’, which in turn caused ‘guix’ to use the wrong
shared library at run-time, leading to that segfault.
I gather we can close this issue now, thanks.
Ludo’.
Added tag(s) notabug.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 17 Jan 2023 15:21:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
60141 <at> debbugs.gnu.org and "Andrews, Kyle (KC)" <KCAndrews <at> dow.com>
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 17 Jan 2023 15:21:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 15 Feb 2023 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 43 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.