From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40125: Problem with guix offload: Remote channel closed Date: Sun, 22 Mar 2020 21:45:57 +0100 Message-ID: <8736a0uni2.fsf@gnu.org> References: <87eetl1zce.fsf@gnu.org> <87pnd5wdyq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40084) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG7Ut-0008QY-JP for bug-guix@gnu.org; Sun, 22 Mar 2020 16:47:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jG7Us-00078c-Fr for bug-guix@gnu.org; Sun, 22 Mar 2020 16:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45027) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jG7Us-00078W-Br for bug-guix@gnu.org; Sun, 22 Mar 2020 16:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jG7Us-0005QG-Ai for bug-guix@gnu.org; Sun, 22 Mar 2020 16:47:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Mikael Djurfeldt's message of "Sun, 22 Mar 2020 19:21:02 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Mikael Djurfeldt Cc: 40125@debbugs.gnu.org Hello! Mikael Djurfeldt skribis: > This error message is more common. In this case, I couldn't see anything > obviously strange except the following backtrace which contains strange > characters: > > 31963 write(2, "Backtrace:\n 13 (apply-smob/1 # 56464c2232a0>)\nIn ice-9/boot-9.scm:\n 718:2 12 (call-with-prompt > (\"prompt\") # \342\200\246)\nIn > ice-9/eval.scm:\n 619:8 11 (_ #(#(# 56464c2c4750>)))\nIn ice-9/command-line.scm:\n 181:18 10 (_ # string 56464c2d2bd0>)\nIn unknown file:\n 9 (eval (begin > (use-modules (guix) (srfi srfi-34) # #) \342\200\246) #)\nIn > ice-9/eval.scm:\n 721:20 8 (primitive-eval (begin (use-modules (guix) > (srfi \342\200\246) \342"..., 1150 We=E2=80=99re missing a tiny bit. :-) Could you run strace with =E2=80=98= -s 3000=E2=80=99 or similar so that it doesn=E2=80=99t truncate it? (The =E2=80=9Cstrange characters=E2=80=9D are Unicode HORIZONTAL ELLIPSIS.) > I have also noticed that the above (the error message) happens inside the > function send-files. It is the last error clause at the end of the functi= on > which reports the error message. > > I'd like to be able to, e.g., modify the function send-files to give some > debugging output. How can I easily do that? Should I checkout guix with g= it > and try to run it in the source tree? Or do you have other suggestions? Note that the problems happens on the remote machine, which is what makes it harder to debug. If you want to debug (guix ssh), you=E2=80=99ll then have to run the daemon= from your Git checkout to exercise that code: sudo -E ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild HTH! Ludo=E2=80=99.