From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YEHEJmfu+mESAAEAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 21:49:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +KKRI2fu+mHrYwAAauVa8A (envelope-from ) for ; Wed, 02 Feb 2022 21:49:43 +0100 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 5509C45DDA for ; Wed, 2 Feb 2022 21:49:43 +0100 (CET) Received: from localhost ([::1]:41974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFMZS-00024H-HD for larch@yhetil.org; Wed, 02 Feb 2022 15:49:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFLZq-0001Zy-Ni for bug-guix@gnu.org; Wed, 02 Feb 2022 14:46:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFLZq-00008N-7O for bug-guix@gnu.org; Wed, 02 Feb 2022 14:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFLZq-0008G9-4t for bug-guix@gnu.org; Wed, 02 Feb 2022 14:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53696: Integer overflow on Guix GC size calculation Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Feb 2022 19:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53696 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ekaitz Zarraga Received: via spool by 53696-submit@debbugs.gnu.org id=B53696.164383115831737 (code B ref 53696); Wed, 02 Feb 2022 19:46:02 +0000 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> From: Liliana Marie Prikler 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-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 53696@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643834983; 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=p+jcRW/FBn3eV8wu4vr6KgSi8MpERwLufje1OQul9yc=; b=BLvl2b+pdaz+JbfDWggWxfDzJslRHd4k4DRfadDO4UnV6pma/ywcpgbo/P6iQAPnJ6Eo4l GOo/drkAK7iWK9hPcNNez8brezQTyoOyz/yxSMhEseHBAef8t6AZLq2V1BTPZ47kmHRvUp YCBrCgxl+W4K7uweYWfrpgHm4m4LfqfhfJ0qU3ne3Dzz4rJ+aVxNqhAl0N3Y1W5mPF2yCj TU9u2q89YPqLt0XuGBgc797JHrQTl04XuoYhsNFViOINCyYJ7x0YrSUatJknSe5xGQqg8A iz6MqgNwRu5gQPKYDIq13toXvOI8qo0OEoOyRzzJvSdCotN2fjOEngzgFvzhhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643834983; a=rsa-sha256; cv=none; b=ZRFGikj3rtDCq/tt72+P6NI1SddSaCRAK+x2PzPKEQN/272wEZhScg4zUvidDMsSZaU0i/ vWNwwafd4Fl6auzHbgA6hTn5NY9Q2xD5326IPTqTonzKY+7Q1eox6C+tPA/z1+TJ/dxJ9I PATz9GTAhd88s5011asSp0T3AJhJhJxyMfS3aQYa7eLm3zYXzv5bShvu/1NwxwEJzA4nLt w9Osf2ghzW1X7hoSJPKe2LlCHhigN2XnPcskGr/iW7J3Sslafa9hlei9ka+pfO1HxXj3VT cTmKD+k/NIWLeq35bViUSRIW5/Tv+pmLDeVRvjlJ9AmMm+nZL8lUoxkhUUD36Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eA7uakZq; 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" X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eA7uakZq; 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" X-Migadu-Queue-Id: 5509C45DDA X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q+f9z/yoI2Eu 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