GNU bug report logs - #34484
GCL: segfault on invocation on x86_64 and i686

Previous Next

Package: guix;

Reported by: Diego Nicola Barbato <dnbarbato <at> posteo.de>

Date: Fri, 15 Feb 2019 08:42:02 UTC

Severity: normal

Done: Diego Nicola Barbato <dnbarbato <at> posteo.de>

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 34484 in the body.
You can then email your comments to 34484 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#34484; Package guix. (Fri, 15 Feb 2019 08:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Diego Nicola Barbato <dnbarbato <at> posteo.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 15 Feb 2019 08:42:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: bug-guix <at> gnu.org
Subject: GCL: segfault on invocation on x86_64 and i686
Date: Fri, 15 Feb 2019 09:29:31 +0100
Hello Guix,

GCL segfaults upon execution on x86_64 and i686.  This is most likely
the reason why Maxima fails to build on those architectures [0] [1].

This is what I tried:

--8<---------------cut here---------------start------------->8---

diego <at> GLaDOS ~$ guix build gcl
/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2
diego <at> GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2/bin/gcl
Speicherzugriffsfehler
diego <at> GLaDOS ~$ guix build -s i686-linux gcl
/gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2
diego <at> GLaDOS ~$ /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2/bin/gcl
Speicherzugriffsfehler

--8<---------------cut here---------------end--------------->8---

I also tried building GCL locally to check if this was something
non-deterministic with the same result:

--8<---------------cut here---------------start------------->8---

diego <at> GLaDOS ~$ guix build gcl --check --keep-failed

[...]

phase `compress-documentation' succeeded after 0.1 seconds
note: keeping build directory `/tmp/guix-build-gcl-2.6.12-2.d3335e2.drv-4'
guix build: error: derivation `/gnu/store/kljywjw5a3wpcqk67p1isrrgy5yxgp21-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check’
diego <at> GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check/bin/gcl
Speicherzugriffsfehler
diego <at> GLaDOS ~$ guix build gcl -s i686-linux --check --keep-failed

[...]

phase `compress-documentation' succeeded after 0.1 seconds
note: keeping build directory `/tmp/guix-build-gcl-2.6.12-2.d3335e2.drv-3'
guix build: error: derivation `/gnu/store/p7r9c9kqf4gafik0a3q9fl0ry8hks99f-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2-check’
diego <at> GLaDOS ~$ /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2-check/bin/gcl
Speicherzugriffsfehler

--8<---------------cut here---------------end--------------->8---

GCL works fine on armhf (I did not try it on aarch64).

I run Guix System (commit: 571a01d) on x86_64.

Regards,

Diego


[0]: https://berlin.guixsd.org/build/943168 (x86_64)
[1]: https://berlin.guixsd.org/build/943189 (i686)




Information forwarded to bug-guix <at> gnu.org:
bug#34484; Package guix. (Mon, 11 Mar 2019 22:51:01 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 34484 <at> debbugs.gnu.org
Subject: Re: GCL: segfault on invocation on x86_64 and i686
Date: Mon, 11 Mar 2019 23:50:06 +0100
Diego Nicola Barbato <dnbarbato <at> posteo.de> writes:

