From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 27 06:14:43 2017 Received: (at 26976-done) by debbugs.gnu.org; 27 Jul 2017 10:14:43 +0000 Received: from localhost ([127.0.0.1]:57936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dafoY-000462-Pe for submit@debbugs.gnu.org; Thu, 27 Jul 2017 06:14:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dafoX-00045q-M1 for 26976-done@debbugs.gnu.org; Thu, 27 Jul 2017 06:14:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dafoR-0004JE-O9 for 26976-done@debbugs.gnu.org; Thu, 27 Jul 2017 06:14:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dafoK-0004EY-Vv; Thu, 27 Jul 2017 06:14:29 -0400 Received: from [193.50.110.224] (port=36882 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dafoK-0002WY-JK; Thu, 27 Jul 2017 06:14:28 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#26976: On Hydra, offload crashes while trying to build linux-libre source References: <87h90japz0.fsf@netris.org> <87h90h966f.fsf@gnu.org> <87pof5dnja.fsf@gnu.org> <87mva88oe9.fsf@gnu.org> <87k24q86hk.fsf@gnu.org> <87shj3tvzd.fsf@gnu.org> Date: Thu, 27 Jul 2017 12:14:26 +0200 In-Reply-To: <87shj3tvzd.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 13 Jun 2017 23:32:06 +0200") Message-ID: <87eft25gql.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26976-done Cc: Artyom Poptsov , 26976-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > I=E2=80=99ve pushed a workaround that seems to work (=E2=80=98guix copy= =E2=80=99 commands that > previously segfaulted on hydra.gnu.org no longer do): > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D8e469b67f95cfe5= b95405b503b8ee315fdf8ce66 The workaround has proved to work well for =E2=80=98guix offload=E2=80=99 a= nd =E2=80=98guix copy=E2=80=99 so I=E2=80=99m closing this bug on our side. In Guile-SSH though, I think there=E2=80=99s still the potential for finali= zers getting called in a separate thread and triggering the issue we=E2=80=99ve = seen here. Am I right, Artyom? If I=E2=80=99m not mistaken, that calls for a fix as described in , namely protecting libssh objects with mutexes. Ludo=E2=80=99.