GNU bug report logs - #67629
[Cuirass] ‘remote-server’ wrecks havoc when misbehaving clients connect

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludovic.courtes@HIDDEN>; dated Mon, 4 Dec 2023 21:47:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 67629 <at> debbugs.gnu.org:


Received: (at 67629) by debbugs.gnu.org; 12 Dec 2023 17:04:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 12 12:04:16 2023
Received: from localhost ([127.0.0.1]:57376 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rD6B5-0005FI-NF
	for submit <at> debbugs.gnu.org; Tue, 12 Dec 2023 12:04:16 -0500
Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:54409)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1rD6B4-0005F3-62
 for 67629 <at> debbugs.gnu.org; Tue, 12 Dec 2023 12:04:14 -0500
Received: by mail-qk1-x72b.google.com with SMTP id
 af79cd13be357-77f3d75dafeso350489685a.0
 for <67629 <at> debbugs.gnu.org>; Tue, 12 Dec 2023 09:03:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1702400632; x=1703005432; 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=ZKmlqZUac2PisLpjenY+w31WQMCJHMJwF6xwjvJblY0=;
 b=AQfW7YDTUZ8N9IAW8YgXAq6MY+MY4n60pAk8z9zJjnqmuo2MdkQ/E7y5Acn5SY1De3
 HRjuOtVZI27eA23WXaWC7rS89VWI3hCcrQTTvqMNZsqWMktNudT9JGx80ZP1co3GykmY
 o3TO4hkVg11P3A6g9Kgl4euecRULN1XbvFPfKn40sbMqwGJYiaobTkevWLQSDAMPF8X9
 5RMA5b72ljVeQA9r0TY1r08tJwxhzYHInvNdkPv+fuQ4S8oXv7OgyONjEPtSvVt5CNk6
 /wXXnmg4LXZdVo3Anml3916I0QxhXly1Ee+TNJwT78KQ24CRog5lo/bZPNlUYB5s5VeI
 33eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1702400632; x=1703005432;
 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=ZKmlqZUac2PisLpjenY+w31WQMCJHMJwF6xwjvJblY0=;
 b=ZRjOl0n/Was1EluSIU6Pg5QgGjOSqHbMB3t4rLmT7sovnrEuJpI2t52VKyKzcFkeIt
 /zBZ6W5+Rm3yJf8NzjDPkurAjEonq7rw8UP1Q74B8YaR5rWfuOW2TUGU+a3HVyqMVTKr
 08U4R0msGVV6vTYacC6W9tFvxvtQS3ko7X7GWcZKF4J8BAEfIPyiga3UvHtTExpQ1EF3
 WcbUcl9YD1wDgVTJTvmJESjem0zqMKc+6x6LHoHBbAQJwww/rKynh+VnBcUqNRu+AzGd
 wmwBM/jC4WThwPSK4Xxusf2HDFCVdSb7hj9LA/5omQ6cJBRL/6eD3DYe/cJ+pWLgyi53
 iGyQ==
X-Gm-Message-State: AOJu0YzJL1TXfgvFiCv/DQ0WaiKM5NZT4jHw5ZGRrbCrfTmt/etzOvEl
 crkSKty+yWtbgZ9TPKE86QzoLg9XjSY=
X-Google-Smtp-Source: AGHT+IGqiclacr2i9//Y5B0QyG/SNNPuQpEk8l1OTfJvpCKsbbxBcElMdlJHiIgqZsnTN+fgwnnc7A==
X-Received: by 2002:a05:620a:4ac3:b0:77d:c820:e171 with SMTP id
 sq3-20020a05620a4ac300b0077dc820e171mr7415328qkn.64.1702400632691; 
 Tue, 12 Dec 2023 09:03:52 -0800 (PST)
Received: from hurd (dsl-157-186.b2b2c.ca. [66.158.157.186])
 by smtp.gmail.com with ESMTPSA id
 ri4-20020a05620a8f8400b0077d84ad9744sm3881871qkn.36.2023.12.12.09.03.51
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 12 Dec 2023 09:03:52 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN>
Subject: Re: bug#67629: [Cuirass] =?utf-8?Q?=E2=80=98remote-server?=
 =?utf-8?Q?=E2=80=99?= wrecks havoc when misbehaving clients connect
In-Reply-To: <871qc1myj6.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?=
 =?utf-8?Q?'s?= message of "Mon, 04 Dec 2023 22:46:21 +0100")
References: <871qc1myj6.fsf@HIDDEN>
Date: Tue, 12 Dec 2023 12:03:51 -0500
Message-ID: <875y13bbew.fsf@HIDDEN>
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-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 67629
Cc: 67629 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Ludovic Court=C3=A8s <ludovic.courtes@HIDDEN> writes:

> The =E2=80=98cuirass remote-server=E2=80=99 process goes awry when misbeh=
aved clients
> connect; specifically, some of its fibers crash, leaving it running but
> inactive:

I guess what I reported in bug#67633 is a symptom of the above problem,
perhaps?

--=20
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#67629; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Dec 2023 21:46:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 04 16:46:47 2023
Received: from localhost ([127.0.0.1]:35942 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rAGm7-0006F0-4j
	for submit <at> debbugs.gnu.org; Mon, 04 Dec 2023 16:46:47 -0500
Received: from lists.gnu.org ([2001:470:142::17]:38722)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1rAGm4-0006Ej-Qw
 for submit <at> debbugs.gnu.org; Mon, 04 Dec 2023 16:46:45 -0500
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 <ludovic.courtes@HIDDEN>)
 id 1rAGlo-0007Ky-9K
 for bug-guix@HIDDEN; Mon, 04 Dec 2023 16:46:28 -0500
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1rAGlm-0006yf-5m
 for bug-guix@HIDDEN; Mon, 04 Dec 2023 16:46:27 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=from:to:subject:date:message-id:mime-version:
 content-transfer-encoding;
 bh=rgRPj5lDQYcWsXBm05ru53Id+HZeWK6THRM7YAVdj38=;
 b=WTFB8WrFoIMtkXmC9SCqwl4b9UZkMWCL9CxCUa3eFW77HbWFRxjuCZnk
 M2oUzpZS2zIiOQn+coUSqbDjPOUaIzRkhp/mcFLYP0QMhHjkvYiS762eC
 rjCGtEtMl+OhJCJwhnIt1D0CfN3VZpaO9sl+mWU7+In3Ge+14WLPwm5/X A=;
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.04,250,1695679200"; d="scan'208";a="73394551"
Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 22:46:22 +0100
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: bug-guix@HIDDEN
Subject: [Cuirass] =?utf-8?Q?=E2=80=98remote-server=E2=80=99?= wrecks havoc
 when misbehaving clients connect
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Quartidi 14 Frimaire an 232 de la =?utf-8?Q?R=C3=A9v?=
 =?utf-8?Q?olution=2C?= jour du Sapin
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 04 Dec 2023 22:46:21 +0100
Message-ID: <871qc1myj6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=192.134.164.104;
 envelope-from=ludovic.courtes@HIDDEN;
 helo=mail3-relais-sop.national.inria.fr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

The =E2=80=98cuirass remote-server=E2=80=99 process goes awry when misbehav=
ed clients
connect; specifically, some of its fibers crash, leaving it running but
inactive:

--8<---------------cut here---------------start------------->8---
2023-12-04 10:13:14 periodic update: 0 resumable, 0 failed builds
2023-12-04 10:13:28 error: Connection reset by peer when replying to xx.xx.=
xx.254.
2023-12-04 10:13:42 error: invalid log received from xx.xx.xx.254
2023-12-04 10:13:42 error: EOF while receiving log from xx.xx.xx.254
2023-12-04 10:13:48 Uncaught exception in task:
2023-12-04 10:13:48 In fibers.scm:
2023-12-04 10:13:48    186:20  8 (_)
2023-12-04 10:13:48    145:21  7 (_)
2023-12-04 10:13:48 In ice-9/boot-9.scm:
2023-12-04 10:13:48   1752:10  6 (with-exception-handler _ _ #:unwind? _ #:=
unwind-for-type _)
2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm:
2023-12-04 10:13:48    695:11  5 (_)
2023-12-04 10:13:48 In ice-9/boot-9.scm:
2023-12-04 10:13:48   1747:15  4 (with-exception-handler #<procedure 7f982c=
2abd50 at ice-9/boot-9.scm:1831:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm:
2023-12-04 10:13:48    437:23  3 (serve-build-requests _ #<<channel> getq: =
#<atomic-box 7f982e764390 value: (() #(#<atomic-box 7f98283753a0 value: W> =
#<procedure resume (thunk)>))> getq-gc-co
unter: #<atomic-box 7f982e764320 value: 16> putq: #<atomic-box 7f982e764240=
 value: (())> putq-gc-counter: #<atomic-box 7f982e764230 value: 31>>)
2023-12-04 10:13:48 In cuirass/remote.scm:
2023-12-04 10:13:48     466:6  2 (receive-message _ #:router? _)
2023-12-04 10:13:48 In ice-9/boot-9.scm:
2023-12-04 10:13:48   1685:16  1 (raise-exception _ #:continuable? _)
2023-12-04 10:13:48   1685:16  0 (raise-exception _ #:continuable? _)
2023-12-04 10:13:48 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
2023-12-04 10:13:48 Throw to key `match-error' with args `("match" "no matc=
hing pattern" (#<zmq-message 7f981881d9a0> #<zmq-message 7f981881d900> #<zm=
q-message 7f981881d860>))'.
2023-12-04 10:13:48 Uncaught exception in task:
2023-12-04 10:13:48 In fibers.scm:
2023-12-04 10:13:48     172:8  2 (_)
2023-12-04 10:13:48 In cuirass/notification.scm:
2023-12-04 10:13:48    162:15  1 (_)
2023-12-04 10:13:48 In ice-9/boot-9.scm:
2023-12-04 10:13:48   1685:16  0 (raise-exception _ #:continuable? _)
2023-12-04 10:13:48 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
2023-12-04 10:13:48 Throw to key `psql-query-error' with args `(#f #f "no c=
onnection to the server\n")'.
2023-12-04 10:14:06 0 items queued for eventual download
2023-12-04 10:14:07 Uncaught exception in task:
2023-12-04 10:14:07 In fibers.scm:
2023-12-04 10:14:07     172:8  2 (_)
2023-12-04 10:14:07 In cuirass/scripts/remote-server.scm:
2023-12-04 10:14:07    430:10  1 (_)
2023-12-04 10:14:07 In ice-9/boot-9.scm:
2023-12-04 10:14:07   1685:16  0 (raise-exception _ #:continuable? _)
2023-12-04 10:14:07 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
2023-12-04 10:14:07 Throw to key `psql-query-error' with args `(#f #f "no c=
onnection to the server\n")'.
2023-12-04 10:14:30 error: invalid log received from xx.xx.xx.254
2023-12-04 10:14:30 error: invalid log received from xx.xx.xx.254
2023-12-04 10:14:35 error: invalid log received from xx.xx.xx.254
--8<---------------cut here---------------end--------------->8---

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludovic.courtes@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#67629; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 12 Dec 2023 17:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.