Mentions légales du service

Skip to content

Kernel crashes on wrong `;;guix download` directives

Passing a local file instead of a URL to ;;guix download leads to a crash:

guix[10341]: downloading from '/home/nivall/Downloads/azimutblood-master.tar'...
Backtrace:
          13 (primitive-load "/gnu/store/4hqh8k630il00l8n0g75hcflg3k…")
In ice-9/boot-9.scm:
  1736:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   636:37 11 (thunk)
In jupyter/servers.scm:
   203:35 10 (serve-kernels _ #<procedure 7fc5deb15060 at guix/jupy…> …)
   204:45  9 (_)
In ice-9/boot-9.scm:
    718:2  8 (call-with-prompt ("prompt") #<procedure 7fc5d0138b20 …> …)
  1736:10  7 (with-exception-handler _ _ #:unwind? _ # _)
In ice-9/eval.scm:
   293:34  6 (_ #(#(#(#<directory (guile-user) 7fc5e7b6fc80> # …)) #))
In guix/store.scm:
  2066:24  5 (run-with-store #<store-connection 256.99 7fc5dc5b11e0> …)
In ice-9/eval.scm:
   191:27  4 (_ #(#(#<directory (guile-user) 7fc5e7b6fc80> #<pr…>) …))
   191:35  3 (_ #(#(#<directory (guile-user) 7fc5e7b6fc80> "/gn…") #))
In guix/derivations.scm:
   690:28  2 (derivation->output-path "/gnu/store/f6x33ghmr565v7y7a…" …)
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1667:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1667:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): "/gnu/store/f6x33ghmr565v7y7ap1xn3aw0s0jbl3h-azimutblood-master.tar"

Likewise, passing the name of an inaccessible file leads to a crash:

guix[10271]: downloading from '~/Downloads/azimutblood-master.tar'...
Backtrace:
          17 (primitive-load "/gnu/store/4hqh8k630il00l8n0g75hcflg3k…")
In ice-9/boot-9.scm:
  1736:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   636:37 15 (thunk)
In jupyter/servers.scm:
   203:35 14 (serve-kernels _ #<procedure 7f8d0cf44200 at guix/jupy…> …)
   204:45 13 (_)
In ice-9/boot-9.scm:
    718:2 12 (call-with-prompt ("prompt") #<procedure 7f8d00be0a60 …> …)
  1736:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In ice-9/eval.scm:
   293:34 10 (_ #(#(#(#<directory (guile-user) 7f8d15fb2c80> # …)) #))
In guix/store.scm:
  2066:24  9 (run-with-store #<store-connection 256.99 7f8d0a9f6050> …)
In unknown file:
           8 (_ #<procedure 7f8d00be1ea0 at ice-9/eval.scm:330:13 ()> …)
In guix/store.scm:
  1995:12  7 (_ #<store-connection 256.99 7f8d0a9f6050>)
  1148:24  6 (_ #<store-connection 256.99 7f8d0a9f6050> "azimutbloo…" …)
  1126:13  5 (add-to-store #<store-connection 256.99 7f8d0a9f6050> _ …)
In guix/serialization.scm:
    364:6  4 (dump "~/Downloads/azimutblood-master.tar")
   297:34  3 (_ _)
In unknown file:
           2 (lstat "~/Downloads/azimutblood-master.tar")
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1667:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1667:16: In procedure raise-exception:
In procedure lstat: No such file or directory: "~/Downloads/azimutblood-master.tar"
[I 17:40:26.035 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information