From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:403:4789::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id IEflHAwXN2UUUAEAG6o9tA:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 24 Oct 2023 02:59:56 +0200
Received: from aspmx1.migadu.com ([2001:41d0:403:4789::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id IEflHAwXN2UUUAEAG6o9tA
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 24 Oct 2023 02:59:56 +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 18B1338ACD
	for <larch@yhetil.org>; Tue, 24 Oct 2023 02:59:56 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=HiXxIlKC;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	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"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698109196; a=rsa-sha256; cv=none;
	b=VybjS7cefdTTiPHNUgW85MpFK7f4Pkx5tEnPiejuTn9kxx+gc+rzTb/LmieZsTXZ/kcv9k
	xBnXWkjpee7sFjay33i9L99Qy5KQZzhWEr6GpO1CShUD7Ir6E52P8NWMPe4EnCvf7cNheD
	t8YmTHauoe1OysmJ5Uvr2V+CjOIw11wp99Aj9Acw5uJ6IUWBRwMybsPWi1uauIYC04/Esk
	DS4umY2bLbn3/t0YfSPPIw3iZ8Wl9DUZ+cLGN5y+/PTxnCKdrR1GKpZtblR5VYCJ8vznoH
	CZ8PU0rq5QOj3WNA5XirU+WBo+oquIEKSQreIawJQ8MQnqiWP1zQR/mTso/TWg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=HiXxIlKC;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	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"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1698109196;
	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=er03/g4VDZPINm8YJY3hpOQMrN4hiDDZXidInegXo2A=;
	b=FvJ04UQX6fpU/5TkkF8AioKPGi0gx+mx12/xIhZY3SCWP+ISVzBUGkB7lYcVRji4swBgJb
	FZyf0T7tNHSMj8vutELwIFMOMV7glWk9yUXqNHUWqpS1c5OcFghzS2F9VgdXEa8yujMzPj
	WhsOlnzstzzoDwcc0oONlQ2WYJROYbP9gyxQwIi+1o32z4UynZ90j9W38ALluENkitmZAD
	BR25NyyRhOKoXDBmMhDa+8w1qdAXmCBHc7JoOt5rcYLmtWJiE+r0ws1kYkl4qgJwuGgflQ
	KOIjNA7CnHpNyiNVe4ijJa/cX0vBIzoLdiVkGFBsqU018RzfmkBL8Sv4O1Gg2Q==
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 1qv5lg-00029B-ES; Mon, 23 Oct 2023 20:59:36 -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 1qv5ld-00021q-Ao
 for bug-guix@gnu.org; Mon, 23 Oct 2023 20:59:33 -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 1qv5ld-0001Eo-2f
 for bug-guix@gnu.org; Mon, 23 Oct 2023 20:59:33 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qv5m5-0005DN-S0
 for bug-guix@gnu.org; Mon, 23 Oct 2023 21:00:01 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#66692: [cuirass] Spurious failed builds following patching u-boot
 sources
Resent-From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Tue, 24 Oct 2023 01:00:01 +0000
Resent-Message-ID: <handler.66692.B66692.169810919020002@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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Cc: 66692@debbugs.gnu.org
Received: via spool by 66692-submit@debbugs.gnu.org id=B66692.169810919020002
 (code B ref 66692); Tue, 24 Oct 2023 01:00:01 +0000
Received: (at 66692) by debbugs.gnu.org; 24 Oct 2023 00:59:50 +0000
Received: from localhost ([127.0.0.1]:52589 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qv5lu-0005CY-6n
 for submit@debbugs.gnu.org; Mon, 23 Oct 2023 20:59:50 -0400
Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:49512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@gmail.com>) id 1qv5lq-0005CG-5r
 for 66692@debbugs.gnu.org; Mon, 23 Oct 2023 20:59:48 -0400
Received: by mail-qt1-x82e.google.com with SMTP id
 d75a77b69052e-41cd4446cf5so22637741cf.3
 for <66692@debbugs.gnu.org>; Mon, 23 Oct 2023 17:59:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698109151; x=1698713951; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=er03/g4VDZPINm8YJY3hpOQMrN4hiDDZXidInegXo2A=;
 b=HiXxIlKCVyPfNK4HpwKlTJc0zrc17MY+a9uoFlwhsJWJpbGOdGfV2zi1WTIqPIeGL1
 EXf10gxpo9dzzunx2fN3dUp6N7MOglhvY+1mTPxY/UjJZu+fm8NCQqAKKGjVrS67lWFH
 Ol6B61im+CuuLvX5O0meXfl7qQcpmGz9wIr+BNtqEb0coZ1mRvVt7Um9IA+HU2EqfWjz
 JcHfRDFHAfRKm+EevQhcpv1it3a3gWwNvqQseSo4lbvxljQ1zNpK3ZaOw248Y6ndkRoz
 4F6R18YTjnEvfbhFWow3LylQGhPaHRN0F0dw2J4GEld/gdnL2n2Kdlu6tt0DOyj6YGcU
 5QIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698109151; x=1698713951;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=er03/g4VDZPINm8YJY3hpOQMrN4hiDDZXidInegXo2A=;
 b=YaQZGZmJGYCnZPqQ7yo334FnhrWmNpvzS8deKN22kHw7gSVQvhwkJ5ZuM1/6FCyikD
 vL0OESDW+3C7nvaR0azR1+FCPYUZ4GNNOwQTQAsq53DTsQKK8ceGf6rjVV4NJ/NEyY9Y
 lxYG34LKpo/nuzYm0tqY89AU6PFj1RqIW3em8Ak/Y0SndyuKRlwGlgO1SnkyzRP0GqAZ
 zd5DzQJuPDgBhLJmL8zk8rXklf2iZcAK1RLoy2xbSCxTEanOVZASWnqLQVTenNARwsH+
 zvZlMlHnYJgmY1Ar9IAWXtHauna2LM0b72fhaIo4znrJQBqXpgwdbT2mXN3hv8AxguDB
 pUhA==
X-Gm-Message-State: AOJu0YwS7D7m9FNLW8rzoTjHDA1f4dugu8y0Zmbl9x95oWaoXDJYJPIL
 eZBzvenVqXrffI503ajJdzcVcPDOVwS3XA==
X-Google-Smtp-Source: AGHT+IFwrqC/4fn2IPb/w9xeEtwWeoej1FFvfbqIpmvuqmmiaVtOikh5wf7uT9xUVOoz63rnksCY+Q==
X-Received: by 2002:a0c:aa1a:0:b0:66d:1d4d:5a6 with SMTP id
 d26-20020a0caa1a000000b0066d1d4d05a6mr8566736qvb.0.1698109151029; 
 Mon, 23 Oct 2023 17:59:11 -0700 (PDT)
Received: from hurd (dsl-10-148-194.b2b2c.ca. [72.10.148.194])
 by smtp.gmail.com with ESMTPSA id
 g20-20020ad457b4000000b0065d0dcc28e3sm3264676qvx.73.2023.10.23.17.59.10
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 23 Oct 2023 17:59:10 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
In-Reply-To: <87lebtdosw.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s
 message of "Mon, 23 Oct 2023 23:14:23 +0200")
References: <87ttqi82rh.fsf@gmail.com> <87pm15dpxn.fsf@gnu.org>
 <87lebtdosw.fsf@gnu.org>
Date: Mon, 23 Oct 2023 20:59:09 -0400
Message-ID: <87o7go6dk2.fsf@gmail.com>
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-Scanner: mx1.migadu.com
X-Migadu-Spam-Score: 3.12
X-Spam-Score: 3.12
X-Migadu-Queue-Id: 18B1338ACD
X-TUID: T/LGII2AnSLr

Hi Ludovic!

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: Invali=
d 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?

It's good at least that this ZMQ_ROUTER_MANDATORY option catches that.

(Also, these scary Btrfs errors are a reminder that the file system got
corrupted at some point and should be recreated at some point -- I hope
they are not related to the problem at hand but we should keep an eye on
things).

--=20
Thanks,
Maxim