From unknown Sun Jun 15 08:57:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32161: seek out of range Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Jul 2018 05:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 32161@debbugs.gnu.org Cc: ludo@gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.153163118813150 (code B ref -1); Sun, 15 Jul 2018 05:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jul 2018 05:06:28 +0000 Received: from localhost ([127.0.0.1]:60424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feZEq-0003Q2-DT for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feZEp-0003Pq-0e for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feZEj-00014h-0E for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feZEi-00014Y-SA for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feZEh-0006uf-Ui for bug-guix@gnu.org; Sun, 15 Jul 2018 01:06:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feZEh-00013a-1k for bug-guix@gnu.org; Sun, 15 Jul 2018 01:06:19 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feZEc-0000yG-ND; Sun, 15 Jul 2018 01:06:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1531631164; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=714; bh=11LPgHrAmInE+4mJ99WeOnsuIWZV1HCaiLunPz6DY84=; b=HYCCG/EJ5c4JJmLo8w+100ljL3OdCzYlH3Y6F8dJrA+RTdt6Sq0EBemhn24rAbi7 Rvln9xU7bQNee7mG4wJrcZ/U5Zk6VQKqStNhllIx5pwjEWlUbg45qKr2NQ65Eb1PgyU w7uKCbGvpEeHEGHUfNEVtfGiXNmfK3+V0q/hO92I= Received: from localhost (port-92-200-33-173.dynamic.qsc.de [92.200.33.173]) by mx.zohomail.com with SMTPS id 1531631164566673.3882879042936; Sat, 14 Jul 2018 22:06:04 -0700 (PDT) User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 15 Jul 2018 07:05:59 +0200 Message-ID: <87bmb9qea0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -5.0 (-----) I=E2=80=99m getting this bug on berlin.guixsd.org. The store is several hu= ndred GB in size. I cannot reproduce this on a machine with a smaller store. --8<---------------cut here---------------start------------->8--- In guix/store/deduplication.scm: 62:18 1 (nar-sha256 _) In unknown file: 0 (seek # 0 1) ERROR: In procedure seek: Value out of range -2147483648 to 2147483647: 4770726968 @ hook-failed /gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texlive-texmf-201= 7.drv - 256 builder for `/gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texliv= e-texmf-2017.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- --=20 Ricardo From unknown Sun Jun 15 08:57:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32161: seek out of range Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Jul 2018 07:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 32161@debbugs.gnu.org Received: via spool by 32161-submit@debbugs.gnu.org id=B32161.153163983530296 (code B ref 32161); Sun, 15 Jul 2018 07:31:02 +0000 Received: (at 32161) by debbugs.gnu.org; 15 Jul 2018 07:30:35 +0000 Received: from localhost ([127.0.0.1]:60447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1febUI-0007sZ-Vu for submit@debbugs.gnu.org; Sun, 15 Jul 2018 03:30:35 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1febUH-0007sP-4y for 32161@debbugs.gnu.org; Sun, 15 Jul 2018 03:30:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1531639810; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1284; bh=IzuzbMGK0W6VkRNxSugYbUtTe5phIQauioxaYhU4Atc=; b=ViwzywQXTMlO7E3x8rXCNYVrfeat/OSX/RGLSczyug6sVlIBHqyZBI4ZKJQQ37Ou Y9sfV4VamjGeyRzLh02eZ3tgwYmVSp/+kF6+7Y1Fobgq2mRTWhntbbJB6JmW8CjnJ1w ivvXXmc3WVt0jjQtP2h8EdcLO57MSmJKQLITh97o= Received: from localhost (port-92-200-33-173.dynamic.qsc.de [92.200.33.173]) by mx.zohomail.com with SMTPS id 1531639810789845.0871000754603; Sun, 15 Jul 2018 00:30:10 -0700 (PDT) References: <87bmb9qea0.fsf@elephly.net> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus In-reply-to: <87bmb9qea0.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 15 Jul 2018 09:30:07 +0200 Message-ID: <87a7qtq7ls.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) 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 (-) Ricardo Wurmus writes: > I=E2=80=99m getting this bug on berlin.guixsd.org. The store is several = hundred > GB in size. I cannot reproduce this on a machine with a smaller store. This is not correct. I cannot reproduce this on a machine where deduplication has been disabled. > --8<---------------cut here---------------start------------->8--- > In guix/store/deduplication.scm: > 62:18 1 (nar-sha256 _) > In unknown file: > 0 (seek # 0 1) > > ERROR: In procedure seek: > Value out of range -2147483648 to 2147483647: 4770726968 > @ hook-failed /gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texlive-texmf-2= 017.drv - 256 builder for `/gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texl= ive-texmf-2017.drv' failed with exit code 1 > --8<---------------cut here---------------end--------------->8--- Line 62 is (port-position wrapper). =E2=80=9Cseek=E2=80=9D takes an intege= r as the offset and the range it reports is that of the minimum and maximum values of a 32 bit integer. So=E2=80=A6 does this mean that we need some other way of counting written = bytes to get rid of =E2=80=9Ccounting-wrapper-port=E2=80=9D? On berlin.guixsd.org I may have to temporarily disable deduplication. -- Ricardo From unknown Sun Jun 15 08:57:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32161: seek out of range Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Jul 2018 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 32161@debbugs.gnu.org Received: via spool by 32161-submit@debbugs.gnu.org id=B32161.15320162188613 (code B ref 32161); Thu, 19 Jul 2018 16:04:01 +0000 Received: (at 32161) by debbugs.gnu.org; 19 Jul 2018 16:03:38 +0000 Received: from localhost ([127.0.0.1]:48449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgBOz-0002Er-V3 for submit@debbugs.gnu.org; Thu, 19 Jul 2018 12:03:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgBOx-0002Ee-Qb for 32161@debbugs.gnu.org; Thu, 19 Jul 2018 12:03:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgBOp-00077X-Ht for 32161@debbugs.gnu.org; Thu, 19 Jul 2018 12:03:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgBOp-00077L-EY; Thu, 19 Jul 2018 12:03:27 -0400 Received: from [193.50.110.227] (port=51588 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fgBOo-0004Wa-Mq; Thu, 19 Jul 2018 12:03:27 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87bmb9qea0.fsf@elephly.net> <87a7qtq7ls.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Thermidor an 226 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, 19 Jul 2018 18:03:24 +0200 In-Reply-To: <87a7qtq7ls.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 15 Jul 2018 09:30:07 +0200") Message-ID: <87fu0fqkkz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -6.0 (------) Hi Ricardo, Ricardo Wurmus skribis: > Ricardo Wurmus writes: > >> I=E2=80=99m getting this bug on berlin.guixsd.org. The store is several= hundred >> GB in size. I cannot reproduce this on a machine with a smaller store. > > This is not correct. I cannot reproduce this on a machine where > deduplication has been disabled. > >> --8<---------------cut here---------------start------------->8--- >> In guix/store/deduplication.scm: >> 62:18 1 (nar-sha256 _) >> In unknown file: >> 0 (seek # 0 1) >> >> ERROR: In procedure seek: >> Value out of range -2147483648 to 2147483647: 4770726968 >> @ hook-failed /gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texlive-texmf-= 2017.drv - 256 builder for `/gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-tex= live-texmf-2017.drv' failed with exit code 1 >> --8<---------------cut here---------------end--------------->8--- For the record, this code can be executed through =E2=80=98guix offload=E2= =80=99, via =E2=80=98restore-file-set=E2=80=99. > Line 62 is (port-position wrapper). =E2=80=9Cseek=E2=80=9D takes an inte= ger as the > offset and the range it reports is that of the minimum and maximum > values of a 32 bit integer. I have some good news! I fixed this in Guile commit d677aca5c5e5b3a9f71af57243169904ba4a712c. Bad news, we can=E2=80=99t really work around it on the Guix side. There=E2=80=99s also another bug: the =E2=80=98write=E2=80=99 procedure of = a custom binary output port is never called when passing a bytevector bigger than 2^32. > So=E2=80=A6 does this mean that we need some other way of counting writte= n bytes > to get rid of =E2=80=9Ccounting-wrapper-port=E2=80=9D? Commit 83099892e0cf0d9c59f5e1a0774331026e48baa8 gets rid of it, but that=E2=80=99s mostly for aesthetic and performance reasons. > On berlin.guixsd.org I may have to temporarily disable deduplication. I=E2=80=99m not sure that=E2=80=99d help. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 05:46:40 2018 Received: (at control) by debbugs.gnu.org; 20 Jul 2018 09:46:41 +0000 Received: from localhost ([127.0.0.1]:48830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgRzk-0000Su-Is for submit@debbugs.gnu.org; Fri, 20 Jul 2018 05:46:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgRzj-0000Sh-Mj for control@debbugs.gnu.org; Fri, 20 Jul 2018 05:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgRzZ-0007mO-J1 for control@debbugs.gnu.org; Fri, 20 Jul 2018 05:46:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgRzZ-0007mA-Es for control@debbugs.gnu.org; Fri, 20 Jul 2018 05:46:29 -0400 Received: from [193.50.110.227] (port=51866 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fgRzY-000708-TK for control@debbugs.gnu.org; Fri, 20 Jul 2018 05:46:29 -0400 Date: Fri, 20 Jul 2018 11:46:27 +0200 Message-Id: <87sh4ep7d8.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #32161 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -6.0 (------) retitle 32161 (guix store deduplication) fails with large files From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 02 09:57:33 2018 Received: (at control) by debbugs.gnu.org; 2 Sep 2018 13:57:33 +0000 Received: from localhost ([127.0.0.1]:43079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwSsV-0005T6-9T for submit@debbugs.gnu.org; Sun, 02 Sep 2018 09:57:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwSsE-0005Ru-SU for control@debbugs.gnu.org; Sun, 02 Sep 2018 09:57:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwSrf-0000xf-V5 for control@debbugs.gnu.org; Sun, 02 Sep 2018 09:56:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwSrf-0000xJ-SV for control@debbugs.gnu.org; Sun, 02 Sep 2018 09:56:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40482 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fwSrW-0007mW-DH for control@debbugs.gnu.org; Sun, 02 Sep 2018 09:56:24 -0400 Date: Sun, 02 Sep 2018 15:56:08 +0200 Message-Id: <87zhx09f5z.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #32161 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control 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 (-) severity 32161 important From unknown Sun Jun 15 08:57:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#32161: closed (Re: bug#32161: seek out of range) Message-ID: References: <87in2bd1a2.fsf@gnu.org> <87bmb9qea0.fsf@elephly.net> X-Gnu-PR-Message: they-closed 32161 X-Gnu-PR-Package: guix Reply-To: 32161@debbugs.gnu.org Date: Tue, 09 Oct 2018 07:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1539070322-1616-1" This is a multi-part message in MIME format... ------------=_1539070322-1616-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32161: (guix store deduplication) fails with large files which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32161@debbugs.gnu.org. --=20 32161: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32161 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1539070322-1616-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32161-done) by debbugs.gnu.org; 9 Oct 2018 07:31:32 +0000 Received: from localhost ([127.0.0.1]:41123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9mUN-0000PK-V7 for submit@debbugs.gnu.org; Tue, 09 Oct 2018 03:31:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9mUL-0000P5-O4 for 32161-done@debbugs.gnu.org; Tue, 09 Oct 2018 03:31:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9mUD-0001iK-Cv for 32161-done@debbugs.gnu.org; Tue, 09 Oct 2018 03:31:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9mUD-0001i5-5Y; Tue, 09 Oct 2018 03:31:21 -0400 Received: from [193.50.110.78] (port=43876 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9mUC-00059w-SI; Tue, 09 Oct 2018 03:31:21 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#32161: seek out of range References: <87bmb9qea0.fsf@elephly.net> <87a7qtq7ls.fsf@elephly.net> <87fu0fqkkz.fsf@gnu.org> Date: Tue, 09 Oct 2018 09:31:17 +0200 In-Reply-To: <87fu0fqkkz.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 19 Jul 2018 18:03:24 +0200") Message-ID: <87in2bd1a2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32161-done Cc: 32161-done@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: -6.0 (------) Hi, ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Ricardo Wurmus skribis: > >> Ricardo Wurmus writes: >> >>> I=E2=80=99m getting this bug on berlin.guixsd.org. The store is severa= l hundred >>> GB in size. I cannot reproduce this on a machine with a smaller store. >> >> This is not correct. I cannot reproduce this on a machine where >> deduplication has been disabled. >> >>> --8<---------------cut here---------------start------------->8--- >>> In guix/store/deduplication.scm: >>> 62:18 1 (nar-sha256 _) >>> In unknown file: >>> 0 (seek # 0 1) >>> >>> ERROR: In procedure seek: >>> Value out of range -2147483648 to 2147483647: 4770726968 >>> @ hook-failed /gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texlive-texmf= -2017.drv - 256 builder for `/gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-te= xlive-texmf-2017.drv' failed with exit code 1 >>> --8<---------------cut here---------------end--------------->8--- > > For the record, this code can be executed through =E2=80=98guix offload= =E2=80=99, via > =E2=80=98restore-file-set=E2=80=99. > >> Line 62 is (port-position wrapper). =E2=80=9Cseek=E2=80=9D takes an int= eger as the >> offset and the range it reports is that of the minimum and maximum >> values of a 32 bit integer. > > I have some good news! I fixed this in Guile commit > d677aca5c5e5b3a9f71af57243169904ba4a712c. > > Bad news, we can=E2=80=99t really work around it on the Guix side. Actually Guix commit 4f89a8eec69491b925f084381ea4de37527c9310 provides a workaround. Ludo=E2=80=99. ------------=_1539070322-1616-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Jul 2018 05:06:28 +0000 Received: from localhost ([127.0.0.1]:60424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feZEq-0003Q2-DT for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feZEp-0003Pq-0e for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feZEj-00014h-0E for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feZEi-00014Y-SA for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:06:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feZEh-0006uf-Ui for bug-guix@gnu.org; Sun, 15 Jul 2018 01:06:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feZEh-00013a-1k for bug-guix@gnu.org; Sun, 15 Jul 2018 01:06:19 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feZEc-0000yG-ND; Sun, 15 Jul 2018 01:06:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1531631164; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=714; bh=11LPgHrAmInE+4mJ99WeOnsuIWZV1HCaiLunPz6DY84=; b=HYCCG/EJ5c4JJmLo8w+100ljL3OdCzYlH3Y6F8dJrA+RTdt6Sq0EBemhn24rAbi7 Rvln9xU7bQNee7mG4wJrcZ/U5Zk6VQKqStNhllIx5pwjEWlUbg45qKr2NQ65Eb1PgyU w7uKCbGvpEeHEGHUfNEVtfGiXNmfK3+V0q/hO92I= Received: from localhost (port-92-200-33-173.dynamic.qsc.de [92.200.33.173]) by mx.zohomail.com with SMTPS id 1531631164566673.3882879042936; Sat, 14 Jul 2018 22:06:04 -0700 (PDT) User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: seek out of range X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 15 Jul 2018 07:05:59 +0200 Message-ID: <87bmb9qea0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: ludo@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: -5.0 (-----) I=E2=80=99m getting this bug on berlin.guixsd.org. The store is several hu= ndred GB in size. I cannot reproduce this on a machine with a smaller store. --8<---------------cut here---------------start------------->8--- In guix/store/deduplication.scm: 62:18 1 (nar-sha256 _) In unknown file: 0 (seek # 0 1) ERROR: In procedure seek: Value out of range -2147483648 to 2147483647: 4770726968 @ hook-failed /gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texlive-texmf-201= 7.drv - 256 builder for `/gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texliv= e-texmf-2017.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- --=20 Ricardo ------------=_1539070322-1616-1--