unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48184: Evaluating (current-guix) causes segfault
@ 2021-05-03 10:59 David Dashyan
  2021-05-03 12:18 ` Leo Prikler
  0 siblings, 1 reply; 6+ messages in thread
From: David Dashyan @ 2021-05-03 10:59 UTC (permalink / raw)
  To: 48184


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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#48184: Evaluating (current-guix) causes segfault
  2021-05-03 10:59 bug#48184: Evaluating (current-guix) causes segfault David Dashyan
@ 2021-05-03 12:18 ` Leo Prikler
  2021-05-03 12:27   ` Leo Prikler
  0 siblings, 1 reply; 6+ messages in thread
From: Leo Prikler @ 2021-05-03 12:18 UTC (permalink / raw)
  To: David Dashyan, 48184

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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#48184: Evaluating (current-guix) causes segfault
  2021-05-03 12:18 ` Leo Prikler
@ 2021-05-03 12:27   ` Leo Prikler
  2021-05-04 20:02     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Leo Prikler @ 2021-05-03 12:27 UTC (permalink / raw)
  To: David Dashyan, 48184

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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#48184: Evaluating (current-guix) causes segfault
  2021-05-03 12:27   ` Leo Prikler
@ 2021-05-04 20:02     ` Ludovic Courtès
  2022-06-26 10:01       ` Liliana Marie Prikler
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2021-05-04 20:02 UTC (permalink / raw)
  To: Leo Prikler; +Cc: David Dashyan, 48184

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#48184: Evaluating (current-guix) causes segfault
  2021-05-04 20:02     ` Ludovic Courtès
@ 2022-06-26 10:01       ` Liliana Marie Prikler
  2022-06-26 10:09         ` Maxime Devos
  0 siblings, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2022-06-26 10:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: David Dashyan, 48184

Hi,

Am Dienstag, dem 04.05.2021 um 22:02 +0200 schrieb Ludovic Courtès:
> 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 :)





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#48184: Evaluating (current-guix) causes segfault
  2022-06-26 10:01       ` Liliana Marie Prikler
@ 2022-06-26 10:09         ` Maxime Devos
  0 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-06-26 10:09 UTC (permalink / raw)
  To: Liliana Marie Prikler, Ludovic Courtès; +Cc: David Dashyan, 48184-done

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

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.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-26 10:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 10:59 bug#48184: Evaluating (current-guix) causes segfault David Dashyan
2021-05-03 12:18 ` Leo Prikler
2021-05-03 12:27   ` Leo Prikler
2021-05-04 20:02     ` Ludovic Courtès
2022-06-26 10:01       ` Liliana Marie Prikler
2022-06-26 10:09         ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).