From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30365: Offloading sometimes hangs Date: Sat, 10 Feb 2018 12:07:13 +0100 Message-ID: <87bmgxw1b2.fsf@gnu.org> References: <877erq8med.fsf@gnu.org> <87o9l0zzk1.fsf@gnu.org> <87mv0hwy75.fsf@gnu.org> <8737296tee.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekT0n-0007IK-NK for bug-guix@gnu.org; Sat, 10 Feb 2018 06:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekT0k-0007yU-Ev for bug-guix@gnu.org; Sat, 10 Feb 2018 06:08:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:56456) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekT0k-0007yI-BC for bug-guix@gnu.org; Sat, 10 Feb 2018 06:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekT0k-0003gq-5l for bug-guix@gnu.org; Sat, 10 Feb 2018 06:08:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737296tee.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 10 Feb 2018 11:17:13 +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.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 30365@debbugs.gnu.org Hello, Ricardo Wurmus skribis: >> ludo@gnu.org (Ludovic Court=C3=A8s) skribis: >> >>> So what we have here is that the Scheme procedure =E2=80=98select=E2=80= =99 returned >>> stdin as =E2=80=9Cready for reading=E2=80=9D. How did that happen? I = believe this is >>> due to : =E2=80=98scm_i_prepare_to_wait_on_= fd=E2=80=99 >>> returns 1, so =E2=80=98select=E2=80=99 returns EINTR but it does so wit= hout clearing the >>> FD sets. >> >> I=E2=80=99ve pushed a workaround here: >> >> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D8446dc5a360e3a= 13fecea870f86efdbd893e3905 >> >> and guix-0.14.0-8.bc880f9 includes that fix. >> >> It=E2=80=99s been running for several hours on berlin, building a bunch = of >> things notably on aarch64, and it seems to work well! > > Congratulations on figuring this out! Well it did show up again during the night. :-/ So the problem appears less frequently it seems, but it still appears. A related issue is that =E2=80=98guix offload=E2=80=99 doesn=E2=80=99t time= out in this case but it probably should. Ludo=E2=80=99.