Andy Wingo <wi...@pobox.com> wrote: > BTW I pushed something that might affect > the stack overflow issue, can you give that a try? I have one report of > it working where it didn't use to work.
It still overflows the stack on my system, but since you changed the order of compilation, it now fails on a different file. This with commit 9ea12179fffffa8e1ba12cde4a10c35504a80012. I also removed the (debug-enable 'debug), so the backtrace looks a little different. Mark GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/compile-ghil.go" "language/ecmascript/compile-ghil.scm" Backtrace: In ice-9/psyntax-pp.scm: 5842: 44* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 45* [# () # ()] In ice-9/psyntax-pp.scm: 782: 46 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 47* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 48* [# () # ()] In ice-9/psyntax-pp.scm: 782: 49 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 50* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 51* [# () # ()] In ice-9/psyntax-pp.scm: 782: 52 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 53* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 54* [# () # ()] In ice-9/psyntax-pp.scm: 782: 55 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 56* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 57* [# () # ()] In ice-9/psyntax-pp.scm: 782: 58 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 59* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 60* [# () # ()] In ice-9/psyntax-pp.scm: 782: 61 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 62* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 63* [# () # ()] In ice-9/psyntax-pp.scm: 782: 64 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 65* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 66* [# () # ()] In ice-9/psyntax-pp.scm: 782: 67 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 68* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 69* [# () # ()] In ice-9/psyntax-pp.scm: 782: 70 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 71* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 72* [# () # ()] In ice-9/psyntax-pp.scm: 782: 73 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 74* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 75* [# () # ()] In ice-9/psyntax-pp.scm: 782: 76 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 77* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 78* [# () # ()] In ice-9/psyntax-pp.scm: 782: 79 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 80* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 81* [# () # ()] In ice-9/psyntax-pp.scm: 782: 82 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 83* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 84* [# () # ()] In ice-9/psyntax-pp.scm: 782: 85 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 86* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 87* [# () # ()] In ice-9/psyntax-pp.scm: 782: 88 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 89* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 90* [# () # ()] In ice-9/psyntax-pp.scm: 782: 91 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 92* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 93* [# () # ()] In ice-9/psyntax-pp.scm: 782: 94 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 95* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 96* [# () # ()] In ice-9/psyntax-pp.scm: 782: 97 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 98* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 99* [# () # ()] In ice-9/psyntax-pp.scm: 782: 100 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 101* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 102* [# () # ()] In ice-9/psyntax-pp.scm: 782: 103 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 104* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 105* [# () # ()] In ice-9/psyntax-pp.scm: 782: 106 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 107* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 108* [# () # ()] In ice-9/psyntax-pp.scm: 782: 109 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 110* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 111* [# () # ()] In ice-9/psyntax-pp.scm: 782: 112 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 113* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 114* [# () # ()] In ice-9/psyntax-pp.scm: 782: 115 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 116* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 117* [# () # ()] In ice-9/psyntax-pp.scm: 782: 118 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 119* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 120* [# () # ()] In ice-9/psyntax-pp.scm: 782: 121 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 122* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 123* [# () # ()] In ice-9/psyntax-pp.scm: 782: 124 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 125* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 126* [# () # ()] In ice-9/psyntax-pp.scm: 782: 127 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 128* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 129* [# () # ()] In ice-9/psyntax-pp.scm: 782: 130 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 131* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 132* [# () # ()] In ice-9/psyntax-pp.scm: 782: 133 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 134* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 535: 135* [# () # ()] In ice-9/psyntax-pp.scm: 782: 136 [# core-form # # ...] In ice-9/psyntax-pp.scm: 5842: 137* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 1121: 138* [chi150 (# () #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 1422: 139 [syntax-type148 (# () #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 1378: 140 [syntax-type148 lambda (# # # # ...) (# # shift # ...) ...] In ice-9/psyntax-pp.scm: 4942: 141 [lookup111 lambda (# # # # ...) (hygiene system base pmatch)] In ice-9/psyntax-pp.scm: 5294: 142 [get-global-definition-hook79 lambda (hygiene system base pmatch)] In ice-9/boot-9.scm: 1956: 143 [# #] ERROR: Stack overflow