Subject: Re: bug#22914: "VM stack overflow" with graft dependencies from substitutes

From: Pjotr Prins <[email-masked]>
Date: Sat, 5 Mar 2016 10:38:22 +0100

Same here. It is the new graft thing. Just a guix pull will do it.

 288: 10 [#<procedure 32ccf00 at guix/monads.scm:287:30 (item result)> "/gnu/store/8cv92vy3m47v2b2pf73jdz9k26lzl1xw-libgc-7.4.2" ...]
In guix/grafts.scm:
 225: 9 [dependency-grafts "/gnu/store/8cv92vy3m47v2b2pf73jdz9k26lzl1xw-libgc-7.4.2"]
 156: 8 [item->deriver # "/gnu/store/8cv92vy3m47v2b2pf73jdz9k26lzl1xw-libgc-7.4.2"]
In guix/store.scm:
 832: 7 [valid-derivers # "/gnu/store/8cv92vy3m47v2b2pf73jdz9k26lzl1xw-libgc-7.4.2"]
In srfi/srfi-1.scm:
 534: 6 [unfold #<procedure 37c7360 at guix/serialization.scm:162:12 (t-821323)> ...]
In guix/serialization.scm:
 122: 5 [read-string #<input-output: socket 10>]
 114: 4 [read-byte-string #<input-output: socket 10>]
  85: 3 [read-int #<input-output: socket 10>]
  71: 2 [get-bytevector-n* #<input-output: socket 10> 8]
In ice-9/boot-9.scm:
 105: 1 [#<procedure c95180 at ice-9/boot-9.scm:97:6 (thrown-k . args)> vm-error ...]
  65: 0 [abort-to-prompt catch7 vm-error vm-run "VM: Stack overflow" ()]

ice-9/boot-9.scm:65:2: In procedure abort-to-prompt:
ice-9/boot-9.scm:65:2: Throw to key `vm-error' with args `(vm-run "VM: Stack overflow" ())'.

Pj.

On Sat, Mar 05, 2016 at 12:09:39AM -0600, Eric Bavier wrote:
> Starting with commit c90cb5c9d84ded26ef44d1e6593508d5b9e4655e (via 'git
> bisect') I get the following error messages after `make clean && make
> && ./pre-inst-env guix environment texlive`:
> 
> --- BEGIN SNIP ---
> Backtrace:
> In srfi/srfi-1.scm:
>  646: 19 [append-map #<procedure dependency-grafts (item)> #]
>  578: 18 [map #<procedure dependency-grafts (item)> #]
> In guix/grafts.scm:
>  235: 17 [cumulative-grafts # # # ...]
> In srfi/srfi-1.scm:
>  646: 16 [append-map #<procedure dependency-grafts (item)> #]
>  578: 15 [map #<procedure dependency-grafts (item)> #]
> In guix/grafts.scm:
>  235: 14 [cumulative-grafts # # # ...]
> In srfi/srfi-1.scm:
>  646: 13 [append-map #<procedure dependency-grafts (item)> #]
>  578: 12 [map #<procedure dependency-grafts (item)> #]
> In guix/grafts.scm:
>  235: 11 [cumulative-grafts # # # ...]
> In srfi/srfi-1.scm:
>  646: 10 [append-map #<procedure dependency-grafts (item)> #]
>  578: 9 [map #<procedure dependency-grafts (item)> #]
> In guix/grafts.scm:
>  222: 8 [dependency-grafts "/gnu/store/09gwygs9vdja1bkpyfqsb51rjzs7d5zs-libunistring-0.9.6"]
>  156: 7 [item->deriver # ...]
> In guix/store.scm:
>  832: 6 [valid-derivers # ...]
> In srfi/srfi-1.scm:
>  534: 5 [unfold #<procedure 6ecb980 at guix/serialization.scm:162:12 (t-722807)> ...]
> In guix/serialization.scm:
>  122: 4 [read-string #<input-output: socket 10>]
>  114: 3 [read-byte-string #<input-output: socket 10>]
>   85: 2 [read-int #<input-output: socket 10>]
>   71: 1 [get-bytevector-n* #<input-output: socket 10> 8]
> In unknown file:
>    ?: 0 [get-bytevector-n #<input-output: socket 10> 8]
> 
> ERROR: In procedure get-bytevector-n:
> ERROR: Throw to key `vm-error' with args `(vm-run "VM: Stack overflow" ())'.
> --- END SNIP ---
> 
> This backtrace is printed 3 times.
> 
> If it means anything, it's been at least a week since I've fetched any
> substitutes from hydra on this machine.
> 
> `~Eric
> 
> 
> 

--