Redirecting ‘guix graph’ to bcachefs file causes backtrace(?)

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Tobias Geerinckx-Rice
Severity
normal
T
T
Tobias Geerinckx-Rice wrote on 28 May 2020 20:53
Redirecting ‘guix graph’ to bcachefs file causes backtrace(?)
(address . bug-guix@gnu.org)
87tuzz3n85.fsf@nckx
Guix,

Redirecting guix's output to a file on a bcachefs file system
triggers a backtrace.

Of course I don't expect anyone else to be doing this, but does
anyone have a clue as to what *could* be happening? Redirection
to a file in /tmp works fine.
λ findmnt /
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda1 bcachefs
rw,relatime,compression=lz4,gc_reserve_percent=5,discard

λ guix --help > ~/halpy
Backtrace:
11 (primitive-load
"/home/nckx/.config/guix/current/bin/guix")
In ice-9/eval.scm:
293:34 10 (_ #<directory (guile-user) 705f90896f00>)
196:35 9 (_ #<directory (guile-user) 705f90896f00>)
In ice-9/boot-9.scm:
3297:17 8 (resolve-interface (guix ui) #:select _ #:hide _
#:prefix _ #:renamer _ #:version _)
In ice-9/threads.scm:
390:8 7 (_ _)
In ice-9/boot-9.scm:
3223:13 6 (_)
In ice-9/threads.scm:
390:8 5 (_ _)
In ice-9/boot-9.scm:
3507:20 4 (_)
2806:4 3 (save-module-excursion _)
3527:26 2 (_)
In unknown file:
1 (primitive-load-path "guix/ui" #<procedure
705f90ca97e0 at ice-9/boot-9.scm:3514:37 ()>)
In guix/ui.scm:
1328:19 0 (_)

guix/ui.scm:1328:19: In procedure terminal-window-size: Operation
not permitted
Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXtAIqgAKCRANsP+IT1Vt
edF3APwKgd3mnngapTTbyptHYdzn8CjecaHgFIJWcDGcu7Lv8AEA9j3CPgiHeCyT
XJfqhU8ERROcLidhTokAcsRlzxMwWQI=
=h2dN
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 29 May 2020 18:36
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 41581-done@debbugs.gnu.org)
87mu5qzojc.fsf@gnu.org
Hi,

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

Toggle quote (38 lines)
> Of course I don't expect anyone else to be doing this, but does anyone
> have a clue as to what *could* be happening? Redirection to a file in
> /tmp works fine.
>
> λ findmnt /
> TARGET SOURCE FSTYPE OPTIONS
> / /dev/sda1 bcachefs
> rw,relatime,compression=lz4,gc_reserve_percent=5,discard
>
> λ guix --help > ~/halpy
> Backtrace:
> 11 (primitive-load
> "/home/nckx/.config/guix/current/bin/guix")
> In ice-9/eval.scm:
> 293:34 10 (_ #<directory (guile-user) 705f90896f00>)
> 196:35 9 (_ #<directory (guile-user) 705f90896f00>)
> In ice-9/boot-9.scm:
> 3297:17 8 (resolve-interface (guix ui) #:select _ #:hide _ #:prefix
> _ #:renamer _ #:version _)
> In ice-9/threads.scm:
> 390:8 7 (_ _)
> In ice-9/boot-9.scm:
> 3223:13 6 (_)
> In ice-9/threads.scm:
> 390:8 5 (_ _)
> In ice-9/boot-9.scm:
> 3507:20 4 (_)
> 2806:4 3 (save-module-excursion _)
> 3527:26 2 (_)
> In unknown file:
> 1 (primitive-load-path "guix/ui" #<procedure
> 705f90ca97e0 at ice-9/boot-9.scm:3514:37 ()>)
> In guix/ui.scm:
> 1328:19 0 (_)
>
> guix/ui.scm:1328:19: In procedure terminal-window-size: Operation not
> permitted

Fixed in 17a102332a253f0e3b1f511fa7bda2094264a77c, thanks!

Ludo’.
Closed
?