GNU bug report logs - #48184
Evaluating (current-guix) causes segfault

Previous Next

Package: guix;

Reported by: David Dashyan <mail <at> davie.li>

Date: Mon, 3 May 2021 11:00:01 UTC

Severity: normal

Done: Maxime Devos <maximedevos <at> telenet.be>

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>
Cc: David Dashyan <mail <at> davie.li>, 48184 <at> debbugs.gnu.org
Subject: Re: bug#48184: Evaluating (current-guix) causes segfault
Date: Tue, 04 May 2021 22:02:14 +0200
Hi,

Leo Prikler <leo.prikler <at> student.tugraz.at> skribis:

> Am Montag, den 03.05.2021, 14:18 +0200 schrieb Leo Prikler:
>> Am Montag, den 03.05.2021, 13:59 +0300 schrieb David Dashyan:
>> > David Dashyan writes:
>> > 
>> >  Here my guix describe output:
>> >    guix 065d2cd
>> >      repository URL: https://git.savannah.gnu.org/git/guix.git
>> >      branch: master
>> >      commit: 065d2cd6ced96ddb38c15a46f798488f61660a33
>> > 
>> >  What I did?
>> >  $ guile
>> > > ,use (gnu packages package-management)
>> > > (current-guix)
>> >  $ Segmentation fault
>> I think you ought to run the above inside a `guix repl' rather than
>> your personal guile, where it yields a package.  As for why it
>> doesn't
>> when launched from your personal guile, let me get back to you after
>> some investigation.
> Follow-up, it appears we're abusing libgit in a manner similar to the
> one fixed by 5b35c9adc899749a0bd96a0e6d2c3bbf88e38963.

I think 5b35c9adc899749a0bd96a0e6d2c3bbf88e38963 fixes the issue.

David, can you try the same thing in ‘guix repl’ instead of ‘guile’?  It
works for me.

(When you’re just running ‘guile’, you’re likely loading modules from
/run/current-system/profile/share/guile, which may come from an older
revision than the one ‘guix describe’ prints.)

Thanks,
Ludo’.




This bug report was last modified 2 years and 331 days ago.

Previous Next


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