From unknown Thu Jun 12 08:37:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28240 <28240@debbugs.gnu.org> To: bug#28240 <28240@debbugs.gnu.org> Subject: Status: bad backtrace on =?UTF-8?Q?=E2=80=9Cguix?= archive =?UTF-8?Q?-x=E2=80=9D?= Reply-To: bug#28240 <28240@debbugs.gnu.org> Date: Thu, 12 Jun 2025 15:37:43 +0000 retitle 28240 bad backtrace on =E2=80=9Cguix archive -x=E2=80=9D reassign 28240 guix submitter 28240 Ricardo Wurmus severity 28240 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 26 08:23:30 2017 Received: (at submit) by debbugs.gnu.org; 26 Aug 2017 12:23:30 +0000 Received: from localhost ([127.0.0.1]:56118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dla7e-00014K-AR for submit@debbugs.gnu.org; Sat, 26 Aug 2017 08:23:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dla7b-000146-Ck for submit@debbugs.gnu.org; Sat, 26 Aug 2017 08:23:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dla7V-0005ir-7b for submit@debbugs.gnu.org; Sat, 26 Aug 2017 08:23:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dla7V-0005in-4C for submit@debbugs.gnu.org; Sat, 26 Aug 2017 08:23:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dla7T-00087K-Qj for bug-guix@gnu.org; Sat, 26 Aug 2017 08:23:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dla7P-0005hx-Ow for bug-guix@gnu.org; Sat, 26 Aug 2017 08:23:19 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dla7P-0005ho-HS for bug-guix@gnu.org; Sat, 26 Aug 2017 08:23:15 -0400 Received: from localhost (ip-109-40-3-39.web.vodafone.de [109.40.3.39]) by mx.zohomail.com with SMTPS id 1503750190181605.0061486635864; Sat, 26 Aug 2017 05:23:10 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: "'bug-guix\@gnu.org'" Subject: bad backtrace on =?utf-8?Q?=E2=80=9Cguix?= archive =?utf-8?Q?-x?= =?utf-8?Q?=E2=80=9D?= 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: Sat, 26 Aug 2017 14:23:05 +0200 Message-ID: <87a82mv7py.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 3.x [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 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: -4.0 (----) Here=E2=80=99s what I did: --8<---------------cut here---------------start------------->8--- wget -q -O - https://mirror.hydra.gnu.org/guix/nar/gzip/ykpfif2wzabhnn0a88s= w3f96paa33k2z-r-minimal-3.4.0 | guix archive -x /tmp/hydra Backtrace: 6 (primitive-load "/gnu/store/gkv8zl774h2qpa89mrf6d74fry3=E2=80= =A6") In guix/ui.scm: 1352:12 5 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 4 (catch _ _ # =E2=80=A6) 837:9 3 (catch _ _ # =E2=80=A6) In guix/scripts/archive.scm: 345:28 2 (_) In guix/serialization.scm: 316:21 1 (restore-file # "/tmp/hydra") In unknown file: 0 (utf8->string #vu8(0 3 236 189 11 116 92 213 149 32 # =E2=80= =A6)) ERROR: In procedure utf8->string: ERROR: Throw to key `decoding-error' with args `("scm_from_utf8_stringn" "i= nput locale conversion error" 0 #vu8(2 3 236 189 11 116 92 213 149 32 122 3= 7 99 35 93 140 100 136 1 135 132 230 32 4 37 9 85 233 227 15 178 141 140 74= 82 217 85 65 150 148 146 100 96 97 35 223 170 186 85 186 168 126 169 91 16= 5 143 177 19 51 134 4 45 183 50 76 122 186 87 207 116 214 123 204 91 157 76= 122 77 86 154 158 204 155 16 186 131 237 5 193 73 175 204 132 204 234 78 2= 10 157 188 78 79 186 211 145 67 62 116 39 33 36 233 224 183 247 62 159 251 = 169 42 27 99 32 153 181 82 96 221 123 207 103 159 115 246 217 103 239 125 2= 46 217 231 156 171 53 254 203 91 75 65 163 148 156 179 22 204 96 31 124 55 = 136 240 14 241 188 66 60 203 203 69 19 159 205 226 59 101 149 204 100 185 8= 0 90 22 223 235 197 211 204 151 41 172 30 156 188 145 35 56 235 196 119 194= 202 123 227 11 41 138 127 187 234 33 227 227 254 248 215 89 143 43 197 119= 201 204 84 178 70 73 211 101 249 75 102 178 82 54 18 89 83 243 252 154 196= 51 89 200 151 161 142 246 31 183 243 239 91 111 233 201 228 43 61 54 52 19= 7 236 153 191 179 183 127 231 252 246 5 99 199 64 118 222 40 38 142 36 151 = 147 169 35 15 221 153 219 158 120 40 177 45 49 16 76 24 246 92 112 91 104 9= 1 168 175 191 7 48 216 131 223 250 173 108 106 206 204 102 2 =E2=80=A6 [pages upon pages of numbers] =E2=80=A6 --8<---------------cut here---------------end--------------->8--- The problem here is that I didn=E2=80=99t gunzip the file, but I guess it c= ould have told me that instead of giving me all these numbers. --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 19:18:25 2021 Received: (at 28240) by debbugs.gnu.org; 25 Feb 2021 00:18:25 +0000 Received: from localhost ([127.0.0.1]:36280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF4MK-0003JB-Ts for submit@debbugs.gnu.org; Wed, 24 Feb 2021 19:18:25 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:54154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF4MI-0003Iv-Od for 28240@debbugs.gnu.org; Wed, 24 Feb 2021 19:18:23 -0500 Received: by mail-wm1-f48.google.com with SMTP id x16so3225621wmk.3 for <28240@debbugs.gnu.org>; Wed, 24 Feb 2021 16:18:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=yalCSeSmASU06m/KURVtVYsOf1z/2e/rDk0r4NlhNpQ=; b=tZV8rRhJpXtiOel825MfsiUYlY4OReTyoxl3QY7h91TErTADOqGvq5i0wwYzaVvJ04 Mbv743by9iWxMCaMNaInhCyOmRHUZnIgGZTlkT6gryzs2aqpB8p/pYTb8uasDIusNv+D 9h0X7ED5OKikCH163DoNfnCgRE+rOLjAfsg42H4yUvKfX+d8A6Ab44OLbTomPJEBDLgb Y8A6OpYIE5AFQug4R9UJ7Yf0eORfHAFYRV7ZKMat1y9BvZAr0QPCfUl3YwIP7J97qG8z xOhifJ1Z9ocR77XnluOg7tN39LO76JBWPlcUNf+DKyTP7l29ERVBhGGYdnTYRSvpaSMI dbfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=yalCSeSmASU06m/KURVtVYsOf1z/2e/rDk0r4NlhNpQ=; b=T75z8zrFHAAN2ly7vHE7aRZ77ltzUxIGsmC6oD1MtylLaMWpvGnoLxaSDHoOGJTGhU BTugi+Kt8rCRMmeh1thlRkjZ8TbxSWP9YxrXofy5FYs01IZa0kukLVMvHGa0AO037a4B RO++fzleNdEpWgwfhTLnhKNgfb551SL7ks4TyFx+BjFYZaDaZ5CR9ZO3FN5Kgpdpm95p VjWesNwY40TTrKqm+9WNLqentjYGtGD8FqNnNHVD5E/7AVJiuVJPMuMxpGc9JkYhVIGx OLe05BYcw7ztTBni1i+8DNITN4Fhl3QurH38DKJopYjOcnVSzDZr8B74pOANN8ILdcqc jOJw== X-Gm-Message-State: AOAM530aEjZ/bU/9Q5Tcbl2WaI3CtfSB3EZPQnDR1qBrtPSdReHjvKvc FOkR7PBgo1oZTixLQ69VDQUSCeu6jsg= X-Google-Smtp-Source: ABdhPJyc/dfO1pNN97kpN+Bulcdlmq7wwcegayMFbXUsGZhhWcKfQy8QYg3LnnuJFYG/2uFTi0f94g== X-Received: by 2002:a1c:9a06:: with SMTP id c6mr517198wme.140.1614212296647; Wed, 24 Feb 2021 16:18:16 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id u137sm5150356wmu.20.2021.02.24.16.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 16:18:16 -0800 (PST) From: zimoun To: Ricardo Wurmus Subject: Re: bug#28240: bad backtrace on =?utf-8?Q?=E2=80=9Cguix?= archive =?utf-8?Q?-x=E2=80=9D?= References: <87a82mv7py.fsf@elephly.net> Date: Thu, 25 Feb 2021 01:08:47 +0100 In-Reply-To: <87a82mv7py.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 26 Aug 2017 14:23:05 +0200") Message-ID: <86czwpknzk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28240 Cc: 28240@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ricardo, On Sat, 26 Aug 2017 at 14:23, Ricardo Wurmus wrote: > wget -q -O - https://mirror.hydra.gnu.org/guix/nar/gzip/ykpfif2wzabhnn0a8= 8sw3f96paa33k2z-r-minimal-3.4.0 | guix archive -x /tmp/hydra > Backtrace: This example is not relevant anymore. Instead, --8<---------------cut here---------------start------------->8--- wget -O - https://ci.guix.gnu.org/nar/gzip/bhdixzi1c7x4jyh93zx5aqgwzzw3i182= -r-minimal-4.0.4 | guix archive -x /tmp/ci --8<---------------cut here---------------end--------------->8--- still returns the ugly backtrace with=E2=80=A6 [...] > ERROR: Throw to key `decoding-error' with args `("scm_from_utf8_stringn" = "input locale conversion error" 0 #vu8(2 3 236 189 11 116 92 213 149 32 122= 37 99 35 93 140 100 136 1 135 132 230 32 4 37 9 85 233 227 15 178 141 140 = 74 82 217 85 65 150 148 146 100 96 97 35 223 170 186 85 186 168 126 169 91 = 165 143 177 19 51 134 4 45 183 50 76 122 186 87 207 116 214 123 204 91 157 = 76 122 77 86 154 158 204 155 16 186 131 237 5 193 73 175 204 132 204 234 78= 210 157 188 78 79 186 211 145 67 62 116 39 33 36 233 224 183 247 62 159 25= 1 169 42 27 99 32 153 181 82 96 221 123 207 103 159 115 246 217 103 239 125= 246 217 231 156 171 53 254 203 91 75 65 163 148 156 179 22 204 96 31 124 5= 5 136 240 14 241 188 66 60 203 203 69 19 159 205 226 59 101 149 204 100 185= 80 90 22 223 235 197 211 204 151 41 172 30 156 188 145 35 56 235 196 119 1= 94 202 123 227 11 41 138 127 187 234 33 227 227 254 248 215 89 143 43 197 1= 19 201 204 84 178 70 73 211 101 249 75 102 178 82 54 18 89 83 243 252 154 1= 96 51 89 200 151 161 142 246 31 183 243 239 91 111 233 201 228 43 61 54 52 = 197 236 153 191 179 183 127 231 252 246 5 99 199 64 118 222 40 38 142 36 15= 1 147 169 35 15 221 153 219 158 120 40 177 45 49 16 76 24 246 92 112 91 104= 91 168 175 191 7 48 216 131 223 250 173 108 106 206 204 102 2 > =E2=80=A6 > [pages upon pages of numbers] > =E2=80=A6 =E2=80=A6pages of numbers. Moreover, the lzip returns something more comprehensive. --8<---------------cut here---------------start------------->8--- $ wget -O - https://ci.guix.gnu.org/nar/lzip/=E2=80=A6-r-minimal-4.0.4 | gu= ix archive -x /tmp/ci --2021-02-25 01:02:04-- https://ci.guix.gnu.org/nar/lzip/=E2=80=A6-r-minim= al-4.0.4 Resolving ci.guix.gnu.org (ci.guix.gnu.org)... 141.80.181.40 Connecting to ci.guix.gnu.org (ci.guix.gnu.org)|141.80.181.40|:443... conne= cted. HTTP request sent, awaiting response... 200 OK Length: 24343298 (23M) [application/octet-stream] Saving to: =E2=80=98STDOUT=E2=80=99 - 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 23= .21M 486KB/s in 56s=20=20=20=20=20 2021-02-25 01:03:01 (424 KB/s) - written to stdout [24343298/24343298] guix archive: error: corrupt input while restoring '/tmp/ci' from # --8<---------------cut here---------------end--------------->8--- All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 26 18:53:23 2022 Received: (at 28240) by debbugs.gnu.org; 26 Oct 2022 22:53:24 +0000 Received: from localhost ([127.0.0.1]:55485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onpH0-0002iG-Ie for submit@debbugs.gnu.org; Wed, 26 Oct 2022 18:53:23 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:44781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onpGo-0002hB-9v for 28240@debbugs.gnu.org; Wed, 26 Oct 2022 18:53:11 -0400 Received: by mail-wr1-f47.google.com with SMTP id v1so28924629wrt.11 for <28240@debbugs.gnu.org>; Wed, 26 Oct 2022 15:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=vSwVwHfMODR8APuWqy1dsvDiHQJPvUR55W/H2DQplRM=; b=AFy0VjiV9+bH4zmjtuDyomFoIpdL3h07a4iDNulY2MUS4o3JiK6vji5YLRsDsUInLJ H0UkSM/c5fpAG91vCEtSVuMm4b1yRxlVY6v6hCY+XxFnAAOk9fiqW9ED/jErlSPwzU/+ MKgnMre84JyEQz7YiwpNvK9EvNwzYMXcNMUEx2T2tusIJ8BsilsQyfpR3KGsBDcUx+u/ Qtejre2v9Dx+SIf33pR458OBFKNyaDKaI3bMuHLxNORBYuai37BMLmR/5nXbXeJaajbo X9tu1kyy6HLmciTDQs0yQMcKF12nhj/l+m4H6mYdDgLmlwpaFiCTH+Dd0D2azQUTLaMD j8HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vSwVwHfMODR8APuWqy1dsvDiHQJPvUR55W/H2DQplRM=; b=GAvVXu+7hOKlpo/XuQM61OYNVglC1IdMNVHzSn0bxSREQPCMie+AWD6rfsNmmaVANu M7M38e4cyzEVXOkTRm0UZvxE89SlZYUiseDzfUiU+KrrwZP/N8F7l93LM/6NX+6u992Q WkMBpX4q6pd1lPP3sVqoGSrggteR6GRhUXtyfd26ZQtpD6RFuhhDTj2BOvmVvxZOdYze moiAYfKETUDBTG+ditODne9mzxh2XRngaTcsOqn9AFG8vbcfUy+serKOppXnki7luhqw u4YWduc9+zgGurYyrngEZTHJioCSVcTjA8fo9k4uM4sFQeCdHAgHzl1V97rP+MuRvbzv zOMA== X-Gm-Message-State: ACrzQf306S4hSXD/Z/qVIwrWeK/78PuWhdTJsebuFiNa+bnnG8yPgp3C o+Zgl63VBnQje6RGuGzfkZUZFYAP1d4= X-Google-Smtp-Source: AMsMyM6ZrQQ72wyGEOMMSPDd+fHgNF/eMwo/JCZQ1tPg9c/R6l4B4V7UM8TqTb34pNxYezEH++LY/Q== X-Received: by 2002:a5d:4b51:0:b0:236:88a2:267f with SMTP id w17-20020a5d4b51000000b0023688a2267fmr5090678wrs.461.1666824784570; Wed, 26 Oct 2022 15:53:04 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z16-20020a05600c0a1000b003c21ba7d7d6sm3073607wmp.44.2022.10.26.15.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 15:53:04 -0700 (PDT) From: zimoun To: Ricardo Wurmus Subject: Re: bug#28240: bad backtrace on =?utf-8?Q?=E2=80=9Cguix?= archive =?utf-8?Q?-x=E2=80=9D?= References: <87a82mv7py.fsf@elephly.net> <86czwpknzk.fsf@gmail.com> Date: Wed, 26 Oct 2022 22:29:27 +0200 In-Reply-To: <86czwpknzk.fsf@gmail.com> (zimoun's message of "Thu, 25 Feb 2021 01:08:47 +0100") Message-ID: <86k04mba6w.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28240 Cc: 28240@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Thu, 25 Feb 2021 at 01:08, zimoun wrote: > On Sat, 26 Aug 2017 at 14:23, Ricardo Wurmus wrote: > >> wget -q -O - https://mirror.hydra.gnu.org/guix/nar/gzip/ykpfif2wzabhnn0a= 88sw3f96paa33k2z-r-minimal-3.4.0 | guix archive -x /tmp/hydra >> Backtrace: > > This example is not relevant anymore. Instead, > > wget -O - https://ci.guix.gnu.org/nar/gzip/bhdixzi1c7x4jyh93zx5aqgwzzw3i1= 82-r-minimal-4.0.4 | guix archive -x /tmp/ci > > > still returns the ugly backtrace with=E2=80=A6 > > [...] > >> ERROR: Throw to key `decoding-error' with args `("scm_from_utf8_stringn" >> "input locale conversion error" 0 #vu8(2 3 236 189 11 116 92 213 149 32 = 122 >> 37 99 35 93 140 100 136 1 135 132 230 32 4 37 9 85 233 227 15 178 141 14= 0 74 >> 82 217 85 65 150 148 146 100 96 97 35 223 170 186 85 186 168 126 169 91 = 165 >> 143 177 19 51 134 4 45 183 50 76 122 186 87 207 116 214 123 204 91 157 76 >> 122 77 86 154 158 204 155 16 186 131 237 5 193 73 175 204 132 204 234 78= 210 >> 157 188 78 79 186 211 145 67 62 116 39 33 36 233 224 183 247 62 159 251 = 169 >> 42 27 99 32 153 181 82 96 221 123 207 103 159 115 246 217 103 239 125 246 >> 217 231 156 171 53 254 203 91 75 65 163 148 156 179 22 204 96 31 124 55 = 136 >> 240 14 241 188 66 60 203 203 69 19 159 205 226 59 101 149 204 100 185 80= 90 >> 22 223 235 197 211 204 151 41 172 30 156 188 145 35 56 235 196 119 194 2= 02 >> 123 227 11 41 138 127 187 234 33 227 227 254 248 215 89 143 43 197 119 2= 01 >> 204 84 178 70 73 211 101 249 75 102 178 82 54 18 89 83 243 252 154 196 5= 1 89 >> 200 151 161 142 246 31 183 243 239 91 111 233 201 228 43 61 54 52 197 236 >> 153 191 179 183 127 231 252 246 5 99 199 64 118 222 40 38 142 36 151 147= 169 >> 35 15 221 153 219 158 120 40 177 45 49 16 76 24 246 92 112 91 104 91 168= 175 >> 191 7 48 216 131 223 250 173 108 106 206 204 102 2 >> =E2=80=A6 >> [pages upon pages of numbers] >> =E2=80=A6 > > =E2=80=A6pages of numbers. This is still relevant. However, is it still worth to keep it open because of: ? > > Moreover, the lzip returns something more comprehensive. > > $ wget -O - https://ci.guix.gnu.org/nar/lzip/=E2=80=A6-r-minimal-4.0.4 | = guix archive -x /tmp/ci > --2021-02-25 01:02:04-- https://ci.guix.gnu.org/nar/lzip/=E2=80=A6-r-min= imal-4.0.4 > Resolving ci.guix.gnu.org (ci.guix.gnu.org)... 141.80.181.40 > Connecting to ci.guix.gnu.org (ci.guix.gnu.org)|141.80.181.40|:443... con= nected. > HTTP request sent, awaiting response... 200 OK > Length: 24343298 (23M) [application/octet-stream] > Saving to: =E2=80=98STDOUT=E2=80=99 > > - 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 23= .21M 486KB/s in 56s > > 2021-02-25 01:03:01 (424 KB/s) - written to stdout [24343298/24343298] > > guix archive: error: corrupt input while restoring '/tmp/ci' from # The situation is still the same. Well, is the =E2=80=9Cguix archive=E2=80= =9D error the point of this bug report? Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 07:32:11 2022 Received: (at 28240) by debbugs.gnu.org; 27 Oct 2022 11:32:11 +0000 Received: from localhost ([127.0.0.1]:56311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo17K-00088C-RF for submit@debbugs.gnu.org; Thu, 27 Oct 2022 07:32:11 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo17D-00087z-A7 for 28240@debbugs.gnu.org; Thu, 27 Oct 2022 07:32:09 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1666870320; cv=none; d=zohomail.com; s=zohoarc; b=bGIec61uEcAAOWnTlGFBspOnHJxSE8eUegSPGyVu4cqklnUzOBJUAhpnA+nNWWz7NVYG5Z62g2BCC4MUtVWzshgUsYv1DG/tGIf7Y/bHEEoyucPrelEbOsyjYcTmAQeIY8iWRVC2tdTgXEJvHDuD47hxo42Kw2Iay4KAC2xoIdA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1666870320; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=DwnMYzvWZcG+T0mohPn/Ia6IsSqeurtb3aaJrMupQUY=; b=JjI539ecSmEbvD4DRTPkNxDxWj3bqfJYN7eeZoV+rHCSz+zp2FWI4UWNV40ByoiCHNrUdyieUdEqosJteIpSkKJepBL/0dFvoVCSU6Zmgdj5c6iq1tfo2ue850JiPedBWZejS8l7qO+lxsriNPts63CMrDxQhWyBILXVBMRQZ9w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1666870320; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=DwnMYzvWZcG+T0mohPn/Ia6IsSqeurtb3aaJrMupQUY=; b=iqaHj/zj9a1IA+ACrgxgULS6/Jv1TjmM1sEDFoUkyzwIW8JSBMOH1ENzlzPEvuMG M/q/645eFG2C8OwI483NbvgA7OeLdwKkCURTsDfqnKGWLRTcsRb4JxP9fjIpqHw5Iuu h7qbHYIwCtkcO6ViqczXg1sOVVH8m1SlFKO2ST3E= Received: from localhost (151-110-142-46.pool.kielnet.net [46.142.110.151]) by mx.zohomail.com with SMTPS id 166687031812162.41809222646373; Thu, 27 Oct 2022 04:31:58 -0700 (PDT) References: <87a82mv7py.fsf@elephly.net> <86czwpknzk.fsf@gmail.com> <86k04mba6w.fsf@gmail.com> User-agent: mu4e 1.8.9; emacs 28.1 From: Ricardo Wurmus To: zimoun Subject: Re: bug#28240: bad backtrace on =?utf-8?Q?=E2=80=9Cguix?= archive =?utf-8?Q?-x=E2=80=9D?= Date: Thu, 27 Oct 2022 13:30:42 +0200 In-reply-to: <86k04mba6w.fsf@gmail.com> 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 Message-ID: <87sfj9ijtg.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-Debbugs-Envelope-To: 28240 Cc: 28240@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) zimoun writes: >> guix archive: error: corrupt input while restoring '/tmp/ci' from # > > The situation is still the same. Well, is the =E2=80=9Cguix archive=E2= =80=9D error the > point of this bug report? The point is the terrible backtrace. While this error is a little better it=E2=80=99s also not great. But my primary concern is to prevent =E2=80=99guix archive=E2=80=99 from pr= inting a bad backtrace. Doesn=E2=80=99t matter what we feed it. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 04:47:42 2022 Received: (at 28240) by debbugs.gnu.org; 28 Oct 2022 08:47:43 +0000 Received: from localhost ([127.0.0.1]:60351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooL1i-00024j-9m for submit@debbugs.gnu.org; Fri, 28 Oct 2022 04:47:42 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:52984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooL1c-00023G-QV for 28240@debbugs.gnu.org; Fri, 28 Oct 2022 04:47:39 -0400 Received: by mail-wm1-f43.google.com with SMTP id l32so2625699wms.2 for <28240@debbugs.gnu.org>; Fri, 28 Oct 2022 01:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :disposition-notification-to:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=m35js/KLwl9HhkfqvES/YSkHxNwqHzTeAJbpwDg0meA=; b=J8coZqXYSeTW/vAFTlVcyZZ4eCbVWfYZXGp6M+wG8+/tEo+YkDjZVItXMtAIrxI/p8 +VrEVYeCW01hVXWMjOAdt8fzFL04E90MAhdMWacPn/z/MR2PeKDMIm4lHLVMmxM+Pguc hrTgZbS9NhxYn4Qhzr8RrMzVKVmtUengC1lGALD1tx6muAfD/gWACs3cDpbMO/3ECCdF dcgpNRENVxHciLqRs42i4gqnui9MJWm7pAILv2Mmima/mdSNBYHMh8iv1mqxKRmRI6GF rPWryaI/pzMcwRXW0qdNiYUzlRGuSTRDjIO8m46gtlferuQiHxqwPF+MZJuQfOgEf8yQ 5PVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :disposition-notification-to:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m35js/KLwl9HhkfqvES/YSkHxNwqHzTeAJbpwDg0meA=; b=i9OxL16fpHozdPmFAdv4sfv0RbrafhJK5Tm2SULmBMBRg+//1kD94JcRRdmRelOpR3 T418Am+G8Vsdgd/UeyigwTjYpp/KM14eFrwyDnADl98PuwZ06jOM4VjOsPT6R27OnO7y CwgGU+vG3m5FdfzKggXHD6a0F4ftDEqm7JCmjseU6yE4bZa2To+XROYAHaUvlbzfyjR6 XyI17cBtvDMpSOU3h0SfRGujptn+SQkcDpohEilx3eqR/okiV+F7unk+3bUwxQO98YLH al4oErgeVYHxa59mcI28bOF3Eox2cDVHIC8SO4M+QI7aEB4R68IsOxsxqOXG4ev3TUBE es1Q== X-Gm-Message-State: ACrzQf2qcnE3gAB3nvJOoHLxQINGDkCRBWdMLAUWM5QYsVYXTwyKF5n0 4+6d+/5i4Slc5RYtxFkP4j3/dU/ApWY= X-Google-Smtp-Source: AMsMyM5yZZTJ7MQhrB/mzWgWcigbONZSJ/OoD9iaH0vtXllYmuVmZ8weEkojD+WRCj3d5KOAYdKRSw== X-Received: by 2002:a5d:4b45:0:b0:236:501f:7a41 with SMTP id w5-20020a5d4b45000000b00236501f7a41mr25658367wrs.516.1666946851195; Fri, 28 Oct 2022 01:47:31 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m5-20020adffe45000000b002238ea5750csm3759061wrs.72.2022.10.28.01.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 01:47:30 -0700 (PDT) From: zimoun To: Ricardo Wurmus Subject: Re: bug#28240: bad backtrace on =?utf-8?Q?=E2=80=9Cguix?= archive =?utf-8?Q?-x=E2=80=9D?= In-Reply-To: <87sfj9ijtg.fsf@elephly.net> References: <87a82mv7py.fsf@elephly.net> <86czwpknzk.fsf@gmail.com> <86k04mba6w.fsf@gmail.com> <87sfj9ijtg.fsf@elephly.net> Date: Fri, 28 Oct 2022 10:08:49 +0200 Message-ID: <861qqs8j5a.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28240 Cc: 28240@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ricardo, On Thu, 27 Oct 2022 at 13:30, Ricardo Wurmus wrote: > zimoun writes: > >>> guix archive: error: corrupt input while restoring '/tmp/ci' from # >> >> The situation is still the same. Well, is the =E2=80=9Cguix archive=E2= =80=9D error the >> point of this bug report? > > The point is the terrible backtrace. While this error is a little > better it=E2=80=99s also not great. About lzip, the error is catched by call-with-error-handling (guix ui), --8<---------------cut here---------------start------------->8--- ((nar-error? c) (let ((file (nar-error-file c)) (port (nar-error-port c))) (if file (leave (G_ "corrupt input while restoring '~a' from ~s~= %") file (or (port-filename* port) port)) (leave (G_ "corrupt input while restoring archive from = ~s~%") (or (port-filename* port) port))))) --8<---------------cut here---------------end--------------->8--- > But my primary concern is to prevent =E2=80=99guix archive=E2=80=99 from = printing a bad > backtrace. Doesn=E2=80=99t matter what we feed it. In the case of gzip, --8<---------------cut here---------------start------------->8--- Backtrace: 12 (primitive-load "/home/simon/.config/guix/current/bin/guix") In guix/ui.scm: 2263:7 11 (run-guix . _) 2226:10 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/status.scm: 835:3 8 (_) 815:4 7 (call-with-status-report _ _) In ice-9/boot-9.scm: 1752:10 6 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/store.scm: 656:37 5 (thunk) 1295:8 4 (call-with-build-handler # =E2=80=A6) In guix/serialization.scm: 416:21 3 (fold-archive # =E2=80=A6) In unknown file: 2 (utf8->string #vu8(0 3 236 189 13 120 92 87 121 46 58 182 147 = 96 13 73 228 144 244 212 64 40 59 # =E2=80=A6)) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `decoding-error' with args `("scm_from_utf8_stringn" "input lo= cale conversion error" 0 #vu8 --8<---------------cut here---------------end--------------->8--- the error is incorrectly handled. If I read correctly, the handled errors are, (guard* (c ((package-input-error? c) ((package-cross-build-system-error? c) ((gexp-input-error? c) ((profile-not-found-error? c) ((missing-generation-error? c) ((unmatched-pattern-error? c) ((profile-collision-error? c) ((nar-error? c) ((store-connection-error? c) ((store-protocol-error? c) ((derivation-missing-output-error? c) ((file-search-error? c) ((invoke-error? c) ((formatted-message? c) ((message-condition? c) so this =E2=80=99decoding-error=E2=80=99 is not handled earlier. Well, the= only catch of =E2=80=99decoding-error=E2=80=99 is by maybe-utf8->string from (guix sta= tus). Cheers, simon