unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / 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; 4+ 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] 4+ 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; 4+ 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] 4+ 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; 4+ 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] 4+ 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
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2021-05-04 20:03 UTC | newest]

Thread overview: 4+ 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

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git