unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53142: cuirass: useless guile backtraces.
@ 2022-01-09 15:57 Mathieu Othacehe
  2022-01-09 16:11 ` Maxime Devos
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Othacehe @ 2022-01-09 15:57 UTC (permalink / raw)
  To: 53142


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




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

* bug#53142: cuirass: useless guile backtraces.
  2022-01-09 15:57 bug#53142: cuirass: useless guile backtraces Mathieu Othacehe
@ 2022-01-09 16:11 ` Maxime Devos
  2022-01-10  8:17   ` Mathieu Othacehe
  0 siblings, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-01-09 16:11 UTC (permalink / raw)
  To: Mathieu Othacehe, 53142

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

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.

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

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

* bug#53142: cuirass: useless guile backtraces.
  2022-01-09 16:11 ` Maxime Devos
@ 2022-01-10  8:17   ` Mathieu Othacehe
  2022-01-19  9:46     ` Mathieu Othacehe
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Othacehe @ 2022-01-10  8:17 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 53142


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




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

* bug#53142: cuirass: useless guile backtraces.
  2022-01-10  8:17   ` Mathieu Othacehe
@ 2022-01-19  9:46     ` Mathieu Othacehe
  0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2022-01-19  9:46 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 53142-done


Hey,

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

Found the issue and fixed it with:
07a419e34a31c017c69ec31243c12aa858e2f15f.

Thanks,

Mathieu




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

end of thread, other threads:[~2022-01-19  9:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-09 15:57 bug#53142: cuirass: useless guile backtraces Mathieu Othacehe
2022-01-09 16:11 ` Maxime Devos
2022-01-10  8:17   ` Mathieu Othacehe
2022-01-19  9:46     ` Mathieu Othacehe

Code repositories for project(s) associated with this 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).