> Hello Guix,
>
> GCL segfaults upon execution on x86_64 and i686.  This is most likely
> the reason why Maxima fails to build on those architectures [0] [1].
>
> This is what I tried:
>
>
> diego <at> GLaDOS ~$ guix build gcl
> /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2
> diego <at> GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2/bin/gcl
> Speicherzugriffsfehler
> diego <at> GLaDOS ~$ guix build -s i686-linux gcl
> /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2
> diego <at> GLaDOS ~$ /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2/bin/gcl
> Speicherzugriffsfehler
>
>
> I also tried building GCL locally to check if this was something
> non-deterministic with the same result:
>
>
> diego <at> GLaDOS ~$ guix build gcl --check --keep-failed
>
> [...]
>
> phase `compress-documentation' succeeded after 0.1 seconds
> note: keeping build directory `/tmp/guix-build-gcl-2.6.12-2.d3335e2.drv-4'
> guix build: error: derivation `/gnu/store/kljywjw5a3wpcqk67p1isrrgy5yxgp21-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check’
> diego <at> GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check/bin/gcl
> Speicherzugriffsfehler
> diego <at> GLaDOS ~$ guix build gcl -s i686-linux --check --keep-failed
>
> [...]
>
> phase `compress-documentation' succeeded after 0.1 seconds
> note: keeping build directory `/tmp/guix-build-gcl-2.6.12-2.d3335e2.drv-3'
> guix build: error: derivation `/gnu/store/p7r9c9kqf4gafik0a3q9fl0ry8hks99f-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2-check’
> diego <at> GLaDOS ~$ /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2-check/bin/gcl
> Speicherzugriffsfehler
>
> GCL works fine on armhf (I did not try it on aarch64).
>
> I run Guix System (commit: 571a01d) on x86_64.
>
> Regards,
>
> Diego
>
>
> [0]: https://berlin.guixsd.org/build/943168 (x86_64)
> [1]: https://berlin.guixsd.org/build/943189 (i686)

Some additional information:

GCL does not segfault if I get the substitute from hydra (where Maxima
builds successfully).  It does segfault (on the aforementioned
architectures) if I get the substitute from berlin (where Maxima fails
to build) and if I build it locally.

Here is what I have tried (I get the same results when passing
‘--system=i686-linux’ to the build commands):

--8<---------------cut here---------------start------------->8---
diego <at> GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2) 

[...]

diego <at> GLaDOS ~$ $(guix build --substitute-urls=https://mirror.hydra.gnu.org gcl)/bin/gcl
7.1 MB werden heruntergeladen:
   /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2
Substituiere /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 …
Lade von https://mirror.hydra.gnu.org/guix/nar/gzip/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 herunter …
 gcl-2.6.12-2.d3335e2  6.8MiB         2.7MiB/s 00:03 [##################] 100.0%

GCL (GNU Common Lisp)  2.6.12 ANSI    Fri Apr 22 15:51:11 UTC 2016
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (READLINE UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files:
/tmp/

>
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
diego <at> GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2) 

[...]

diego <at> GLaDOS ~$ $(guix build --substitute-urls=https://berlin.guixsd.org gcl)/bin/gcl
7.1 MB werden heruntergeladen:
   /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2
Substituiere /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 …
Lade von https://berlin.guixsd.org/nar/gzip/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 herunter …
 gcl-2.6.12-2.d3335e2  6.7MiB         2.4MiB/s 00:03 [##################] 100.0%

Speicherzugriffsfehler
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
diego <at> GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2) 

[...]

diego <at> GLaDOS ~$ guix build --check --keep-failed gcl

[...]

guix build: error: derivation `/gnu/store/k5ygbl35phqr31bbnmkhsay4akw7l9ja-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check’
diego <at> GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check/bin/gcl
Speicherzugriffsfehler
--8<---------------cut here---------------end--------------->8---

I have built GCL locally a couple of times and it always segfaults.

My Guix is currently on commit 0bd1498.

Regards,

Diego




Reply sent to Diego Nicola Barbato <dnbarbato <at> posteo.de>:
You have taken responsibility. (Fri, 27 Sep 2019 07:01:01 GMT) Full text and rfc822 format available.

Notification sent to Diego Nicola Barbato <dnbarbato <at> posteo.de>:
bug acknowledged by developer. (Fri, 27 Sep 2019 07:01:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 34484-done <at> debbugs.gnu.org
Subject: Re: GCL: segfault on invocation on x86_64 and i686
Date: Fri, 27 Sep 2019 09:00:29 +0200
Hi Guix,

I'm closing this bug since it has been fixed a while ago as a side
effect of … something.  I don't know how it was fixed or even if it was
fixed on purpose, but I'm glad it's gone.

Regards,

Diego




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Oct 2019 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 178 days ago.

Previous Next


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