From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 09:48:13 2022 Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 14:48:13 +0000 Received: from localhost ([127.0.0.1]:42096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEuS5-0004cI-9W for submit@debbugs.gnu.org; Tue, 01 Feb 2022 09:48:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:39740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEuS3-0004cA-OV for submit@debbugs.gnu.org; Tue, 01 Feb 2022 09:48:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEuRr-0002tE-3F for bug-guix@gnu.org; Tue, 01 Feb 2022 09:48:06 -0500 Received: from mail-41103.protonmail.ch ([185.70.41.103]:27528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEuRK-00037A-MN for bug-guix@gnu.org; Tue, 01 Feb 2022 09:47:47 -0500 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41103.protonmail.ch (Postfix) with ESMTPS id 4Jp6Cx2S3bz4xVqm for ; Tue, 1 Feb 2022 14:06:05 +0000 (UTC) Authentication-Results: mail-41103.protonmail.ch; dkim=pass (2048-bit key) header.d=elenq.tech header.i=@elenq.tech header.b="tZQHGfML" Date: Tue, 01 Feb 2022 14:06:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1643724362; bh=xbPy4fZmQD+HbFdPbGImcO6dNUast0FyO9MUGXvAY1I=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=tZQHGfML3WqQaoRHlvPOMOGbtI7YesE10y9awXHMnQycZLiYJ6lwzGgbaanXd0Y1m VW42siIcvQw5t3dLlTgYhOZ97ZemdICVa/3VK4CCkQVSGrZiX4yn+TDLw/Lt5ioKpe OKS5l8WI9XoCY1uSBdvp3cVcwuO4agWGrhGEPBOdmvlGmKCeOIW6sY9IR7cJQbzNRI A5Lp7ai/8D00eaWGvbZZ/IkUcCa4IFSPfTetJB9G4TD5814fQcVyrWkJc4pFYkrM6X zdiJHxCkDQN9lBzXSVkw4nT+KLQryan4gn2IcEWfvei2Tm4PeW0zXGVenxhMo8+g1s TeHWYWEVnOaNg== To: "bug-guix@gnu.org" From: Ekaitz Zarraga Subject: Integer overflow on Guix GC size calculation Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.41.103; envelope-from=ekaitz@elenq.tech; helo=mail-41103.protonmail.ch 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, SPF_HELO_PASS=-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.3 (-) X-Debbugs-Envelope-To: submit 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: , Reply-To: Ekaitz Zarraga Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, I noticed there's some kind of a wierd integer overflow on the size calcula= tion on `guix gc`: [17592186042896 MiB] deleting '/gnu/store/j2s6kva8l20m6rjj10bnknq99jc9rg6w-= ghc-random-1.2.0-builder' [17592186042896 MiB] deleting '/gnu/store/8nx7zzj629qvv1533c48bl19wrkwcjh2-= curl-7.79.1-doc' [17592186042897 MiB] deleting '/gnu/store/dcsi13588yyjws76s1wjc7h5spnjd2vn-= ghc-kan-extensions-5.2.3-builder' [17592186042897 MiB] deleting '/gnu/store/5zrhw6kvb8wd3n6lazpblqzsg92y320b-= ghc-sop-core-0.5.0.1-builder' [17592186042897 MiB] deleting '/gnu/store/l2ya1z3la9qfdj9139f09q3djs36lw3l-= ghc-aeson-pretty-0.8.9-builder' [17592186042897 MiB] deleting '/gnu/store/8a8nbfxq508r7qywkhaw8jj8hicpfjh8-= ghc-prelude-extras-0.4.0.3-builder' [17592186042897 MiB] deleting '/gnu/store/wbz6vkiz7cq8c531xvb31lxm28nz332i-= ghc-8.10.7' [19 MiB] deleting '/gnu/store/i5np7ifiabg333g2l8ycmvbhimnrrx8k-ghc-8.10.7-d= oc' [170 MiB] deleting '/gnu/store/yx9zjw9118gzfcx33adfwy6kghrzxkys-ghc-pem-0.2= .4-builder' [170 MiB] deleting '/gnu/store/pinvkg1x5rpsgm95zhn50l6xq7rly43f-perl-test-o= utput-1.033.drv' [170 MiB] deleting '/gnu/store/k1bdc950d62g1pw4yw1khgmfr32m3rpm-perl-sub-ex= porter-0.988.drv' From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 16:20:27 2022 Received: (at 53696) by debbugs.gnu.org; 1 Feb 2022 21:20:27 +0000 Received: from localhost ([127.0.0.1]:44307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF0Zf-0003Q3-Ey for submit@debbugs.gnu.org; Tue, 01 Feb 2022 16:20:27 -0500 Received: from mail-ej1-f65.google.com ([209.85.218.65]:40840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF0Ze-0003Po-0Z for 53696@debbugs.gnu.org; Tue, 01 Feb 2022 16:20:26 -0500 Received: by mail-ej1-f65.google.com with SMTP id p15so58170931ejc.7 for <53696@debbugs.gnu.org>; Tue, 01 Feb 2022 13:20:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=FTGg6816TWHxkAKV+uDGJ9e6MztmK5W0Q/NdzDnkCOI=; b=hyW0yUiocS6KtO/E1WnN8W/MN8QYs+aHQGtPxxRH82OD//3ULJO2ywpyqD1AgqLpQJ H/zZJ/pfRPeqwXVvbbMWbLeqB/w7E3X3bc+DOkf7c1L1N6zwFroOqMok10Ijimz3eaoq +aoPDwhw75Qw3cqA+O0FUrTaovZnhrYGsgb/TjzLGKo0xVGTtIMugxRxvav7m6AtGy2n 5i2ena2qslzPFjktVTvs0i7jAYeD3vlgnnnpD10j9BgUKUTxZVL3KZjkW1dWptfN+cLK kS4yJb3+YbUzQ1xLQ1NVFBFOMsiWEfi5nmixngID+HKA6NhtzsAGno/BuqTrjlC7y/NZ ++vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=FTGg6816TWHxkAKV+uDGJ9e6MztmK5W0Q/NdzDnkCOI=; b=MchCHyjR3u2nVMS2leWlmrxavHDsllLVm6AIWUCM2kgqqY4BBI1jrl37jqhp6d/vWk IhisYu5bmPDDWx+HXzK/mzFrHPQ1/TLaDIAj5t4LpuyyTo6gTFxyYHQLbXCans2tdA69 WIWYpb5M3fm55xMsOePFFLdmJEBF2whmIykWli2/Ksu08FW4E7H5Vts9RNhG0nR88kQu au5RpoS+2LzZmtPeCQ7Q4cQ/GBQ2SycY5TNUt2162sSHgQmTDBeQi/7wrMiWlW1mwX9h IDs9YW6N8pOMsfWQOqTTl+JbFSOSwpCemrNOQgbKHwAXFJI+7gMcxxTwnQyBghZoicOY RPKQ== X-Gm-Message-State: AOAM533Fh/xQeXBWrCkJpD2ztjVrolSu0ugJEpj4A8d+BhO4ivegg7aw 62mrlk1O8+muX8D3H1yzbuA= X-Google-Smtp-Source: ABdhPJzNw9rUr54n9ruNqDe+NE5dWk8jBwvpLKoopnmRArnp74VRAaeyJGJv/BK8+//InX8fZxhAuw== X-Received: by 2002:a17:906:1e14:: with SMTP id g20mr21397303ejj.251.1643750420044; Tue, 01 Feb 2022 13:20:20 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id d22sm6905410ejr.138.2022.02.01.13.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 13:20:19 -0800 (PST) Message-ID: Subject: Re: Integer overflow on Guix GC size calculation From: Liliana Marie Prikler To: Ekaitz Zarraga , 53696@debbugs.gnu.org Date: Tue, 01 Feb 2022 22:20:18 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Dienstag, dem 01.02.2022 um 14:06 +0000 schrieb Ekaitz Zarraga: > Hi, > > I noticed there's some kind of a wierd integer overflow on the size > calculation on `guix gc`: > > [17592186042896 MiB] de [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.218.65 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.65 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 53696 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: 0.3 (/) Am Dienstag, dem 01.02.2022 um 14:06 +0000 schrieb Ekaitz Zarraga: > Hi, > > I noticed there's some kind of a wierd integer overflow on the size > calculation on `guix gc`: > > [17592186042896 MiB] deleting > '/gnu/store/j2s6kva8l20m6rjj10bnknq99jc9rg6w-ghc-random-1.2.0- > builder' > [17592186042896 MiB] deleting > '/gnu/store/8nx7zzj629qvv1533c48bl19wrkwcjh2-curl-7.79.1-doc' > [17592186042897 MiB] deleting > '/gnu/store/dcsi13588yyjws76s1wjc7h5spnjd2vn-ghc-kan-extensions- > 5.2.3-builder' > [17592186042897 MiB] deleting > '/gnu/store/5zrhw6kvb8wd3n6lazpblqzsg92y320b-ghc-sop-core-0.5.0.1- > builder' > [17592186042897 MiB] deleting > '/gnu/store/l2ya1z3la9qfdj9139f09q3djs36lw3l-ghc-aeson-pretty-0.8.9- > builder' > [17592186042897 MiB] deleting > '/gnu/store/8a8nbfxq508r7qywkhaw8jj8hicpfjh8-ghc-prelude-extras- > 0.4.0.3-builder' > [17592186042897 MiB] deleting > '/gnu/store/wbz6vkiz7cq8c531xvb31lxm28nz332i-ghc-8.10.7' > [19 MiB] deleting '/gnu/store/i5np7ifiabg333g2l8ycmvbhimnrrx8k-ghc- > 8.10.7-doc' > [170 MiB] deleting '/gnu/store/yx9zjw9118gzfcx33adfwy6kghrzxkys-ghc- > pem-0.2.4-builder' > [170 MiB] deleting '/gnu/store/pinvkg1x5rpsgm95zhn50l6xq7rly43f-perl- > test-output-1.033.drv' > [170 MiB] deleting '/gnu/store/k1bdc950d62g1pw4yw1khgmfr32m3rpm-perl- > sub-exporter-0.988.drv' I find it somewhat concerning that you've accumulated more than 2^64 bytes of garbage. Are some items counted double here? Other than that, that's pretty normal size_t wraparound semantics. I don't think that number is used for anything other than displaying. Cheers From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 16:54:22 2022 Received: (at 53696) by debbugs.gnu.org; 1 Feb 2022 21:54:23 +0000 Received: from localhost ([127.0.0.1]:44343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF16U-0004KI-Nl for submit@debbugs.gnu.org; Tue, 01 Feb 2022 16:54:22 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:63442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF16R-0004K1-4c for 53696@debbugs.gnu.org; Tue, 01 Feb 2022 16:54:21 -0500 Date: Tue, 01 Feb 2022 21:54:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1643752451; bh=uF8k6fYTgpIt+e3/rkxjgSSO3WsX0BMKMRvo/k2ZCSc=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=RNe1YSzoXUMj29c8J7fB9HOvSlznRJATy5eNdyv6dHHxzFAVB4egVdtVjoqiM2DH2 kqQm+Bne9M3Syaxhw1Bt5QE/tdafnJJA4urYBQQkfLUgj3OH1/9rsrdhlj1D/3ytKr m5jXWRdagvRFuWNrem4Yyl7wBnkc7Fs2Io7Pq08FKkDie5czpTmadbrXjyVct9QKca 9e/tFCtT6fs/+vnMRgFeNIAGcP0L9iS+xUkN2fk1ct0fIFMn6Zx/AhzipW8+iIZJU+ N/PrY5OHQWeVo/SHi1pX9+meJC8GgI4XUV0611w7e/qlafPmY++YRppAeJdmjflv8H d+HRpj53MH21A== To: Liliana Marie Prikler From: Ekaitz Zarraga Subject: Re: Integer overflow on Guix GC size calculation Message-ID: <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53696 Cc: 53696@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: , Reply-To: Ekaitz Zarraga Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, February 1st, 2022 at 10:20 PM, Liliana Marie Prikler wrote: > > I find it somewhat concerning that you've accumulated more than 2^64 > bytes of garbage. I'm a dirty boy. > Are some items counted double here? The number started growing from 0 and then that appeared and it continued smoothly from the previous. It's like something went bad in the middle. > Other than that, that's pretty normal size_t wraparound semantics. I > don't think that number is used for anything other than displaying. Showing wrong information to the people that use the program is pretty weird. The program still works but showing wrong data is worse than not showing it in my opinion. I'll take a look and try to see if I can fix it. > Cheers Best, Ekaitz From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 05:05:49 2022 Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 10:05:49 +0000 Received: from localhost ([127.0.0.1]:51493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFCWL-0008Pe-5g for submit@debbugs.gnu.org; Wed, 02 Feb 2022 05:05:49 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:38732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFCWI-0008PU-C4 for 53696@debbugs.gnu.org; Wed, 02 Feb 2022 05:05:47 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id qA5k2600T4UW6Th01A5k6d; Wed, 02 Feb 2022 11:05:45 +0100 Message-ID: Subject: Re: bug#53696: Integer overflow on Guix GC size calculation From: Maxime Devos To: Ekaitz Zarraga , 53696@debbugs.gnu.org Date: Wed, 02 Feb 2022 11:05:31 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-+AOPxcIVe9JfW2QgxtE/" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1643796345; bh=HOqHo11AA3yaV8M5z6PZVz/GVNX9byjMo4cQHkYIcFw=; h=Subject:From:To:Date:In-Reply-To:References; b=IVOtbvx1WyC+CiySDfY3G7TsbiegS/DdfeKx0G8tVz7Hm5SS2DMvLvl3CCPxtvXrt v0YMK6nii2kLCjV+PvcK5fqYIzmEE5BCrmC7fM8U/pK2EklWDq+Yre9aBoLJqzT1zg o1TaRgkyQiW3bXLo4dBVIbR10IOnaa17qGOGiHpXuyv4akFRnBLTaBTWMShUFlA5Eh sT9+InGxOStwZ9RvGAQ+mpTroOhQUooDV/c+BgvZN/agha6egiQQjYJbk6OK1OCXXS 0o+YQjal01lnO9M0jqNEkGu8KO/sgwcvJI/w+4728M5XoerfKH820yYMm4D3H7INYW SjXwRTuoNgn1A== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53696 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: -1.7 (-) --=-+AOPxcIVe9JfW2QgxtE/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ekaitz Zarraga schreef op di 01-02-2022 om 14:06 [+0000]: > [17592186042897 MiB] deleting '/gnu/store/wbz6vkiz7cq8c531xvb31lxm28nz332= i-ghc-8.10.7' For comparison, this is about 16 exbibyte. According to , that's more than the global monthly Internet traffic in 2004. According to , 16 exbibyte would be about 17 million solid-state disks. Even though this ignores deduplication, this seems rather expensive.=20 My guess is that the size of a store item was misrecorded somewhere. Greetings, Maxime. --=-+AOPxcIVe9JfW2QgxtE/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYfpXaxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tGLAQC1fw1r7S3m7gRTdpRSvJtiaEsB b0ByzGgjsrdRw3tevwEAwZeWG06b2kb3nyT4CPcg6OkL2c5S7HP1aVlV4O2PcwE= =2EV5 -----END PGP SIGNATURE----- --=-+AOPxcIVe9JfW2QgxtE/-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 07:04:57 2022 Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 12:04:57 +0000 Received: from localhost ([127.0.0.1]:51702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFENd-0003XG-48 for submit@debbugs.gnu.org; Wed, 02 Feb 2022 07:04:57 -0500 Received: from imta-35.everyone.net ([216.200.145.35]:38002 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFENY-0003X1-Do for 53696@debbugs.gnu.org; Wed, 02 Feb 2022 07:04:56 -0500 Received: from pps.filterd (omta001.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 212BvWns006370; Wed, 2 Feb 2022 04:04:50 -0800 X-Eon-Originating-Account: o8PYCYF8oyTsFdg93OEFly8PgxQp5b0bZ9YDfpU2yMM X-Eon-Dm: m0116953.ppops.net Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 5a81cb04) id m0116953.61e9ed53.126c41; Wed, 2 Feb 2022 04:04:49 -0800 X-Eon-Sig: AQMHrIJh+nNhN5BlgAIAAAAD,46dd8168b0dfb265f1383749d8ac3b43 X-Eip: aAK9KT4oVTLunP9H87kQlArojTzMdH5VmC5ziFDk-CA Date: Wed, 2 Feb 2022 13:04:41 +0100 From: Bengt Richter To: Maxime Devos Subject: Re: bug#53696: Integer overflow on Guix GC size calculation Message-ID: <20220202120441.GA2665@LionPure> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-GUID: HwVHo79dYznq-16gaGB2S-3I7ZeZNhwd X-Proofpoint-ORIG-GUID: HwVHo79dYznq-16gaGB2S-3I7ZeZNhwd X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.816 definitions=2022-02-02_06:2022-02-01, 2022-02-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 malwarescore=0 adultscore=0 clxscore=1034 impostorscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202020065 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53696 Cc: 53696@debbugs.gnu.org, Ekaitz Zarraga 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: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Hi Maxime, Ekaitz, et al, On +2022-02-02 11:05:31 +0100, Maxime Devos wrote: > Ekaitz Zarraga schreef op di 01-02-2022 om 14:06 [+0000]: > > [17592186042897 MiB] deleting '/gnu/store/wbz6vkiz7cq8c531xvb31lxm28nz332i-ghc-8.10.7' > > For comparison, this is about 16 exbibyte. > According to , > that's more than the global monthly Internet traffic in 2004. > > According to , 16 exbibyte would be about > 17 million solid-state disks. Even though this ignores deduplication, > this seems rather expensive. > > My guess is that the size of a store item was misrecorded somewhere. > > Greetings, > Maxime. s/misrecorded/mis-defined-in-record/ ? Wild guessing follows: --8<---------------cut here---------------start------------->8--- $ guile --no-auto-compile -c '(use-modules (ice-9 format))(format #t "~20x\n~20x\n~20d\n" (* 17592186042897 (expt 2 20)) #xa1100000 #xa1100000)'; ffffffffa1100000 a1100000 2702180352 --8<---------------cut here---------------end--------------->8--- It looks to me like a 32-bit unsigned int should have been turned to 64-bit unsigned long or bigint but somehow got cast/interpreted as signed, becoming signed 64-bit long, which then in turn was seen by the print as 64-bit unsigned long. I don't know, but if records are being used, perhaps some slot integer-widening logic might be involved? Or a mis-defined int slot that should have been long to accomodate big > 31-bit positive integers? Just guessing wildly -- I think I saw something about records and defining their fields as fixed C ints or longs. -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 14:45:58 2022 Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 19:45:58 +0000 Received: from localhost ([127.0.0.1]:53704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFLZl-0008Fp-Va for submit@debbugs.gnu.org; Wed, 02 Feb 2022 14:45:58 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:44707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFLZh-0008FV-IV for 53696@debbugs.gnu.org; Wed, 02 Feb 2022 14:45:56 -0500 Received: by mail-ed1-f68.google.com with SMTP id u24so679214eds.11 for <53696@debbugs.gnu.org>; Wed, 02 Feb 2022 11:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=p+jcRW/FBn3eV8wu4vr6KgSi8MpERwLufje1OQul9yc=; b=eA7uakZqtMe7KhYuYvOpe75iciLpMMSEZiDeqLqW7dkf1C516OIwvscac8FQ1Tk9pS zq7ImPmHiP2UVSfyXLTP8FpOlP8kqzGap3VBOv3c8y1OuUavllDaVY5zO8XWQ7FjfFYs HXL5wnJXJbxkhysoOEpJLLafVGOp2HKSZ6K3Yhk0lyyIMbipPkahyHDhFLqpK7x9wxmP xZ5dNyWHJEKM9tB0/JDhVxbXV7tqVSr6NRBf2uHI9xaDwiUAb94T5UZrxDihFYgmkGwx G31v2bEE4Rs5gT3UPgC8SJ6SF518iOaJPFJU/BjdE+Q3ONni+TVOMsvnFIfjC/yPOP1U CFRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=p+jcRW/FBn3eV8wu4vr6KgSi8MpERwLufje1OQul9yc=; b=wdqaclxIGnXP1AUveUFQngdXer7BynlXmJAluhi5T25R7764KvPr98GtZcBx5vK9lv skLv2PmLt8Ke6vckale1A+AcBYROltKmuf4VhNCKsc8i2kTJp56Fe7Vchs0hm4RPF+nB QBqEu8+9OspwapzvfQCGmHSlH3r3NXYE5BGJv3DhfEMMALxaglTX6bEwmLtdA/SXZtVQ Kh+lGtAKDcyIvv9BMGBradurLZbgtBW6CPxuZk2oTlQ+UBg8cLwDPGnKXLkUXNmQXmNg sbrSU+Ke6uC0lO6D33JWH+muT+jxQxXa2Gwohge95mInM3W7A+DKTAiCeqa1DqUjsoiK GkHQ== X-Gm-Message-State: AOAM530sxDoa2M9pmUcAQ8NAXfe9WlJWI1hSlwZv3nxkwuufXOAZKPKL u/rTWnRHJ0EV5XhjH5uV0YI= X-Google-Smtp-Source: ABdhPJwNNVS+I2IiUavMtHOFsGJtRFGlCCwNk8NHyni9FjeBYgE9n2PYy/5GLtAi2EEACO4WnJnO1Q== X-Received: by 2002:aa7:d312:: with SMTP id p18mr32202744edq.53.1643831147421; Wed, 02 Feb 2022 11:45:47 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id w25sm21362624edv.68.2022.02.02.11.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 11:45:46 -0800 (PST) Message-ID: <3b7bb17af335d41a13bb638a75ae5f36480d0f68.camel@gmail.com> Subject: Re: Integer overflow on Guix GC size calculation From: Liliana Marie Prikler To: Ekaitz Zarraga Date: Wed, 02 Feb 2022 20:45:45 +0100 In-Reply-To: <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> References: <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53696 Cc: 53696@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: -1.0 (-) Hi, Am Dienstag, dem 01.02.2022 um 21:54 +0000 schrieb Ekaitz Zarraga: > > Hi, > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Tuesday, February 1st, 2022 at 10:20 PM, Liliana Marie Prikler > wrote: > > > > I find it somewhat concerning that you've accumulated more than > > 2^64 bytes of garbage. > > I'm a dirty boy. > > > Are some items counted double here? > > The number started growing from 0 and then that appeared and it > continued smoothly from the previous. It's like something went bad in > the middle. WDYM by the middle? Do you mean the jump back to 0 or do you mean something before those lines? If you did encounter a "self-correcting" bit-flip that'd be one thing, but to me it appears as though you have some very large storage on your hands. Would you mind me asking where you purchased that disk 😜 > > Other than that, that's pretty normal size_t wraparound semantics. > > I don't think that number is used for anything other than > > displaying. > > Showing wrong information to the people that use the program is > pretty weird. The program still works but showing wrong data is worse > than not showing it in my opinion. > I'll take a look and try to see if I can fix it. I mean we could switch to GMP for those numbers, but it doesn't make sense. Ext4 volume size is capped at 2^60, which is still pretty well below 2^64. Even BTRFS can't get larger than that. So unless you have a distributed store, I'd hazard a guess that such numbers ought not to even appear. Cheers From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 14:52:10 2022 Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 19:52:10 +0000 Received: from localhost ([127.0.0.1]:53729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFLfl-0008TL-PE for submit@debbugs.gnu.org; Wed, 02 Feb 2022 14:52:09 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:55159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFLfh-0008SO-1q for 53696@debbugs.gnu.org; Wed, 02 Feb 2022 14:52:08 -0500 Date: Wed, 02 Feb 2022 19:51:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1643831517; bh=26EWPoi1onMo0SdWsQZc0RBS5ALDJoYkMTxfZV7cHZ8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=q8Wvc5GmVKqMiFehWAhvE9SXmmBnvguWeL92DUoJtF3jp1VTT8S0isjg6BOUy1UHz OuGq3YbT/YaWVKy2r5e/AB1fKj88berg9sZsetbthejlgZvsRN/2uV5kBtSmhl34jk J5Qr5CivH0QTYJtI0yQnL0D8v5wfBBEPV/fEJ6/olHwAmDJevELjuh1QUcxZwtja2Q Czu9vftWHI2YfAkfoiMxiO9KgvMHZdH4mLFA2MVjH7GiEbEN1rJssrQ4IGmwvQIL7O u+OEf2Dke7xrFdDGhQkmpV04Kd7MErBhj0mwT7SFvGO35ZgwtJUQLUwUS+M+7Ipwx2 MnkednLWc+qcw== To: Liliana Marie Prikler From: Ekaitz Zarraga Subject: Re: Integer overflow on Guix GC size calculation Message-ID: In-Reply-To: <3b7bb17af335d41a13bb638a75ae5f36480d0f68.camel@gmail.com> References: <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> <3b7bb17af335d41a13bb638a75ae5f36480d0f68.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53696 Cc: 53696@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: , Reply-To: Ekaitz Zarraga Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Wednesday, February 2nd, 2022 at 8:45 PM, Liliana Marie Prikler wrote: > Hi, > > Am Dienstag, dem 01.02.2022 um 21:54 +0000 schrieb Ekaitz Zarraga: > > > Hi, > > > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Origina= l Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80= =90 > > > > On Tuesday, February 1st, 2022 at 10:20 PM, Liliana Marie Prikler > > > > liliana.prikler@gmail.com wrote: > > > > > I find it somewhat concerning that you've accumulated more than > > > > > > 2^64 bytes of garbage. > > > > I'm a dirty boy. > > > > > Are some items counted double here? > > > > The number started growing from 0 and then that appeared and it > > continued smoothly from the previous. It's like something went bad in > > the middle. > > WDYM by the middle? Do you mean the jump back to 0 or do you mean > something before those lines? If you did encounter a "self-correcting" > bit-flip that'd be one thing, but to me it appears as though you have > some very large storage on your hands. Would you mind me asking where > you purchased that disk =F0=9F=98=9C I mean something like: 0 1 2 4 8 10 12 HUGE_NUMBER HUGE_NUMBER ... HUGE_NUMBER 15 20 ... It's like it corrected itself. It happened in "low numbers" (less than a hundred). I just say this if it helps in the correction. It's very funny, still :3 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 15:04:17 2022 Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 20:04:17 +0000 Received: from localhost ([127.0.0.1]:53748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFLrV-0000N7-My for submit@debbugs.gnu.org; Wed, 02 Feb 2022 15:04:17 -0500 Received: from mail-ej1-f67.google.com ([209.85.218.67]:37594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFLrS-0000Mo-69 for 53696@debbugs.gnu.org; Wed, 02 Feb 2022 15:04:15 -0500 Received: by mail-ej1-f67.google.com with SMTP id ah7so829245ejc.4 for <53696@debbugs.gnu.org>; Wed, 02 Feb 2022 12:04:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=GNkXQTlFP1SKmVMx++5QTSRIV+029md9zcNDFyWpCvE=; b=b9gRr5sqfv1pkHFHbNWI74ZUkMmElri8NPJmitsH3C0zHP9M0GVH7eR+p91/grN5Wh 3NrbHkj5OAZK45K9KNAHGm0MQR2cdtQ3GFJOEaZnVaPlwbZvz64mcpvWmW/3ATQl20FS SmUuV1/wJOfl7x56Kpe0A68C3ij9ZQgi0b5VyWGg1I3uqcxRrPX7QWqvD7x/QUD4PmOt FOFsvRrJqI5xlZPtxakQmxAiMPfTDMZJoPIm8rAAWaB6LLStCzcJuP1IVeT/ob/kNZtO /uX8SnfnDEbKii3BhVKm1Zh7e3vRGDvNOmDXBLdXQQ2cG3HuXWacw6aZvln+jbo0JouU q8Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=GNkXQTlFP1SKmVMx++5QTSRIV+029md9zcNDFyWpCvE=; b=3b1Z5lcjGTjmoxDUPfKrqwWMN6LvrDUqvyr74Tsj1nAUhYvP2SqOWB7ypR5RylJCAI 5LZ6b4LmJuyBHFWOMdcY+zRGrOx5YDWum2YxYRtSxYgbuk1kIZq/S0pmk0ukciDnk4Te wqME9b7+KMcdi6WDoOK5hj+4DyrJuT8Yozq+hP24q9w7/sG9CkMdFbnQcZFUU/Gi9QF4 DMuKjEyGcsKIObFmdTyiCYdzBYu7A4W6yUp2D2sixMa/F8/Nl2VrjCuhhuNcaXM6UxTi /uDgV+FnsciccUoqeuuT772+I+Lanfqh15ZE07/ErFJYA4ByUo1L5CGyExIQp3Xr3D2a 5afw== X-Gm-Message-State: AOAM5337KmJyoRHercyv6OPVpu05o6SJHujavtx8eGcTix+OagOMzv3M 7C7up4Z24ZVN965Jv7qrM0c= X-Google-Smtp-Source: ABdhPJxbBGG1LlPHxiNxvMjCKFxW0pMIF2W0VRWwuu4bKe/dmQ0uQVSIZN3NtHMbPa0o4pDgXDMsGw== X-Received: by 2002:a17:907:7289:: with SMTP id dt9mr27629383ejc.62.1643832248314; Wed, 02 Feb 2022 12:04:08 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id l3sm15879094ejg.44.2022.02.02.12.04.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 12:04:07 -0800 (PST) Message-ID: <66a344bca9c0ebf7a7430b8af6cd705c93946d7f.camel@gmail.com> Subject: Re: Integer overflow on Guix GC size calculation From: Liliana Marie Prikler To: Ekaitz Zarraga Date: Wed, 02 Feb 2022 21:04:06 +0100 In-Reply-To: References: <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> <3b7bb17af335d41a13bb638a75ae5f36480d0f68.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53696 Cc: 53696@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: -1.0 (-) Hi, Am Mittwoch, dem 02.02.2022 um 19:51 +0000 schrieb Ekaitz Zarraga: > I mean something like: > > 0 > 1 > 2 > 4 > 8 > 10 > 12 > HUGE_NUMBER > HUGE_NUMBER > ... > HUGE_NUMBER > 15 > 20 > ... > > It's like it corrected itself. It happened in "low numbers" (less > than a > hundred). > > I just say this if it helps in the correction. It's very funny, still > :3 Thanks, that wasn't clear from your original report. As I hinted at in my previous message, I think you'd get such results through well-placed bit flips. I'm not aware of Guix itself intentionally or otherwise causing those, but bit flips are a problem on any modern hardware and thus I'm sure such glitches will be encountered. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 17:46:46 2022 Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 22:46:46 +0000 Received: from localhost ([127.0.0.1]:53893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFOOi-0004g5-I1 for submit@debbugs.gnu.org; Wed, 02 Feb 2022 17:46:46 -0500 Received: from imta-37.everyone.net ([216.200.145.37]:49136 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFOOS-0004fd-UG for 53696@debbugs.gnu.org; Wed, 02 Feb 2022 17:46:44 -0500 Received: from pps.filterd (localhost.localdomain [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 212McR6E018479; Wed, 2 Feb 2022 14:46:27 -0800 X-Eon-Originating-Account: ZiBi_JVRj3MfYzPgylK-dMVx97ixqwmt9mIPgfcjuhU X-Eon-Dm: m0116953.ppops.net Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 5a81cb04) id m0116953.61e9ed53.13696c; Wed, 2 Feb 2022 14:46:26 -0800 X-Eon-Sig: AQMHrIJh+wnCFosIrAIAAAAE,546fbf9cf11062a336701fd908f7b108 X-Eip: vVJGB0q7BMrKv877n8eP1eO_Ru2KDpJiGdwkrWsVp7E Date: Wed, 2 Feb 2022 23:46:17 +0100 From: Bengt Richter To: Maxime Devos Subject: Re: bug#53696: Integer overflow on Guix GC size calculation Message-ID: <20220202224617.GA18103@LionPure> References: <20220202120441.GA2665@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220202120441.GA2665@LionPure> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-ORIG-GUID: 3clbZZMxg-T0gjgyAGGyQWjBq7SX-AGL X-Proofpoint-GUID: 3clbZZMxg-T0gjgyAGGyQWjBq7SX-AGL X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.816 definitions=2022-02-02_11:2022-02-01, 2022-02-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 mlxlogscore=999 adultscore=0 clxscore=1034 malwarescore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202020122 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53696 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 53696@debbugs.gnu.org, Ekaitz Zarraga 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: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Sorry for following up my own post, but maybe it wasn't clear why I printed (* 17592186042897 (expt 2 20)) in hex ? That is the value of [17592186042897 MiB] that you've been discussing. (expt 2 20) is one MiB Does that make > --8<---------------cut here---------------start------------->8--- > $ guile --no-auto-compile -c '(use-modules (ice-9 format))(format #t "~20x\n~20x\n~20d\n" (* 17592186042897 (expt 2 20)) #xa1100000 #xa1100000)'; > ffffffffa1100000 > a1100000 > 2702180352 > --8<---------------cut here---------------end--------------->8--- a little clearer? The discussion seems to be continuing, but no mention of the above. How come? Feeling ignored, and top-posting in desperation ;/ CC-ing ludo, who will instantly know where to fix it, if he hasn't already. On +2022-02-02 13:04:41 +0100, Bengt Richter wrote: > Hi Maxime, Ekaitz, et al, > > On +2022-02-02 11:05:31 +0100, Maxime Devos wrote: > > Ekaitz Zarraga schreef op di 01-02-2022 om 14:06 [+0000]: > > > [17592186042897 MiB] deleting '/gnu/store/wbz6vkiz7cq8c531xvb31lxm28nz332i-ghc-8.10.7' > > > > For comparison, this is about 16 exbibyte. > > According to , > > that's more than the global monthly Internet traffic in 2004. > > > > According to , 16 exbibyte would be about > > 17 million solid-state disks. Even though this ignores deduplication, > > this seems rather expensive. > > > > My guess is that the size of a store item was misrecorded somewhere. > > > > Greetings, > > Maxime. > > s/misrecorded/mis-defined-in-record/ ? > Wild guessing follows: > > --8<---------------cut here---------------start------------->8--- > $ guile --no-auto-compile -c '(use-modules (ice-9 format))(format #t "~20x\n~20x\n~20d\n" (* 17592186042897 (expt 2 20)) #xa1100000 #xa1100000)'; > ffffffffa1100000 > a1100000 > 2702180352 > --8<---------------cut here---------------end--------------->8--- > > It looks to me like a 32-bit unsigned int should have been turned to 64-bit unsigned long or bigint > but somehow got cast/interpreted as signed, becoming signed 64-bit long, > which then in turn was seen by the print as 64-bit unsigned long. > > I don't know, but if records are being used, perhaps some slot integer-widening logic > might be involved? Or a mis-defined int slot that should have been long to accomodate > big > 31-bit positive integers? > > Just guessing wildly -- I think I saw something about records and defining their fields > as fixed C ints or longs. > > -- > Regards, > Bengt Richter > > > From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 05:02:07 2022 Received: (at 53696) by debbugs.gnu.org; 8 Feb 2022 10:02:07 +0000 Received: from localhost ([127.0.0.1]:45370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHNK3-0005Oc-0q for submit@debbugs.gnu.org; Tue, 08 Feb 2022 05:02:07 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:36300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHNK1-0005O5-3V for 53696@debbugs.gnu.org; Tue, 08 Feb 2022 05:02:05 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9FB8B1E4; Tue, 8 Feb 2022 11:01:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yN1e8ZFfF1l9; Tue, 8 Feb 2022 11:01:58 +0100 (CET) Received: from ribbon (unknown [193.50.110.192]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 950B7193; Tue, 8 Feb 2022 11:01:57 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Bengt Richter Subject: Re: bug#53696: Integer overflow on Guix GC size calculation References: <20220202120441.GA2665@LionPure> Date: Tue, 08 Feb 2022 11:01:57 +0100 In-Reply-To: <20220202120441.GA2665@LionPure> (Bengt Richter's message of "Wed, 2 Feb 2022 13:04:41 +0100") Message-ID: <87ee4dbrsa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 9FB8B1E4 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53696 Cc: 53696@debbugs.gnu.org, Maxime Devos , Ekaitz Zarraga 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: -0.0 (/) Hi! Bengt Richter skribis: > It looks to me like a 32-bit unsigned int should have been turned to 64-b= it unsigned long or bigint > but somehow got cast/interpreted as signed, becoming signed 64-bit long, > which then in turn was seen by the print as 64-bit unsigned long. That could be the explanation; there were a couple of bugs along these lines fixed recently: https://issues.guix.gnu.org/51983#4 It would have been good to see which store item that came right before the huge number. Could it be that it was texlive-texmf, or flightgear, or repeat-masker, the three packages whose store item size exceeds 2^31? Ekaitz, what guix-daemon version are you running? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 05:52:34 2022 Received: (at 53696) by debbugs.gnu.org; 8 Feb 2022 10:52:34 +0000 Received: from localhost ([127.0.0.1]:45521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHO6s-0002vK-Gi for submit@debbugs.gnu.org; Tue, 08 Feb 2022 05:52:34 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:43988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHO6o-0002v4-ML for 53696@debbugs.gnu.org; Tue, 08 Feb 2022 05:52:32 -0500 Date: Tue, 08 Feb 2022 10:52:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1644317543; bh=Hg/HB71q9jfVDXoh7n+tz5Pl5WSfan51roVT07Q1kx0=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=XeK5tDB4rk+ycZm1EVMGa3zL197NKDGmrbyhURvpfgb5fAFRlFHC8gvHlrhpHwDV7 kFZyYtzkf2LWHWHpBCU9gFC98m1B2KtVBOM51Bi9Fhl+ypmR3Om/T+7fLUTYa/xbL+ waU0DAfosCvKxrhUxc6Xoq/J5h7hWjlM/P7Y173avD+u8IAXZL1CO8RFlWka5wMtBF vYrUhqE7faLESTtEdtaZzEz3uqtNLvEJ/fsNnGlmRlcQVrANFVpc3hnfdtvkqQuQtY URLZqCfblGONDn30ua9esxWvfyWsa8ngtFWRXUGlA8NKc+5OYmQYpsqcIpLOLOQ2/c bQXbzF/ZJlBMw== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Ekaitz Zarraga Subject: Re: bug#53696: Integer overflow on Guix GC size calculation Message-ID: In-Reply-To: <87ee4dbrsa.fsf@gnu.org> References: <20220202120441.GA2665@LionPure> <87ee4dbrsa.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53696 Cc: Maxime Devos , 53696@debbugs.gnu.org, Bengt Richter 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: , Reply-To: Ekaitz Zarraga Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Ekaitz, what guix-daemon version are you running? $ guix --version guix (GNU Guix) c5000dcc375229ff42727f090d4243107d3a04a6 Copyright (C) 2022 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. TY! From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 10 15:25:53 2022 Received: (at 53696) by debbugs.gnu.org; 10 Feb 2022 20:25:53 +0000 Received: from localhost ([127.0.0.1]:57245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIG0n-0002fl-KG for submit@debbugs.gnu.org; Thu, 10 Feb 2022 15:25:53 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:38296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIG0l-0002fB-TX for 53696@debbugs.gnu.org; Thu, 10 Feb 2022 15:25:52 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 564E3A2D; Thu, 10 Feb 2022 21:25:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sRF-JUslU0oF; Thu, 10 Feb 2022 21:25:44 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 38A7C174; Thu, 10 Feb 2022 21:25:44 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ekaitz Zarraga Subject: Re: bug#53696: Integer overflow on Guix GC size calculation References: <20220202120441.GA2665@LionPure> <87ee4dbrsa.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Pluvi=C3=B4se?= an 230 de la =?utf-8?Q?R=C3=A9volution?= 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: Thu, 10 Feb 2022 21:25:43 +0100 In-Reply-To: (Ekaitz Zarraga's message of "Tue, 08 Feb 2022 10:52:22 +0000") Message-ID: <87leyi5v08.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 564E3A2D X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53696 Cc: Maxime Devos , 53696@debbugs.gnu.org, Bengt Richter 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: -0.0 (/) Ekaitz Zarraga skribis: >> Ekaitz, what guix-daemon version are you running? > > $ guix --version What about the daemon though? As in: sudo /proc/$(pidof guix-daemon |cut -f1 -d ' ')/exe --version Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 10 15:28:06 2022 Received: (at 53696) by debbugs.gnu.org; 10 Feb 2022 20:28:06 +0000 Received: from localhost ([127.0.0.1]:57257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIG2w-0002k9-IS for submit@debbugs.gnu.org; Thu, 10 Feb 2022 15:28:06 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]:25434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIG2t-0002jc-Es for 53696@debbugs.gnu.org; Thu, 10 Feb 2022 15:28:04 -0500 Date: Thu, 10 Feb 2022 20:27:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1644524876; bh=lKLNaKdSlQJBsS54EsU9FqsLU8G9AFnJaowQz+Ct2eI=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=C6mZLI43p9P0/8I5p3eO8ZsFHW6iWyui9NR8unb49IvoUyKW8gZ+kx64SqmCjNESO +NuYUNzGicvMR+1SapPOYY1YZXc96rmz37mCpCx8lAB7bIwRVywsL25XZOWsT1JGei 925KPB/a0uSmugAcpnhk5TgA9NDj8QfK8sMZNURqfYk6jMFfXJh2GSxzSmqTD7i2oB 51DSlA4+kizeo3ODVpSlDqGw1Dn4+lXQ1ZmKCWXinIEG/f8diwvUqD+Eyew/aDVBNd qye17jsZvOhI88RJYBGRL+aphMIqc0FdIhNngZ/Ub0MgEFLWsoepf7KrVLWKUB1/vf Vk7JNBl7Oa/DQ== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Ekaitz Zarraga Subject: Re: bug#53696: Integer overflow on Guix GC size calculation Message-ID: In-Reply-To: <87leyi5v08.fsf@gnu.org> References: <20220202120441.GA2665@LionPure> <87ee4dbrsa.fsf@gnu.org> <87leyi5v08.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53696 Cc: Maxime Devos , 53696@debbugs.gnu.org, Bengt Richter 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: , Reply-To: Ekaitz Zarraga Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Ekaitz Zarraga ekaitz@elenq.tech skribis: > > > > Ekaitz, what guix-daemon version are you running? > > > > $ guix --version > > What about the daemon though? As in: > > sudo /proc/$(pidof guix-daemon |cut -f1 -d ' ')/exe --version > > Thanks, > > Ludo=E2=80=99. ouch... sorry! $ sudo /proc/$(pidof guix-daemon |cut -f1 -d ' ')/exe --version Password: guix-daemon (GNU Guix) 1.3.0-23.a27e47f From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 03 16:39:57 2024 Received: (at 53696-done) by debbugs.gnu.org; 3 Dec 2024 21:39:57 +0000 Received: from localhost ([127.0.0.1]:33190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIacf-0005Rf-2i for submit@debbugs.gnu.org; Tue, 03 Dec 2024 16:39:57 -0500 Received: from dane.soverin.net ([185.233.34.149]:58291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIacb-0005RL-E4 for 53696-done@debbugs.gnu.org; Tue, 03 Dec 2024 16:39:55 -0500 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Y2vFG6Clcz10Sx for <53696-done@debbugs.gnu.org>; Tue, 3 Dec 2024 21:39:46 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4Y2vFG3BFFzHn for <53696-done@debbugs.gnu.org>; Tue, 3 Dec 2024 21:39:46 +0000 (UTC) Authentication-Results: smtp.soverin.net; dkim=pass (2048-bit key; unprotected) header.d=elenq.tech header.i=@elenq.tech header.a=rsa-sha256 header.s=soverin1 header.b=qVnKsczM; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1733261986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=tnqa5zpQzvQoO9RzE5V4fEr4Kbsbi5L/wxXxgnZOYKA=; b=qVnKsczM3ZnhAqnY6wQztKTrq1gAomGsp7VJYWjifIMtnY51bZl5GoNli8t1TbLbpYH3u3 24hZ9kJlXBBQQtVwD6q7kfCBBpNnrh+HE59K3Qqh2e1C2KbXf1uut1PgZ5Nb024qJKiXux 4Je3mLeeHwsbB8zX63awW1Gj/79FUThQj95RYtSr+4oz4ZOE6Xcu7w1TaK/n8TNHl3fAYt d7A07aJaDGPfMyiHhYK/WGiu547CwMHcRViBLU2KQTyF+Tu7qVi3tNaRySgZnNQXdcyrII MlXc/NAPYFjCTlAYv6OELb48IOV7+S1G4YfeI3u9wkX3igv35WY+hiwcXZedkQ== Message-ID: <427e096d-37af-4722-b786-f3ef3027aea4@elenq.tech> Date: Tue, 3 Dec 2024 22:39:45 +0100 MIME-Version: 1.0 To: 53696-done@debbugs.gnu.org References: Subject: Re: Integer overflow on Guix GC size calculation Content-Language: en-US, es-ES, eu From: Ekaitz Zarraga Autocrypt: addr=ekaitz@elenq.tech; keydata= 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 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53696-done 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: -1.7 (-) Eventually fixed itself From unknown Sun Jun 22 00:51:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Jan 2025 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator