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
[-- 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 --]
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
Hey,
> Let's see if the backtraces are now more interesting to read.
Found the issue and fixed it with:
07a419e34a31c017c69ec31243c12aa858e2f15f.
Thanks,
Mathieu