Open aralroca opened 4 hours ago
I had a test with Bun.serve and it worked fine, after running it several times now I get panic error and even if I clean all the Bun processes and run it again now it always comes out.
Bun Canary v1.1.35-canary.51 (357581c6) macOS Silicon macOS v14.6.1 Args: "bun" "test" "--preload" "./e2e/preload.ts" "./e2e/examples.test.ts" Features: Bun.stderr Bun.stdin(2) Bun.stdout bunfig jsc shell(2) spawn(3) tsconfig(3) tsconfig_paths Builtins: "node:buffer" "node:crypto" "node:os" "node:path" "node:process" "node:string_decoder" "node:tty" "node:util/types" Elapsed: 2320ms | User: 47ms | Sys: 11ms RSS: 45.63MB | Peak: 45.63MB | Commit: 1.07GB | Faults: 53 panic(main thread): Internal error: attempted to call popScope() on the topmost scope
Bun v1.1.35-canary (357581c) on macos aarch64 [TestCommand]
357581c
panic: Internal error: attempted to call popScope() on the topmost scope
src.js_parser.NewParser_
Features: Bun.stderr, Bun.stdin, Bun.stdout, bunfig, jsc, shell, spawn, tsconfig, tsconfig_paths, tsconfig_paths
Thank you for reporting this crash.
For Bun's internal tracking, this issue is BUN-7GB.
How can we reproduce the crash?
I had a test with Bun.serve and it worked fine, after running it several times now I get panic error and even if I clean all the Bun processes and run it again now it always comes out.
Relevant log output
Stack Trace (bun.report)
Bun v1.1.35-canary (
357581c
) on macos aarch64 [TestCommand]panic: Internal error: attempted to call popScope() on the topmost scope
src.js_parser.NewParser_
src.js_parser.NewParser_
src.js_parser.NewParser_
src.js_parser.NewParser_
src.js_parser.NewParser_
src.js_parser.NewParser_
src.js_parser.NewParser_
src.js_parser.NewParser_
src.js_parser.NewParser_
Features: Bun.stderr, Bun.stdin, Bun.stdout, bunfig, jsc, shell, spawn, tsconfig, tsconfig_paths, tsconfig_paths