GNU bug report logs - #72859
Segmentation fault on guix pull / guix system reconfigure

Previous Next

Package: guix;

Reported by: Rodion Goritskov <rodion.goritskov <at> gmail.com>

Date: Wed, 28 Aug 2024 18:56:02 UTC

Severity: important

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

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 72859 in the body.
You can then email your comments to 72859 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#72859; Package guix. (Wed, 28 Aug 2024 18:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rodion Goritskov <rodion.goritskov <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 28 Aug 2024 18:56:02 GMT) Full text and rfc822 format available.

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

From: Rodion Goritskov <rodion.goritskov <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Segmentation fault on guix pull / guix system reconfigure
Date: Wed, 28 Aug 2024 22:54:13 +0400
Hello!

Today, after successfully doing the "guix pull" command, subsequent runs
of "guix pull" or "sudo guix system reconfigure" leads to the following
uninformative error:

rodion <at> bumblebee-mighty ~$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Segmentation fault

I couldn't obtain any more information (--debug option doesn't lead to
any additional logs)

"guix describe" output is the following:
Generation 134  Aug 28 2024 21:57:39    (current)
  guix 0c90851
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 0c908518375aea50be6dec703367c01944c8c721
  nonguix 1d7c890
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: 1d7c890926a0f7c7abfce83b6cff42960a5f4228
  little-guix-channel 74e2d20
    repository URL: https://git.goritskov.com/rodion/little-guix-channel.git
    branch: master
    commit: 74e2d2009b6e3e8aa9d1dd8dbe5eb7553a84f46e
  blogs f1e8181
    repository URL: https://git.goritskov.com/rodion/blogs.git
    branch: main
    commit: f1e81810e56f243a168d5cb666bb45a32cab84a3




Information forwarded to bug-guix <at> gnu.org:
bug#72859; Package guix. (Thu, 29 Aug 2024 06:29:02 GMT) Full text and rfc822 format available.

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

From: Julian Flake <flake <at> uni-koblenz.de>
To: 72859 <at> debbugs.gnu.org
Subject: confirmation
Date: Thu, 29 Aug 2024 08:27:21 +0200
Hi,

I can confirm this observation with the same commit hashes (except 
for your personal channels, of course).

Best Regards,
Julian

-- 
Dipl.-Inf. Julian Flake

University of Koblenz
Faculty 4: Computer Science
Institute for Software Technology
PB 20 16 02 | D-56016 Koblenz | Germany

Voice: +49 261 287 2787
Email: flake <at> uni-koblenz.de
https://www.uni-koblenz.de/~flake




Information forwarded to bug-guix <at> gnu.org:
bug#72859; Package guix. (Thu, 29 Aug 2024 08:57:02 GMT) Full text and rfc822 format available.

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

From: Ayan Das <ayand <at> iisc.ac.in>
To: "72859 <at> debbugs.gnu.org" <72859 <at> debbugs.gnu.org>
Subject: Segmentation fault on guix pull / guix system reconfigure
Date: Thu, 29 Aug 2024 08:28:11 +0000
[Message part 1 (text/plain, inline)]
Greetings

I am facing the same issue at commit 41d05c7d65e3634e0986ac108ca8df68b141e9be which makes the switch to the patched libgit2 <at> 1.8 for guile-git:

カオス ~ > guix describe                                                                              29 Aug  1:38:38
Generation 63     Aug 29 2024 12:32:36    (current)
  guix 41d05c7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 41d05c7d65e3634e0986ac108ca8df68b141e9be
  myguix 278e4df
    repository URL: https://github.com/b-vitamins/myguix.git
    branch: master
    commit: 278e4dfc6eb5f8e8651ae13fb8594d9a62718a92
カオス ~ > guix pull                                                                                  29 Aug  1:38:52
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Updating channel 'myguix' from Git repository at 'https://github.com/b-vitamins/myguix.git'...
zsh: segmentation fault  guix pull
カオス ~ > guix pull --roll-back                                                                      29 Aug  1:39:05
switched from generation 63 to 62
カオス ~ > guix describe                                                                              29 Aug  1:39:08
Generation 62     Aug 29 2024 13:27:07    (current)
  guix 591972d
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 591972dfa14d401621cb060b6aac45989c342cd8
  myguix 278e4df
    repository URL: https://github.com/b-vitamins/myguix.git
    branch: master
    commit: 278e4dfc6eb5f8e8651ae13fb8594d9a62718a92
