GNU bug report logs - #53142
cuirass: useless guile backtraces.

Previous Next

Package: guix;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Sun, 9 Jan 2022 15:58:01 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

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 53142 in the body.
You can then email your comments to 53142 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#53142; Package guix. (Sun, 09 Jan 2022 15:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Othacehe <othacehe <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 09 Jan 2022 15:58:01 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: cuirass: useless guile backtraces.
Date: Sun, 09 Jan 2022 16:57:01 +0100
Hello,

On berlin, the cuirass-remote-server process experiences some crashes:

--8<---------------cut here---------------start------------->8---
64324951:In ice-9/eval.scm:
64324952-    619:8  2 (_ #(#(#<directory (cuirass scripts remote-server) ?> ?)))
64324953-    619:8  1 (_ #(#(#(#(#(#(#<directory (cuirass scr?> ?)) ?) ?) ?) ?))
64324954-2022-01-09T11:03:14 debug: 141.80.167.181 (BxlgA2Wd): no available build.
64324955:In ice-9/boot-9.scm:
64324956-  1685:16  0 (raise-exception _ #:continuable? _)
64324957-2022-01-09T11:03:14 debug: 141.80.167.180 (R0kGMoI8): request work.
64324958:ice-9/boot-9.scm:1685:16: In procedure raise-exception:
64324959:In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f
--8<---------------cut here---------------end--------------->8---

and,

--8<---------------cut here---------------start------------->8---
64325600:In ice-9/eval.scm:
64325601-    619:8  2 (_ #(#(#<directory (cuirass scripts remote-server) ?> ?)))
64325602-    619:8  1 (_ #(#(#(#(#(#(#<directory (cuirass scr?> ?)) ?) ?) ?) ?))
64325603:In ice-9/boot-9.scm:
64325604-  1685:16  0 (raise-exception _ #:continuable? _)
64325605-2022-01-09T11:03:44 debug: 141.80.167.161 (gnijzoxQ): no available build.
64325606:ice-9/boot-9.scm:1685:16: In procedure raise-exception:
64325607:In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f
--8<---------------cut here---------------end--------------->8---

Any idea how to make those backtraces more helpful?

Thanks,

Mathieu




Information forwarded to bug-guix <at> gnu.org:
bug#53142; Package guix. (Sun, 09 Jan 2022 16:13:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Mathieu Othacehe <othacehe <at> gnu.org>, 53142 <at> debbugs.gnu.org
Subject: Re: bug#53142: cuirass: useless guile backtraces.
Date: Sun, 09 Jan 2022 16:11:55 +0000
[Message part 1 (text/plain, inline)]
Mathieu Othacehe schreef op zo 09-01-2022 om 16:57 [+0100]:
> 64325600:In ice-9/eval.scm:
> 64325601-    619:8  2 (_ #(#(#<directory (cuirass scripts remote-server) ?> ?)))
> 64325602-    619:8  1 (_ #(#(#(#(#(#(#<directory (cuirass scr?> ?)) ?) ?) ?) ?))
> 64325603:In ice-9/boot-9.scm:
> 64325604-  1685:16  0 (raise-exception _ #:continuable? _)
> 64325605-2022-01-09T11:03:44 debug: 141.80.167.161 (gnijzoxQ): no available build.
> 64325606:ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> 64325607:In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f
> --8<---------------cut here---------------end--------------->8---
> 
> Any idea how to make those backtraces more helpful?

Set COLUMNS=9000, then Guile stop trying to fit them in 80 columns,
it will try 9000 columns instead.

Also, backtraces are clearer for compiled code (avoiding (ice-9 eval)).
Is (cuirass scripts remote-server) compiled to .go?

There's might be guile variable you could set as well (or an argument
to 'backtrace'?), but I forgot the details.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#53142; Package guix. (Mon, 10 Jan 2022 08:18:01 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 53142 <at> debbugs.gnu.org
Subject: Re: bug#53142: cuirass: useless guile backtraces.
Date: Mon, 10 Jan 2022 09:17:47 +0100
Hello Maxime,

Thanks for the suggestions.

> Set COLUMNS=9000, then Guile stop trying to fit them in 80 columns,
> it will try 9000 columns instead.
>
> Also, backtraces are clearer for compiled code (avoiding (ice-9 eval)).
> Is (cuirass scripts remote-server) compiled to .go?

The (cuirass scripts) modules were indeed not compiled, this is fixed
with:
https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/commit/?id=95c29ab9abcd67ebeeee386ff043a7c52680526e.

I also set COLUMNS=500 with:
https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/commit/?id=16906595cf4bbeaff31ceaedc14c5443f773293c.

Let's see if the backtraces are now more interesting to read.

Mathieu




Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Wed, 19 Jan 2022 09:47:01 GMT) Full text and rfc822 format available.

Notification sent to Mathieu Othacehe <othacehe <at> gnu.org>:
bug acknowledged by developer. (Wed, 19 Jan 2022 09:47:01 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 53142-done <at> debbugs.gnu.org
Subject: Re: bug#53142: cuirass: useless guile backtraces.
Date: Wed, 19 Jan 2022 10:46:07 +0100
Hey,

> Let's see if the backtraces are now more interesting to read.

Found the issue and fixed it with:
07a419e34a31c017c69ec31243c12aa858e2f15f.

Thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 16 Feb 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 62 days ago.

Previous Next


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