GNU bug report logs - #44468
'guix system vm-image' crashes with 'string-prefix?: Wrong type argument in position 2 (expecting string)'

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 5 Nov 2020 14:58:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44468 in the body.
You can then email your comments to 44468 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#44468; Package guix. (Thu, 05 Nov 2020 14:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 05 Nov 2020 14:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: 'guix system vm-image' crashes with 'string-prefix?: Wrong type
 argument in position 2 (expecting string)'
Date: Thu, 05 Nov 2020 09:57:36 -0500
The full backtrace reads as:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix system  vm-image gnu/system/examples/desktop.tmpl --image-size=5G
Backtrace:
          19 (apply-smob/0 #<thunk 7fbaa93afc00>)
In ice-9/boot-9.scm:
    718:2 18 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 17 (_ #(#(#<directory (guile-user) 7fbaa905cf00>)))
In guix/ui.scm:
  2116:12 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1736:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
  1731:15 14 (with-exception-handler #<procedure 7fba9d0fb420 at ice-9/boot-9.scm:1815:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
In guix/scripts/system.scm:
   1342:8 13 (_)
In guix/status.scm:
    776:4 12 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1175:4 11 (_)
In ice-9/boot-9.scm:
  1736:10 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   631:37  9 (thunk)
   1300:8  8 (call-with-build-handler #<procedure 7fba9aa6ac90 at guix/ui.scm:1167:2 (continue store things mode)> _)
  2042:24  7 (run-with-store #<store-connection 256.99 7fba9a493c30> _ #:guile-for-build _ #:system _ #:target _)
In guix/scripts/system.scm:
    814:2  6 (_ _)
    689:7  5 (_ #<store-connection 256.99 7fba9a493c30>)
In gnu/system/vm.scm:
    637:2  4 (system-qemu-image #<<operating-system> kernel: #<package linux-libre <at> 5.9.3 gnu/packages/linux.scm:723 7fba9e649820> kernel-loadable-modules: () kernel-arguments: ("modprobe.blacklist=usbmouse,u…> …)
In unknown file:
           3 (remove #<procedure 7fba9ca0fa00 at gnu/system/vm.scm:640:12 (fs)> (#<<file-system> device: #<file-system-label "my-root"> mount-point: "/" type: "ext4" flags: () options: #f mount?: #t mount-…> …))
           2 (string-prefix? "/dev/" #<<uuid> type: fat bv: #vu8(205 171 52 18)> #<undefined> #<undefined> #<undefined> #<undefined>)
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure string-prefix?: Wrong type argument in position 2 (expecting string): #<<uuid> type: fat bv: #vu8(205 171 52 18)>
--8<---------------cut here---------------end--------------->8---

Thanks,

Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Thu, 05 Nov 2020 17:51:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Thu, 05 Nov 2020 17:51:02 GMT) Full text and rfc822 format available.

Message #10 received at 44468-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 44468-done <at> debbugs.gnu.org
Subject: Re: bug#44468: 'guix system vm-image' crashes with 'string-prefix?:
 Wrong type argument in position 2 (expecting string)'
Date: Thu, 05 Nov 2020 12:50:35 -0500
Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> The full backtrace reads as:
>
> $ ./pre-inst-env guix system  vm-image gnu/system/examples/desktop.tmpl --image-size=5G
> Backtrace:
>           19 (apply-smob/0 #<thunk 7fbaa93afc00>)
> In ice-9/boot-9.scm:
>     718:2 18 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
> In ice-9/eval.scm:
>     619:8 17 (_ #(#(#<directory (guile-user) 7fbaa905cf00>)))
> In guix/ui.scm:
>   2116:12 16 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>   1736:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
>   1731:15 14 (with-exception-handler #<procedure 7fba9d0fb420 at ice-9/boot-9.scm:1815:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
> In guix/scripts/system.scm:
>    1342:8 13 (_)
> In guix/status.scm:
>     776:4 12 (call-with-status-report _ _)
> In guix/scripts/system.scm:
>    1175:4 11 (_)
> In ice-9/boot-9.scm:
>   1736:10 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In guix/store.scm:
>    631:37  9 (thunk)
>    1300:8  8 (call-with-build-handler #<procedure 7fba9aa6ac90 at guix/ui.scm:1167:2 (continue store things mode)> _)
>   2042:24  7 (run-with-store #<store-connection 256.99 7fba9a493c30> _ #:guile-for-build _ #:system _ #:target _)
> In guix/scripts/system.scm:
>     814:2  6 (_ _)
>     689:7  5 (_ #<store-connection 256.99 7fba9a493c30>)
> In gnu/system/vm.scm:
>     637:2  4 (system-qemu-image #<<operating-system> kernel: #<package linux-libre <at> 5.9.3 gnu/packages/linux.scm:723 7fba9e649820> kernel-loadable-modules: () kernel-arguments: ("modprobe.blacklist=usbmouse,u…> …)
> In unknown file:
>            3 (remove #<procedure 7fba9ca0fa00 at gnu/system/vm.scm:640:12 (fs)> (#<<file-system> device: #<file-system-label "my-root"> mount-point: "/" type: "ext4" flags: () options: #f mount?: #t mount-…> …))
>            2 (string-prefix? "/dev/" #<<uuid> type: fat bv: #vu8(205 171 52 18)> #<undefined> #<undefined> #<undefined> #<undefined>)
> In ice-9/boot-9.scm:
>   1669:16  1 (raise-exception _ #:continuable? _)
>   1669:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> In procedure string-prefix?: Wrong type argument in position 2 (expecting string): #<<uuid> type: fat bv: #vu8(205 171 52 18)>
>
> Thanks,
>
> Maxim

Fixed yesterday by Ludovic in commit
341f67991da4380485676987e24a3fac01403835.

Thanks, Ludovic!

Closing,

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Dec 2020 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 255 days ago.

Previous Next


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