カオス ~ > guix pull                                                                                  29 Aug  1:39:14
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Updating channel 'myguix' from Git repository at 'https://github.com/b-vitamins/myguix.git'...
Building from these channels:
  guix      https://git.savannah.gnu.org/git/guix.git 41d05c7
  myguix    https://github.com/b-vitamins/myguix.git  278e4df
Computing Guix derivation for 'x86_64-linux'...

Sincerely,
Ayan

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#72859; Package guix. (Thu, 29 Aug 2024 09:09:01 GMT) Full text and rfc822 format available.

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

From: Z572 <zhengjunjie <at> iscas.ac.cn>
To: Rodion Goritskov <rodion.goritskov <at> gmail.com>
Cc: 72859 <at> debbugs.gnu.org
Subject: Re: bug#72859: Segmentation fault on guix pull / guix system
 reconfigure
Date: Thu, 29 Aug 2024 17:07:28 +0800
[Message part 1 (text/plain, inline)]
Rodion Goritskov <rodion.goritskov <at> gmail.com> writes:

> Hello!
>
> Today, after successfully doing the "guix pull" command, subsequent runs
> of "guix pull" or "sudo guix system reconfigure" leads to the following
> uninformative error:
>
> rodion <at> bumblebee-mighty ~$ guix pull
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Segmentation fault
>
> I couldn't obtain any more information (--debug option doesn't lead to
> any additional logs)
>
> "guix describe" output is the following:
> Generation 134  Aug 28 2024 21:57:39    (current)
>   guix 0c90851
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 0c908518375aea50be6dec703367c01944c8c721
>   nonguix 1d7c890
>     repository URL: https://gitlab.com/nonguix/nonguix
>     branch: master
>     commit: 1d7c890926a0f7c7abfce83b6cff42960a5f4228
>   little-guix-channel 74e2d20
>     repository URL: https://git.goritskov.com/rodion/little-guix-channel.git
>     branch: master
>     commit: 74e2d2009b6e3e8aa9d1dd8dbe5eb7553a84f46e
>   blogs f1e8181
>     repository URL: https://git.goritskov.com/rodion/blogs.git
>     branch: main
>     commit: f1e81810e56f243a168d5cb666bb45a32cab84a3

look like revert 41d05c7d65e3634e0986ac108ca8df68b141e9be (gnu: guile-git: Switch to libgit2 1.8.) can fix it.
[signature.asc (application/pgp-signature, inline)]

Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 29 Aug 2024 09:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#72859; Package guix. (Thu, 29 Aug 2024 11:55:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Rodion Goritskov <rodion.goritskov <at> gmail.com>
Cc: 72859 <at> debbugs.gnu.org
Subject: Re: bug#72859: Segmentation fault on guix pull / guix system
 reconfigure
Date: Thu, 29 Aug 2024 13:53:36 +0200
Hi,

Rodion Goritskov <rodion.goritskov <at> gmail.com> skribis:

> Today, after successfully doing the "guix pull" command, subsequent runs
> of "guix pull" or "sudo guix system reconfigure" leads to the following
> uninformative error:
>
> rodion <at> bumblebee-mighty ~$ guix pull
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Segmentation fault

Turns out my libgit2 fix was partial.  Fixed with
d5312370b46ace47e138d84e1bb28e5651cee94b.

To come back to a usable state, you can do:

  guix pull --roll-back && guix pull

Alternatively, you can run ‘guix pull’ using another, bug-free ‘guix’,
as in:

  /run/current-system/profile/bin/guix pull

Thanks for quickly reporting the bug!

Ludo’.




bug closed, send any further explanations to 72859 <at> debbugs.gnu.org and Rodion Goritskov <rodion.goritskov <at> gmail.com> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 29 Aug 2024 11:56:01 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. (Fri, 27 Sep 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 269 days ago.

Previous Next


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