Subject: bug#48184: Evaluating (current-guix) causes segfault

From: Leo Prikler <[email-masked]>
Date: Mon, 03 May 2021 14:27:34 +0200

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.