GNU bug report logs - #52464
Backtrace during substitution

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Lars-Dominik Braun <lars@HIDDEN>; dated Mon, 13 Dec 2021 12:33:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 52464 <at> debbugs.gnu.org:


Received: (at 52464) by debbugs.gnu.org; 13 Dec 2021 14:49:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 13 09:49:01 2021
Received: from localhost ([127.0.0.1]:54509 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mwmdR-0003ff-05
	for submit <at> debbugs.gnu.org; Mon, 13 Dec 2021 09:49:01 -0500
Received: from laurent.telenet-ops.be ([195.130.137.89]:56520)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mwmdO-0003fV-4v
 for 52464 <at> debbugs.gnu.org; Mon, 13 Dec 2021 09:48:59 -0500
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by laurent.telenet-ops.be with bizsmtp
 id Vqov2600H4UW6Th01qovB4; Mon, 13 Dec 2021 15:48:56 +0100
Message-ID: <678bda5733120c81c914f2b86fd69919dcaa5f02.camel@HIDDEN>
Subject: Re: bug#52464: Backtrace during substitution
From: Maxime Devos <maximedevos@HIDDEN>
To: Lars-Dominik Braun <lars@HIDDEN>, 52464 <at> debbugs.gnu.org
Date: Mon, 13 Dec 2021 14:48:55 +0000
In-Reply-To: <Ybc9M6ojZ3/xjJ7J@HIDDEN>
References: <Ybc9M6ojZ3/xjJ7J@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1639406936; bh=UNypjH54paaLEtP9mLNW8JTfo7WvOAqNuzzs9KeVpGY=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=AbBmsmurvywZGv6j3nISjH15VD4thO4T//WFThtGN+MI+zJ8gVPLPFB3T1i13k8uX
 +jaBidbb5D15gP9gLmLKmh5NayFXWF3AU8j8bt8NcdgAGiLONRlcgXe+g7tr5jpJFW
 y7g1oZn92Cda1IoUoqVhbvLfb3uvz9x+g+oNh5xB/5WcqlBbzBnP/8XRyCDVJXWtRV
 /ai1kRZ3MB1VgsrhulL7L3epG6n97Uh14+ddRfDQULEY2IuQyoZ1t9UQfCS/789njV
 BHOfEr/7vutcTbxIt3I87va8R4H/pUf47rPI+1UmvCDlvNe5K4ysv7NRwB0nqtmqOh
 CmmRekGMcBeuA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 52464
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 (-)

Hi,

Lars-Dominik Braun schreef op ma 13-12-2021 om 13:31 [+0100]:
> substituting /gnu/store/xbxrx9yqgqbv6949gl9v9h2wm2y1iwqh-scikit-
> image-0.18.1.tar.gz...
> downloading from 
> https://ci.guix.gnu.org/nar/xbxrx9yqgqbv6949gl9v9h2wm2y1iwqh-scikit-image-0.18.1.tar.gz
>  ...
>  scikit-image-0.18.1.tar.gz  28.3MiB 8.42GiB/s 00:00
> [################  ]  89.9%Backtrace:
>  [...]
> In guix/progress.scm:
>    223:17  2 (display-download-progress "scikit-image-0.18.1.tar.g@"
> …)
> 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:
> In procedure =: Wrong type argument in position 1: #f

I guess that means 'transferred' is #false somehow.
Looking at guix/status.scm, maybe the following is important:

>    (('download-progress item uri
>                         (= string->number size)
>                         (= string->number transferred))

string->number returns #f if the input is malformed, so I guess that
is what happens. I don't know _how_ that happens though.

Detecting #f somewhere and emitting a warning or error like
‘warning: ‘the malformed string’, representing the number of
transferred bytes, is malformed’ would be better. Fixing the underlying
error would be ideal.

I think I've seen this reported before, though I cannot find it again.

Greetings,
Maxime.





Information forwarded to bug-guix@HIDDEN:
bug#52464; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Dec 2021 12:32:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 13 07:32:09 2021
Received: from localhost ([127.0.0.1]:54324 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mwkUz-0008Pm-0Z
	for submit <at> debbugs.gnu.org; Mon, 13 Dec 2021 07:32:09 -0500
Received: from lists.gnu.org ([209.51.188.17]:41366)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lars@HIDDEN>) id 1mwkUt-0008LW-LS
 for submit <at> debbugs.gnu.org; Mon, 13 Dec 2021 07:32:07 -0500
Received: from eggs.gnu.org ([209.51.188.92]:35068)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars@HIDDEN>) id 1mwkUs-0006Tz-HZ
 for bug-guix@HIDDEN; Mon, 13 Dec 2021 07:32:03 -0500
Received: from mout-p-202.mailbox.org ([80.241.56.172]:45108)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <lars@HIDDEN>) id 1mwkUp-0003m7-QI
 for bug-guix@HIDDEN; Mon, 13 Dec 2021 07:32:01 -0500
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4JCLVK2WKczQkBk
 for <bug-guix@HIDDEN>; Mon, 13 Dec 2021 13:31:53 +0100 (CET)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001;
 t=1639398711;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=rZVTpNV+YxWPfzOtu1Nt6UqCtK58/Mssped4KxDw3E8=;
 b=l/iWFPkYJSl7oQjZc53GAWmb+IQHCOW3CQrtXZW34odLSekyLZ1XOT17XQ7JEAp58kbf8i
 0VWIDwtIWiomyB+VqI//7QMxl3lyoTdE3XVu1is/G4TXwyo0KioffF5e5CydiHWuQwyqwC
 hEfc3dYhyS5JHvSgpOsZtLn3trW/DlzIg/1hjhdBw7w3QYYvS0EHEG74OOjebpZpr0SkK5
 4yrTj4djOm1kXTJWt+Lx/DAeJ7BpTR+NWb5vLNLo1WKC4vz+YTNbw1Q1kxQr+Ag3AXOBHd
 8xlncdImD+uIcL9Jr3j8BHFDYQ7Mqj2pJ90MUSEuKiOOk8PphzulfMxtGkTkPA==
Date: Mon, 13 Dec 2021 13:31:47 +0100
From: Lars-Dominik Braun <lars@HIDDEN>
To: bug-guix@HIDDEN
Subject: Backtrace during substitution
Message-ID: <Ybc9M6ojZ3/xjJ7J@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=80.241.56.172; envelope-from=lars@HIDDEN;
 helo=mout-p-202.mailbox.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
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>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Hi,

I saw the following backtrace on core-updates-frozen, commit
869d69ad3248288ffe30264f5e5bd760792ca758, while fetching substitutes:

---snip---
substituting /gnu/store/xbxrx9yqgqbv6949gl9v9h2wm2y1iwqh-scikit-image-0.18.1.tar.gz...
downloading from https://ci.guix.gnu.org/nar/xbxrx9yqgqbv6949gl9v9h2wm2y1iwqh-scikit-image-0.18.1.tar.gz ...
 scikit-image-0.18.1.tar.gz  28.3MiB 8.42GiB/s 00:00 [################  ]  89.9%Backtrace:
          19 (apply-smob/0 #<thunk 7f44ee993f60>)
In ice-9/boot-9.scm:
    724:2 18 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8 17 (_ #(#(#<directory (guile-user) 7f44ee98dc80>)))
In guix/ui.scm:
   2206:7 16 (run-guix . _)
  2169:10 15 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    802:4 13 (call-with-status-report _ _)
In ice-9/boot-9.scm:
  1752:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   658:37 11 (thunk)
   1320:8 10 (call-with-build-handler _ _)
   1320:8  9 (call-with-build-handler #<procedure 7f44ed25e150 at g…> …)
In guix/scripts/build.scm:
   699:26  8 (_)
In guix/store.scm:
  1421:15  7 (_ #<store-connection 256.99 7f44ee90ef00> _ _)
   759:13  6 (process-stderr _ _)
In unknown file:
           5 (display "@ substituter-succeeded /gnu/store/xbxrx9yqg…" …)
In guix/status.scm:
   725:16  4 (write! _ _ _)
    639:6  3 (_ (download-progress "/gnu/store/xbxrx9yqgqbv6949g…" …) …)
In guix/progress.scm:
   223:17  2 (display-download-progress "scikit-image-0.18.1.tar.g@" …)
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:
In procedure =: Wrong type argument in position 1: #f
---snap---

However I cannot reproduce it. My guix-daemon is at
efd4d36a283acf5441159d4babf25d2054776579 (master).

Cheers,
Lars





Acknowledgement sent to Lars-Dominik Braun <lars@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#52464; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 14 Dec 2021 23:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.