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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48184 in the body.
You can then email your comments to 48184 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#48184; Package guix. (Mon, 03 May 2021 11:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Dashyan <mail <at> davie.li>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 03 May 2021 11:00:02 GMT) Full text and rfc822 format available.

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

From: David Dashyan <mail <at> davie.li>
To: bug-guix <at> gnu.org
Subject: Re: Evaluating (current-guix) causes segfault
Date: Mon, 03 May 2021 13:59:24 +0300
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

-- 
David aka zzappie




Information forwarded to bug-guix <at> gnu.org:
bug#48184; Package guix. (Mon, 03 May 2021 12:20:02 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: David Dashyan <mail <at> davie.li>, 48184 <at> debbugs.gnu.org
Subject: Re: Evaluating (current-guix) causes segfault
Date: Mon, 03 May 2021 14:18:59 +0200
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.





Information forwarded to bug-guix <at> gnu.org:
bug#48184; Package guix. (Mon, 03 May 2021 12:29:02 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: David Dashyan <mail <at> davie.li>, 48184 <at> debbugs.gnu.org
Subject: Re: Evaluating (current-guix) causes segfault
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.





Information forwarded to bug-guix <at> gnu.org:
bug#48184; Package guix. (Tue, 04 May 2021 20:03:02 GMT) Full text and rfc822 format available.

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’.




Information forwarded to bug-guix <at> gnu.org:
bug#48184; Package guix. (Sun, 26 Jun 2022 10:03:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: David Dashyan <mail <at> davie.li>, 48184 <at> debbugs.gnu.org
Subject: Re: bug#48184: Evaluating (current-guix) causes segfault
Date: Sun, 26 Jun 2022 12:01:56 +0200
Hi,

Am Dienstag, dem 04.05.2021 um 22:02 +0200 schrieb Ludovic Courtès:
> 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’.
Is this bug still relevant?  Otherwise I'd suggest closing it :)





Reply sent to Maxime Devos <maximedevos <at> telenet.be>:
You have taken responsibility. (Sun, 26 Jun 2022 10:14:01 GMT) Full text and rfc822 format available.

Notification sent to David Dashyan <mail <at> davie.li>:
bug acknowledged by developer. (Sun, 26 Jun 2022 10:14:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, Ludovic
 Courtès <ludo <at> gnu.org>
Cc: David Dashyan <mail <at> davie.li>, 48184-done <at> debbugs.gnu.org
Subject: Re: bug#48184: Evaluating (current-guix) causes segfault
Date: Sun, 26 Jun 2022 12:09:51 +0200
[Message part 1 (text/plain, inline)]
Liliana Marie Prikler schreef op zo 26-06-2022 om 12:01 [+0200]:
> > 
> > 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.

[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Jul 2022 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 275 days ago.

Previous Next


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