On 20.11.2022 13:56, Jean Abou Samra wrote:

Ah, sorry, the snippet was silly. Please use this one instead:


\version "2.23.81"

#(debug-enable 'backtrace)
#(ly:set-option 'compile-scheme-code)

#(display (+ 2 2))
#(use-modules (ice-9 match)
                (ice-9 hash-table)
                (oop goops))


Says successful, but doesn't look it.


Cheers,
Robin
GNU LilyPond 2.23.81 (running Guile 2.2)
Processing `1.ly'
Parsing...
1.ly:6:2: error: Guile signaled an error for the expression beginning here
#
 (display (+ 2 2))

          16 (apply-smob/1 #<catch-closure 347eba0>)
In 
/home/lily/lilypond-2.23.81/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
   876:16 15 (lilypond-main _)
    905:4 14 (lilypond-all _)
In srfi/srfi-1.scm:
    640:9 13 (for-each #<procedure 3e61e10 at /home/lily/lilypond-2…> …)
In 
/home/lily/lilypond-2.23.81/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
    915:9 12 (_ "1.ly")
In ice-9/boot-9.scm:
    829:9 11 (catch ly-file-failed #<procedure 3d18ac0 at /home/lil…> …)
In unknown file:
          10 (ly:parse-file "1.ly")
           9 (apply-smob/1 #<catch-closure 4408080>)
In system/base/compile.scm:
    255:6  8 (compile _ #:from _ #:to _ #:env _ #:opts _)
   183:32  7 (compile-fold _ (display (+ 2 2)) #<module (#{ g101}#)…> …)
In language/cps/compile-bytecode.scm:
   591:12  6 (emit-bytecode _ #<module (#{ g101}#) 5c63140> _)
In system/vm/assembler.scm:
  2614:12  5 (link-assembly #<<asm> buf: #u32(2097437 573 0 577 513…> …)
  2587:22  4 (link-objects #<<asm> buf: #u32(2097437 573 0 577 513 2…>)
   1857:9  3 (link-dynamic-section #<<asm> buf: #u32(2097437 573 0 …> …)
In unknown file:
           2 (bytevector-u64-set! #vu8(0 0 0 0 0 0 0 0 0 0 0 0 0 0 …) …)
In ice-9/boot-9.scm:
   751:25  1 (dispatch-exception 0 out-of-range ("bytevector-u64-…" …))
In unknown file:
           0 (apply-smob/1 #<catch-closure 4408040> out-of-range "b…" …)
In procedure bytevector-u64-set!: Value out of range: -149659645
1.ly:7:2: error: Guile signaled an error for the expression beginning here
#
 (use-modules (ice-9 match)

          16 (apply-smob/1 #<catch-closure 347eba0>)
In 
/home/lily/lilypond-2.23.81/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
   876:16 15 (lilypond-main _)
    905:4 14 (lilypond-all _)
In srfi/srfi-1.scm:
    640:9 13 (for-each #<procedure 3e61e10 at /home/lily/lilypond-2…> …)
In 
/home/lily/lilypond-2.23.81/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
    915:9 12 (_ "1.ly")
In ice-9/boot-9.scm:
    829:9 11 (catch ly-file-failed #<procedure 3d18ac0 at /home/lil…> …)
In unknown file:
          10 (ly:parse-file "1.ly")
           9 (apply-smob/1 #<catch-closure 427b600>)
In system/base/compile.scm:
    255:6  8 (compile _ #:from _ #:to _ #:env _ #:opts _)
   183:32  7 (compile-fold _ (use-modules (ice-9 match) (ice-9 #) #) …)
In language/cps/compile-bytecode.scm:
   591:12  6 (emit-bytecode _ #<module (#{ g101}#) 5c63140> _)
In system/vm/assembler.scm:
  2614:12  5 (link-assembly #<<asm> buf: #u32(3146013 836 0 0 0 1 3…> …)
  2587:22  4 (link-objects #<<asm> buf: #u32(3146013 836 0 0 0 1 314…>)
   1857:9  3 (link-dynamic-section #<<asm> buf: #u32(3146013 836 0 …> …)
In unknown file:
           2 (bytevector-u64-set! #vu8(0 0 0 0 0 0 0 0 0 0 0 0 0 0 …) …)
In ice-9/boot-9.scm:
   751:25  1 (dispatch-exception 0 out-of-range ("bytevector-u64-…" …))
In unknown file:
           0 (apply-smob/1 #<catch-closure 427b5c0> out-of-range "b…" …)
In procedure bytevector-u64-set!: Value out of range: -149659645
Success: compilation successfully completed

Reply via email to