From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id EPdkL7soOGVlNAAA9RJhRA:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 24 Oct 2023 22:27:39 +0200
Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id EPdkL7soOGVlNAAA9RJhRA
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 24 Oct 2023 22:27:39 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 6D56A3A2EA
	for <larch@yhetil.org>; Tue, 24 Oct 2023 22:27:39 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VWUGY2WH;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1698179259;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=+7fnWnqNNsoeqMfj4tKKRWRmb2yf+zb900l7FDtS7N0=;
	b=vChCKbuYtcjH1FZhQmBsjMBiiIcrlK/iMfSbgaA5nu8OQocba8r0u4sqjiForsN7xSYVfn
	vzIZ3CPaBQY9DkHS9j+cygHYhMJccUxnmHZIZXt08vlVu15jQZbSF8hN6ALZwg7Qicasi3
	P7XYwedPavPG++4SJqJUjpO7W6XXCyGyCjlboVitXOC9Kt9T8J1XjT9FBgBWKgcW2UTPgU
	CtgddYRR5NCwLcHJJXD81p5AJM4cVOygWqnokV8ZIxALTZgVjibxp0/6eTxBVOYqkoOlNa
	kXSilbaIfYh8yuyIbHm0mr7KlAjGQtT+MwmR1mVXTpUGK+jg0NnT2SkYd++nZA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VWUGY2WH;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698179259; a=rsa-sha256; cv=none;
	b=jsVn6eAzjUXoMmKODBA3oyTp8KXmNx7rW94GnA/YW9IctV2j35FQUoJtRSGJkyQ0p1HpwL
	q97gyknd0Vpb/CN2ZE6sEAgbuzYgdVnzICnrceN3OsfhGvwCMP8uNSu2nhijAU1JFHC/J7
	LOTtYzLKdLoWMVkoXkEhYeC5p25ytbBn/emld9nJOwS904NvzkjfXlt+zcQ3pk7fhcc0iN
	EQqQo3/ND3hnluYGTh1IUuogDF1qZZW3MBqfxhdDKNskrpVA/zuj3TI6MZeVj7kUCA+vw8
	z+wy0INVVOnVstLsaiTsjH2HXnTcs21vP5vlh7JZlHxfLrCmMB6LT2gPtXqGqg==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces@gnu.org>)
	id 1qvNzy-0001SY-43; Tue, 24 Oct 2023 16:27:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qvNzw-0001SN-Gp
 for bug-guix@gnu.org; Tue, 24 Oct 2023 16:27:32 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qvNzw-0005Sh-93
 for bug-guix@gnu.org; Tue, 24 Oct 2023 16:27:32 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qvO0P-0006DK-W7
 for bug-guix@gnu.org; Tue, 24 Oct 2023 16:28:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#66692: [cuirass] Spurious failed builds following patching u-boot
 sources
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Tue, 24 Oct 2023 20:28:01 +0000
Resent-Message-ID: <handler.66692.B66692.169817926823864@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 66692
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 66692@debbugs.gnu.org
Received: via spool by 66692-submit@debbugs.gnu.org id=B66692.169817926823864
 (code B ref 66692); Tue, 24 Oct 2023 20:28:01 +0000
Received: (at 66692) by debbugs.gnu.org; 24 Oct 2023 20:27:48 +0000
Received: from localhost ([127.0.0.1]:56777 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qvO0C-0006Cp-9l
 for submit@debbugs.gnu.org; Tue, 24 Oct 2023 16:27:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37236)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1qvO09-0006Ca-Ay
 for 66692@debbugs.gnu.org; Tue, 24 Oct 2023 16:27:46 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1qvNzZ-0005Pr-TI; Tue, 24 Oct 2023 16:27:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=+7fnWnqNNsoeqMfj4tKKRWRmb2yf+zb900l7FDtS7N0=; b=VWUGY2WHLtBUx/qdTbqP
 h3hppUZEeelZVwnq+8r1Na8pslDAzllzBa7IwB0Uxus5D45++vheqAnqmBeSSkYcIxLsGB1USy/k/
 dn3dd54+nJsrGmC6vY1O0cZWK/xxrVjr0GrDRpHRIdGKIgFnmYmLnR882LvQhn0mdkaQZkFqvhnpG
 4Pa83v3mXXDWdJ+hDwPUxEloUKgm7cikKdQyhMIBQx45oZfJi089IbaF/KYVQV8hyl6urv8IZe9Bm
 GBBoZmhvkHcZ4l8shp2uNnEXIr58EbScpZuAD2YQaufxxn+fk6ltcUstaSJFYI/WY7/9l+U9eX7XD
 xoxV+WsbsOvvmQ==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
In-Reply-To: <87o7go6dk2.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 23
 Oct 2023 20:59:09 -0400")
References: <87ttqi82rh.fsf@gmail.com> <87pm15dpxn.fsf@gnu.org>
 <87lebtdosw.fsf@gnu.org> <87o7go6dk2.fsf@gmail.com>
Date: Tue, 24 Oct 2023 22:27:07 +0200
Message-ID: <877cnb6a1w.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: bug-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -6.80
X-Spam-Score: -6.80
X-Migadu-Queue-Id: 6D56A3A2EA
X-Migadu-Scanner: mx2.migadu.com
X-TUID: JD3oOl5uHVQG

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Ludovic Court=C3=A8s <ludo@gnu.org> writes:
>
>> Ludovic Court=C3=A8s <ludo@gnu.org> skribis:
>>
>>> /var/log/cuirass-remote-server.log:
>>>
>>> 2023-10-23 00:26:06 0 items queued for eventual download
>>> 2023-10-23 00:26:55 period update: 0 resumable, 0 failed builds.
>>> 2023-10-23 00:26:58 error: failed to start worker/database proxy: Inval=
id argument
>>
>> EINVAL here most likely comes from replying to a sender with invalid ID,
>> due to ZMQ_ROUTER_MANDATORY, exactly what Cuirass commit
>> 40f70d28aed55c404cca6a0760860fb4942e6bee fixed and aimed to catch.
>
> Thanks for picking up the investigation.  Does that mean that the above
> fix was partial and that there likely is a use after free somewhere
> else?

Yes, the fix in Cuirass above was insufficient, though you had to be
truly unlucky for use-after-free to happen this quickly.

Anyway, I had also proposed a fix in guile-simple-zmq, which the upgrade
in Guix commit 04215779baaa21f10bd5f20999761dc506e449d8 pulls in.

I have yet to reconfigure on berlin.

In the meantime I=E2=80=99ll look at the worker side of this issue.

Ludo=E2=80=99.