GNU bug report logs

#60140 Stack smashing detected after first guix pull on fresh Ubuntu 22.04 guix install

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#60140; Package guix. (Sat, 17 Dec 2022 03:35:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Andrews, Kyle (KC)" <KCAndrews@dow.com>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Sat, 17 Dec 2022 03:35:02 GMT) (full text, mbox, link).


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

From: "Andrews, Kyle (KC)" <KCAndrews@dow.com>
To: "bug-guix@gnu.org" <bug-guix@gnu.org>
Subject: Stack smashing detected after first guix pull on fresh Ubuntu 22.04 guix install
Date: Fri, 16 Dec 2022 17:17:42 +0000
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@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@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@ubuntu:~$ GUIX_PROFILE="/home/me/.config/guix/current"
me@ubuntu:~$ . "$GUIX_PROFILE/etc/profile"
me@ubuntu:~$ hash guix
me@ubuntu:~$ guix shell --help
*** stack smashing detected ***: terminated
Aborted (core dumped)
me@ubuntu:~$ guix --help
*** stack smashing detected ***: terminated
Aborted (core dumped)
me@ubuntu:~$ 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 60140 60141. Request was from Tobias Geerinckx-Rice <me@tobias.gr> to control@debbugs.gnu.org. (Sat, 17 Dec 2022 17:43:02 GMT) (full text, mbox, link).


Added tag(s) notabug. Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Tue, 17 Jan 2023 15:21:03 GMT) (full text, mbox, link).


bug closed, send any further explanations to 60141@debbugs.gnu.org and "Andrews, Kyle (KC)" <KCAndrews@dow.com> Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Tue, 17 Jan 2023 15:21:03 GMT) (full text, mbox, link).


bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Wed, 15 Feb 2023 12:24:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Nov 5 09:28:52 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.