Segmentation fault on guix pull / guix system reconfigure

  • Done
  • quality assurance status badge
Details
5 participants
  • Ayan Das
  • Julian Flake
  • Ludovic Courtès
  • Rodion Goritskov
  • Z572
Owner
unassigned
Submitted by
Rodion Goritskov
Severity
important
R
R
Rodion Goritskov wrote on 28 Aug 20:54 +0200
(address . bug-guix@gnu.org)
87ikvkiilm.fsf@bumblebee-mighty.mail-host-address-is-not-set
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@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
branch: master
commit: 0c908518375aea50be6dec703367c01944c8c721
nonguix 1d7c890
branch: master
commit: 1d7c890926a0f7c7abfce83b6cff42960a5f4228
little-guix-channel 74e2d20
branch: master
commit: 74e2d2009b6e3e8aa9d1dd8dbe5eb7553a84f46e
blogs f1e8181
branch: main
commit: f1e81810e56f243a168d5cb666bb45a32cab84a3
J
J
Julian Flake wrote on 29 Aug 08:27 +0200
confirmation
(address . 72859@debbugs.gnu.org)
87ikvjrghi.fsf@uni-koblenz.de
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@uni-koblenz.de
A
A
Ayan Das wrote on 29 Aug 10:28 +0200
Segmentation fault on guix pull / guix system reconfigure
(name . 72859@debbugs.gnu.org)(address . 72859@debbugs.gnu.org)
PN3PR01MB6902047F54556482B3A196559C962@PN3PR01MB6902.INDPRD01.PROD.OUTLOOK.COM
Greetings
I am facing the same issue at commit 41d05c7d65e3634e0986ac108ca8df68b141e9be which makes the switch to the patched libgit2@1.8 for guile-git:
??? ~ > guix describe 29 Aug 1:38:38
Generation 63     Aug 29 2024 12:32:36    (current)
guix 41d05c7
branch: master
commit: 41d05c7d65e3634e0986ac108ca8df68b141e9be
myguix 278e4df
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
branch: master
commit: 591972dfa14d401621cb060b6aac45989c342cd8
myguix 278e4df
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:
Computing Guix derivation for 'x86_64-linux'...
Sincerely,
Ayan
Attachment: file
Z
(name . Rodion Goritskov)(address . rodion.goritskov@gmail.com)(address . 72859@debbugs.gnu.org)
874j73g0j3.fsf@iscas.ac.cn
Rodion Goritskov <rodion.goritskov@gmail.com> writes:

Toggle quote (32 lines)
> 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@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.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmbQOlAACgkQO1qpk+Gi
3/DBBhAAnw111h74/YlZlNg+yqa25k1KtcewvVRDiUoBr9lILhkAdVob/uysT724
fBj+oqM28IXxVpiXFN9Z5JB40bgHX4dVD9KeA/Dy9tdi/zT3AK+DWHZ6vX6P/2IO
o98eRH7kfmRvyN3tFwFy68ETNfNYrJnlHItyXKiJJtmRgWYUbTDHoY5UA3KeOx+R
3sdiXBaSg7ZlbLOeInydYR7N7OF9tYj4ai2FcNFZgrhJqi/mzRg4iWKBGSb2mdem
C1Ky9XhqIM+6UnuhUGhlT1OJxGB1HDNFj2qnEa2i5RDvCC2IC5UetjQDrOJc+P35
cOj5/45xDBa65ogwKj7ww2lnTzIEvwPXRaLeJBP2iEvzhl5M5LKWp1KGXfj7ik0V
A2eGsWp8WAJf3A5xmmCR7T/OHe0BhdhQlzaF+8kUK65AF47WxnXGRdPZ/jxAIsN5
WJHPDaKt2XmDOg9ongDYAtH4KKMQa/6quQte72x/C3LZnSXbMgI8nUZ0h0EzXwjp
jpoFZe85qWTPLapzwgqNCG6PhWPIhCbHahb9k/WzjwCgcsmvijM2g3/GVRIdTgFu
7ERgV1jjY9mTdKxLrxTHoVmZLSgvtpAKhwYyOuboOyd/ke1nBS106i3Mbi8MrncA
rXcGMYmQRrY6+rk3NX7vMvZ00qedUGrWYapMzpoQlfv0McC33tU=
=GfIz
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 29 Aug 11:45 +0200
control message for bug #72859
(address . control@debbugs.gnu.org)
87o75bfysi.fsf@gnu.org
severity 72859 important
quit
L
L
Ludovic Courtès wrote on 29 Aug 13:53 +0200
Re: bug#72859: Segmentation fault on guix pull / guix system reconfigure
(name . Rodion Goritskov)(address . rodion.goritskov@gmail.com)(address . 72859@debbugs.gnu.org)
87ikvjfsu7.fsf@gnu.org
Hi,

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

Toggle quote (8 lines)
> 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@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’.
L
L
Ludovic Courtès wrote on 29 Aug 13:53 +0200
control message for bug #72859
(address . control@debbugs.gnu.org)
87h6b3fstl.fsf@gnu.org
close 72859
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 72859@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 72859
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch