From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IEO8HL4LkWIjNAEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 19:34:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yJOwG74LkWJ/VQEAG6o9tA (envelope-from ) for ; Fri, 27 May 2022 19:34:54 +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 22FB12C911 for ; Fri, 27 May 2022 19:34:54 +0200 (CEST) Received: from localhost ([::1]:37264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nudrQ-0003es-RN for larch@yhetil.org; Fri, 27 May 2022 13:34:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nudqc-0002c9-9E for guix-patches@gnu.org; Fri, 27 May 2022 13:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nudqb-0004xG-Un for guix-patches@gnu.org; Fri, 27 May 2022 13:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nudqb-0003FL-Ou for guix-patches@gnu.org; Fri, 27 May 2022 13:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-cleanup'. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 May 2022 17:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun , 55673@debbugs.gnu.org Received: via spool by 55673-submit@debbugs.gnu.org id=B55673.165367278912418 (code B ref 55673); Fri, 27 May 2022 17:34:01 +0000 Received: (at 55673) by debbugs.gnu.org; 27 May 2022 17:33:09 +0000 Received: from localhost ([127.0.0.1]:35740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nudpl-0003EE-5s for submit@debbugs.gnu.org; Fri, 27 May 2022 13:33:09 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:37968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nudpi-0003E4-9G for 55673@debbugs.gnu.org; Fri, 27 May 2022 13:33:08 -0400 Received: from [172.20.10.5] ([213.251.121.143]) by laurent.telenet-ops.be with bizsmtp id btZ32700L35k8wt01tZ4pD; Fri, 27 May 2022 19:33:04 +0200 Message-ID: <239d8888536d1573ecd466b96c8ff6170316daa2.camel@telenet.be> From: Maxime Devos In-Reply-To: <20220527154652.700549-1-zimon.toutoune@gmail.com> References: <20220527082519.501697-1-zimon.toutoune@gmail.com> <20220527154652.700549-1-zimon.toutoune@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-nc+SmN+Itx8qLC4pPZM+" Date: Fri, 27 May 2022 19:29:51 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.38.3-1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1653672784; bh=XegiYLUE1g3KuQr2FFltG/xVUphcpFhzyisFejGGslg=; h=Subject:From:To:In-Reply-To:References:Date; b=SdVryZracBHlgcwlRXVeWuGWfplFvrCHFoxFJX3cyjevxd6LLdWS9X/hcgma8SK0d IAgNbAcW5Erhhr2oBGhNk14+tFQ6O6JSjW1cVBtcpSlfXaWMruUD5TDY11mkw9mX2X 0waSxibhhEQkT4R5TrD5NljHeraoWxgW3zUOuHnEn5mRFFZj3czRq962zeXxNbt+wC 6hqYpGpmXKPnaHfm7kM6oqQNRNqS8HKp3fyBe24IdYlpp56yGHfIAgSWq+zftpN0Cj AI4EhPdicORyJZonw1LlMF1EcRSZCrTd7/WG4ZUkuzQOzdMsToMbPCgKIR19HenLJY pfQqDl94BLEQA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653672894; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=XegiYLUE1g3KuQr2FFltG/xVUphcpFhzyisFejGGslg=; b=QLa5hgQXP3tX4CmctFG2Zecx9VNGFayFBvxPuKJqD+h4eqt+LhsE7qov0TCIkzTd9A08WI z6r5e2WGFsx0yGyeQlruUEnGZTlXg+T7RPbmuHvnbU2vfGiUhexOm9avS1ZFQ2mGs06LQ/ MT135rYoiA92OMhf/yg+RSxDbcO/2Uk/V/W/zjK+7cflAD08ZFeFNTA3UrSA1NhCBpcyAp x6WQfLcc4kQ6ow2xFNIE7DdCsL1iPY1GzK950ETC0AhmPi/+YQEblOQ6LDPuDcuixD1BVa +i26e1snxwbLIDed6ofD+0+S9Hqv/X+Ocssj+DJVVlun1JpcN7MJOcGI+4bmBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653672894; a=rsa-sha256; cv=none; b=hjcgRuLJyjc1NyfLDdjjz8tt2rHTO8FnaC43TKjVRxN72q9j4S0BN/EuGbgi8aM3WUssdC 0BykY4rU8nlE8Nhymh+oS2pnbuHr5gr2OcWs4iBaxWfzZdD9pkEdCAEifWgK/LKJDPaPme bvvtw/ejg3yzX5jwPjAGIE2W9GmRWGH1nQ/rhfy9JFKnna+uq7kY3W/DLT6vlg8WWTv2Z4 qodkmLQij0dVSXPZnHdSDSbhhRs6UI06d+vgo4cDwQ76bBZqfgKZ4cfDv5VCr+T//ZfF24 +cAkPbn0wCjKPOZ6kAS81u6WhFIEiuRpWYFdFKxginxS6s40MFhtBa02WPuGDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=SdVryZra; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=SdVryZra; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 22FB12C911 X-Spam-Score: 2.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: VQtfcnraG98E --=-nc+SmN+Itx8qLC4pPZM+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable zimoun schreef op vr 27-05-2022 om 17:46 [+0200]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (catch #t=C2=A0=C2=A0 ; Handle value out = of range (e.g., 1234567890 -> 12E4567890) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda () > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Handle empty o= r corrupted 'expiry-file' when 'write' below is > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; interrupted be= fore being complete (e.g., SIGINT with C-c) or when > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; the filesystem= crashes. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (or (string->numb= er value) 0)) Why are 'stack-error' and 'out-of-memory' being caught? I recommend using one of the regexes from string->generations in (guix ui) instead to avoid catching too much. Greetings, Maxime. --=-nc+SmN+Itx8qLC4pPZM+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpEKixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j8zAQCzN+gPyiXMC1Hu9q8+zx2+RYnG Cx/GfCkKQL0JR0PCdgD7BTxq9fa3ss+0U6893B5F7VGx3ZAAbh2zN/rw4kZk4wc= =JaSK -----END PGP SIGNATURE----- --=-nc+SmN+Itx8qLC4pPZM+--