Received: (at 53696) by debbugs.gnu.org; 8 Feb 2022 10:52:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 08 05:52:34 2022 Received: from localhost ([127.0.0.1]:45521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nHO6s-0002vK-Gi for submit <at> 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 <ekaitz@HIDDEN>) id 1nHO6o-0002v4-ML for 53696 <at> 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?= <ludo@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: Re: bug#53696: Integer overflow on Guix GC size calculation Message-ID: <YcmoSJT5U0njXiQ5dVcdSFcq32Rj4E4zZPtjtuPALaUlfz3W6A0Vr1_2odLCvQVuJyM1j8xhmRHYSLGMBkE7coqZJ-wkXS7ItyYs0TYDZk4=@elenq.tech> In-Reply-To: <87ee4dbrsa.fsf@HIDDEN> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <f0a7920cbd0c80894a305e535031f1e1bb4403e2.camel@HIDDEN> <20220202120441.GA2665@LionPure> <87ee4dbrsa.fsf@HIDDEN> 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 <maximedevos@HIDDEN>, 53696 <at> debbugs.gnu.org, Bengt Richter <bokr@HIDDEN> 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> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 <http://gnu.org/licenses/gpl.htm= l> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. TY!
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 8 Feb 2022 10:02:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 08 05:02:07 2022 Received: from localhost ([127.0.0.1]:45370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nHNK3-0005Oc-0q for submit <at> 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 <ludo@HIDDEN>) id 1nHNK1-0005O5-3V for 53696 <at> 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?= <ludo@HIDDEN> To: Bengt Richter <bokr@HIDDEN> Subject: Re: bug#53696: Integer overflow on Guix GC size calculation References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <f0a7920cbd0c80894a305e535031f1e1bb4403e2.camel@HIDDEN> <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@HIDDEN> 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 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>, Ekaitz Zarraga <ekaitz@HIDDEN> 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 (/) Hi! Bengt Richter <bokr@HIDDEN> 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.
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 22:46:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 02 17:46:46 2022 Received: from localhost ([127.0.0.1]:53893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nFOOi-0004g5-I1 for submit <at> 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 <bokr@HIDDEN>) id 1nFOOS-0004fd-UG for 53696 <at> 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 <bokr@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: bug#53696: Integer overflow on Guix GC size calculation Message-ID: <20220202224617.GA18103@LionPure> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <f0a7920cbd0c80894a305e535031f1e1bb4403e2.camel@HIDDEN> <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?= <ludo@HIDDEN>, 53696 <at> debbugs.gnu.org, Ekaitz Zarraga <ekaitz@HIDDEN> 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> Reply-To: Bengt Richter <bokr@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 <https://en.wikipedia.org/wiki/Byte#Multiple-byte_units>, > > that's more than the global monthly Internet traffic in 2004. > > > > According to <https://what-if.xkcd.com/31/>, 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 > > >
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 20:04:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 02 15:04:17 2022 Received: from localhost ([127.0.0.1]:53748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nFLrV-0000N7-My for submit <at> 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 <liliana.prikler@HIDDEN>) id 1nFLrS-0000Mo-69 for 53696 <at> 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 <at> 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@HIDDEN> Subject: Re: Integer overflow on Guix GC size calculation From: Liliana Marie Prikler <liliana.prikler@HIDDEN> To: Ekaitz Zarraga <ekaitz@HIDDEN> Date: Wed, 02 Feb 2022 21:04:06 +0100 In-Reply-To: <eiL-NqLXkO8KslOAJSoMQ0KR48Le7DLPP2bE0dw74ydUB3JO5NdKOHVO941JEaGwNVPzaPhHeWEr-If-bxyKovX5DOOav6cpE-_ALeF8F8I=@elenq.tech> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <a4c782cea72bf0ccb82f235ea76ce1a402a1aa59.camel@HIDDEN> <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> <3b7bb17af335d41a13bb638a75ae5f36480d0f68.camel@HIDDEN> <eiL-NqLXkO8KslOAJSoMQ0KR48Le7DLPP2bE0dw74ydUB3JO5NdKOHVO941JEaGwNVPzaPhHeWEr-If-bxyKovX5DOOav6cpE-_ALeF8F8I=@elenq.tech> 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 <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, 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.
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 19:52:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 02 14:52:10 2022 Received: from localhost ([127.0.0.1]:53729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nFLfl-0008TL-PE for submit <at> 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 <ekaitz@HIDDEN>) id 1nFLfh-0008SO-1q for 53696 <at> 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 <liliana.prikler@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: Re: Integer overflow on Guix GC size calculation Message-ID: <eiL-NqLXkO8KslOAJSoMQ0KR48Le7DLPP2bE0dw74ydUB3JO5NdKOHVO941JEaGwNVPzaPhHeWEr-If-bxyKovX5DOOav6cpE-_ALeF8F8I=@elenq.tech> In-Reply-To: <3b7bb17af335d41a13bb638a75ae5f36480d0f68.camel@HIDDEN> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <a4c782cea72bf0ccb82f235ea76ce1a402a1aa59.camel@HIDDEN> <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> <3b7bb17af335d41a13bb638a75ae5f36480d0f68.camel@HIDDEN> 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 <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> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> 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, On Wednesday, February 2nd, 2022 at 8:45 PM, Liliana Marie Prikler <liliana= .prikler@HIDDEN> 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@HIDDEN 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
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 19:45:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 02 14:45:58 2022 Received: from localhost ([127.0.0.1]:53704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nFLZl-0008Fp-Va for submit <at> 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 <liliana.prikler@HIDDEN>) id 1nFLZh-0008FV-IV for 53696 <at> 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 <at> 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@HIDDEN> Subject: Re: Integer overflow on Guix GC size calculation From: Liliana Marie Prikler <liliana.prikler@HIDDEN> To: Ekaitz Zarraga <ekaitz@HIDDEN> Date: Wed, 02 Feb 2022 20:45:45 +0100 In-Reply-To: <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <a4c782cea72bf0ccb82f235ea76ce1a402a1aa59.camel@HIDDEN> <_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 <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, 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 > <liliana.prikler@HIDDEN> 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
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 12:04:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 02 07:04:57 2022 Received: from localhost ([127.0.0.1]:51702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nFENd-0003XG-48 for submit <at> 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 <bokr@HIDDEN>) id 1nFENY-0003X1-Do for 53696 <at> 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 <bokr@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: bug#53696: Integer overflow on Guix GC size calculation Message-ID: <20220202120441.GA2665@LionPure> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <f0a7920cbd0c80894a305e535031f1e1bb4403e2.camel@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <f0a7920cbd0c80894a305e535031f1e1bb4403e2.camel@HIDDEN> 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 <at> debbugs.gnu.org, Ekaitz Zarraga <ekaitz@HIDDEN> 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> Reply-To: Bengt Richter <bokr@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 <https://en.wikipedia.org/wiki/Byte#Multiple-byte_units>, > that's more than the global monthly Internet traffic in 2004. > > According to <https://what-if.xkcd.com/31/>, 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
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 2 Feb 2022 10:05:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 02 05:05:49 2022 Received: from localhost ([127.0.0.1]:51493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nFCWL-0008Pe-5g for submit <at> 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 <maximedevos@HIDDEN>) id 1nFCWI-0008PU-C4 for 53696 <at> 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: <f0a7920cbd0c80894a305e535031f1e1bb4403e2.camel@HIDDEN> Subject: Re: bug#53696: Integer overflow on Guix GC size calculation From: Maxime Devos <maximedevos@HIDDEN> To: Ekaitz Zarraga <ekaitz@HIDDEN>, 53696 <at> debbugs.gnu.org Date: Wed, 02 Feb 2022 11:05:31 +0100 In-Reply-To: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> 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 <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.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 <https://en.wikipedia.org/wiki/Byte#Multiple-byte_units>, that's more than the global monthly Internet traffic in 2004. According to <https://what-if.xkcd.com/31/>, 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/--
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 1 Feb 2022 21:54:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 16:54:22 2022 Received: from localhost ([127.0.0.1]:44343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nF16U-0004KI-Nl for submit <at> 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 <ekaitz@HIDDEN>) id 1nF16R-0004K1-4c for 53696 <at> 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 <liliana.prikler@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: Re: Integer overflow on Guix GC size calculation Message-ID: <_owHxRMem22hRxaUSHfQVU1KLNpPpXZUIgdzrH8dNVIslwfs5wUYfSrDfFgXtoI7V7wFWKcwqP-OmM7-Ib5yjucP6hm2CuM2Izl-noUD52U=@elenq.tech> In-Reply-To: <a4c782cea72bf0ccb82f235ea76ce1a402a1aa59.camel@HIDDEN> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> <a4c782cea72bf0ccb82f235ea76ce1a402a1aa59.camel@HIDDEN> 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 <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> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> 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, =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 <liliana.= prikler@HIDDEN> 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
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at 53696) by debbugs.gnu.org; 1 Feb 2022 21:20:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 16:20:27 2022 Received: from localhost ([127.0.0.1]:44307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nF0Zf-0003Q3-Ey for submit <at> 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 <liliana.prikler@HIDDEN>) id 1nF0Ze-0003Po-0Z for 53696 <at> 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 <at> 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: <a4c782cea72bf0ccb82f235ea76ce1a402a1aa59.camel@HIDDEN> Subject: Re: Integer overflow on Guix GC size calculation From: Liliana Marie Prikler <liliana.prikler@HIDDEN> To: Ekaitz Zarraga <ekaitz@HIDDEN>, 53696 <at> debbugs.gnu.org Date: Tue, 01 Feb 2022 22:20:18 +0100 In-Reply-To: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> References: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> 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 <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.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
bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 14:48:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 09:48:13 2022 Received: from localhost ([127.0.0.1]:42096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nEuS5-0004cI-9W for submit <at> 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 <ekaitz@HIDDEN>) id 1nEuS3-0004cA-OV for submit <at> 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 <ekaitz@HIDDEN>) id 1nEuRr-0002tE-3F for bug-guix@HIDDEN; 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 <ekaitz@HIDDEN>) id 1nEuRK-00037A-MN for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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@HIDDEN" <bug-guix@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: Integer overflow on Guix GC size calculation Message-ID: <ZbUG0J0t7mjKPrXaPwoPrhN-Qx-jMae7vM2CCoOV-kHm7ID85ZoiNij86PcR8_zB2O9-DyxIPwWNlvCTS8AYSYemIuGJ4L8nNYwK0AXYuvQ=@elenq.tech> 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@HIDDEN; 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 <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> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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'
Ekaitz Zarraga <ekaitz@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#53696
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.