Hi, Turns out that this is the error you get when you put a procedure as a faulty syntax value. We should catch this earlier I think, with a helpful error message and a stacktrace. Regards Stefan On Sat, Nov 10, 2018 at 12:27 AM Stefan Israelsson Tampe < stefan.itampe@gmail.com> wrote: > Stack trace: > > Backtrace: > In ice-9/boot-9.scm: > 838:4 19 (with-throw-handler _ _ _) > In system/base/compile.scm: > 59:11 18 (_) > 155:11 17 (_ #) > 224:14 16 (read-and-compile _ #:from _ #:to _ #:env _ #:opts _) > 255:6 15 (compile _ #:from _ #:to _ #:env _ #:opts _) > 183:32 14 (compile-fold _ _ _ (#:to-file? #t #:warnings (# # # …))) > In language/cps/compile-bytecode.scm: > 683:12 13 (compile-bytecode _ # …) > 675:12 12 (lower-cps _ (#:to-file? #t #:warnings (format # # #))) > In language/cps/optimize.scm: > 84:0 11 (optimize-higher-order-cps _ _) > In language/cps/dce.scm: > 402:33 10 (eliminate-dead-code _) > 110:18 9 (compute-live-code #) > In language/cps/intmap.scm: > 519:5 8 (visit-branch #(#(#(#(# …) …) …) …) …) > 519:5 7 (visit-branch #(#(#(# …) …) …) …) > 519:5 6 (visit-branch #(#(# …) …) …) > 519:5 5 (visit-branch #(# …) …) > In language/cps/type-checks.scm: > 41:15 4 (elide-type-checks # 33263 #) > In language/cps/types.scm: > 1758:5 3 (worklist-fold* # _ _) > 1899:26 2 (visit-cont 33278 #) > 381:4 1 (constant-type _) > In ice-9/boot-9.scm: > 749:25 0 (dispatch-exception 0 misc-error (#f "unhandled cons…" …)) > > ice-9/boot-9.scm:749:25: In procedure dispatch-exception: > unhandled constant # > > > > On Sat, Nov 10, 2018 at 12:25 AM Stefan Israelsson Tampe < > stefan.itampe@gmail.com> wrote: > >> Hi, >> >> I got this error, >> >> what's this error message? unhandled constant # >> >> So a with got a src meta informatoin in it's field somehow, a bug >> in guile's compiler >> for sure. This is for a real stress test, a compile of a huge file that >> used to take 10minutes to compile. So I ill not be able to track this down >> and make a bugreport But now you know, there >> exist a bug! >> >> Regards >> Stefan >> >