From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#30365: Offloading sometimes hangs Date: Sat, 10 Feb 2018 11:17:13 +0100 Message-ID: <8737296tee.fsf@elephly.net> References: <877erq8med.fsf@gnu.org> <87o9l0zzk1.fsf@gnu.org> <87mv0hwy75.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:4830:134:3::10]:39835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el7Fg-0000rZ-17 for bug-guix@gnu.org; Mon, 12 Feb 2018 01:06:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el7Fb-0006C3-UA for bug-guix@gnu.org; Mon, 12 Feb 2018 01:06:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1el7Fb-0006Bv-OV for bug-guix@gnu.org; Mon, 12 Feb 2018 01:06:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1el7Fb-0007FU-Hn for bug-guix@gnu.org; Mon, 12 Feb 2018 01:06:03 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-reply-to: <87mv0hwy75.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30365-done@debbugs.gnu.org Hi Ludo, > 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 b= elieve this is >> due to : =E2=80=98scm_i_prepare_to_wait_on_f= d=E2=80=99 >> returns 1, so =E2=80=98select=E2=80=99 returns EINTR but it does so with= out clearing the >> FD sets. > > I=E2=80=99ve pushed a workaround here: > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D8446dc5a360e3a1= 3fecea870f86efdbd893e3905 > > and guix-0.14.0-8.bc880f9 includes that fix. > > It=E2=80=99s been running for several hours on berlin, building a bunch o= f > things notably on aarch64, and it seems to work well! Congratulations on figuring this out! --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net