Evaluating (current-guix) causes segfault

  • Done
  • quality assurance status badge
Details
5 participants
  • Leo Prikler
  • Liliana Marie Prikler
  • Ludovic Courtès
  • David Dashyan
  • Maxime Devos
Owner
unassigned
Submitted by
David Dashyan
Severity
normal

Debbugs page

David Dashyan wrote 4 years ago
(address . bug-guix@gnu.org)
87h7jkdqwj.fsf@davie.li
David Dashyan writes:

Here my guix describe output:
guix 065d2cd
branch: master
commit: 065d2cd6ced96ddb38c15a46f798488f61660a33

What I did?
$ guile
Toggle quote (2 lines)
> ,use (gnu packages package-management)
> (current-guix)
$ Segmentation fault

--
David aka zzappie
Leo Prikler wrote 4 years ago
bb34b4502b32ef11906491502e940289565da1b0.camel@student.tugraz.at
Am Montag, den 03.05.2021, 13:59 +0300 schrieb David Dashyan:
Toggle quote (13 lines)
> 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.
Leo Prikler wrote 4 years ago
c6542d92c973294212a221e4e3ac3ed6450ce6fa.camel@student.tugraz.at
Am Montag, den 03.05.2021, 14:18 +0200 schrieb Leo Prikler:
Toggle quote (19 lines)
> 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.
Ludovic Courtès wrote 4 years ago
Re: bug#48184: Evaluating (current-guix) causes segfault
(name . Leo Prikler)(address . leo.prikler@student.tugraz.at)
87v97yl12x.fsf@gnu.org
Hi,

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

Toggle quote (23 lines)
> 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’.
Liliana Marie Prikler wrote 3 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)
22c7c21246efe858658385f2b095ef2cb56dbd5c.camel@gmail.com
Hi,

Am Dienstag, dem 04.05.2021 um 22:02 +0200 schrieb Ludovic Courtès:
Toggle quote (38 lines)
> Hi,
>
> Leo Prikler <leo.prikler@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’.
Is this bug still relevant? Otherwise I'd suggest closing it :)
Maxime Devos wrote 3 years ago
de699bda69adfbb7e6570ab6929cd34f83826104.camel@telenet.be
Liliana Marie Prikler schreef op zo 26-06-2022 om 12:01 [+0200]:
Toggle quote (15 lines)
> >
> > 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’.
> Is this bug still relevant?  Otherwise I'd suggest closing it :)

Can't reproduce in local "guix repl", so seems to me that the issue has
been fixed, so closing. Feel free to reopen if there's stil lan issue.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYrgwZRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sw8AQDUUlyHVSBrdSnaw5GPJBnMv+3x
GQsA+I4b0xSJTuEJdAEAinR7PYuwYTTNBQJ/xVQ0DoGtj0dtgtw06izAXop8qwU=
=ukl/
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 48184
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
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help