From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 cLIwDG3h+WFP4wAAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 02:42:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IPMFBW3h+WFZSgAAG6o9tA (envelope-from ) for ; Wed, 02 Feb 2022 02:42:05 +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 8542115C89 for ; Wed, 2 Feb 2022 02:42:04 +0100 (CET) Received: from localhost ([::1]:53476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF4ep-0000kt-L8 for larch@yhetil.org; Tue, 01 Feb 2022 20:42:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nF178-0002FV-VK for bug-guix@gnu.org; Tue, 01 Feb 2022 16:55:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nF178-0007Fg-Jz for bug-guix@gnu.org; Tue, 01 Feb 2022 16:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nF178-0004LJ-Fg for bug-guix@gnu.org; Tue, 01 Feb 2022 16:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53696: Integer overflow on Guix GC size calculation Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Feb 2022 21:55: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: Liliana Marie Prikler Received: via spool by 53696-submit@debbugs.gnu.org id=B53696.164375246316639 (code B ref 53696); Tue, 01 Feb 2022 21:55:02 +0000 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== From: Ekaitz Zarraga 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-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: , Reply-To: Ekaitz Zarraga 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=1643766124; h=from:from:sender:sender:reply-to: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=uF8k6fYTgpIt+e3/rkxjgSSO3WsX0BMKMRvo/k2ZCSc=; b=rlj6aj9v3m9l2ZygKt0ijE8teaXyRgjgkE2x07SmoX0yk+FZXQ9vgfAlltNEMkDhrXOIUB XJXWL4A1isnrlhLjcD0gUBBj+I5U7jCNE6dDvMt0rrZU2mjaJCDOacC2SSkDtyEyRBoPLX FXgz6tgPqKe7p4ojMhbATDrkoMTSPqBzS0OxVfDpaLxhB+Oa1bFEUTSOV4aJQfib6LoNNJ 0gn+CNybRH4xgFSDek9GJwnavYXic2P/Xk864b5C2SFd5IJc9yHgrebcf7kh8tiBAgSn3b kWP1Qdnl86S7ElYlJVtwhdFv13iIBEa17v2CRoQ55vkePCO+TNE+atCFlQwYTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643766124; a=rsa-sha256; cv=none; b=UweEIl5i07UpzMZxF6A+gRkNdfL0+v/sPe3J4t3ZdHCkghSdyRl8mbjzH28tseH5+0OWoM HfasARi5RD/pvSpN3+SeaXmyzumjCLXethE/Gqd75wWD/Q5VYPY0s1Oom92kS/aFT1pJg8 XSMP+mu1M/aiCGy8uCR97ZgquxyoZxk3fLDR71G1MGlpXr2FTY85X87DJ5VgLlTG2GqWiS kGQnV/3qJJL+nl8cUIGKEPCK119GjmcRHkpMKuOG00ewg8xCQ5rmd7QlpL6Q7nUU+n09Lm uS7FBrqm/3Lt5RiCumR0P6p/tVYj2np4bVP6xTE48x6DNpkUJNl4sFMXXlJT8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail2 header.b=RNe1YSzo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (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=elenq.tech header.s=protonmail2 header.b=RNe1YSzo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (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: 8542115C89 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: rGCQHc9YoaEp 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