Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash since 0.14.44 #2407

Closed
cvlmtg opened this issue Jul 22, 2022 · 4 comments
Closed

crash since 0.14.44 #2407

cvlmtg opened this issue Jul 22, 2022 · 4 comments

Comments

@cvlmtg
Copy link

cvlmtg commented Jul 22, 2022

Hi, since version 0.14.44 esbuild is crashing whenever I run it. Version 0.14.43 is running fine.

I'm running macOS 12.4 / iTerm2 / fish shell

here's a stack trace for version 0.14.4

runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc021900420 stack=[0xc021900000, 0xc041900000]
fatal error: stack overflow

runtime stack:
runtime.throw({0x14cb8f2?, 0x177d1a0?})
	runtime/panic.go:992 +0x71
runtime.newstack()
	runtime/stack.go:1101 +0x5cc
runtime.morestack()
	runtime/asm_amd64.s:547 +0x8b

goroutine 168 [running]:
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x6e8?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10659 +0xa1d fp=0xc021900430 sp=0xc021900428 pc=0x12d84fd
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021900570 sp=0xc021900430 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219006b0 sp=0xc021900570 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219007f0 sp=0xc0219006b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021900930 sp=0xc0219007f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021900a70 sp=0xc021900930 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021900bb0 sp=0xc021900a70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021900cf0 sp=0xc021900bb0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021900e30 sp=0xc021900cf0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021900f70 sp=0xc021900e30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219010b0 sp=0xc021900f70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219011f0 sp=0xc0219010b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901330 sp=0xc0219011f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901470 sp=0xc021901330 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219015b0 sp=0xc021901470 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219016f0 sp=0xc0219015b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901830 sp=0xc0219016f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901970 sp=0xc021901830 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901ab0 sp=0xc021901970 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901bf0 sp=0xc021901ab0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901d30 sp=0xc021901bf0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901e70 sp=0xc021901d30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021901fb0 sp=0xc021901e70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219020f0 sp=0xc021901fb0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902230 sp=0xc0219020f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902370 sp=0xc021902230 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219024b0 sp=0xc021902370 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219025f0 sp=0xc0219024b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902730 sp=0xc0219025f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902870 sp=0xc021902730 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219029b0 sp=0xc021902870 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902af0 sp=0xc0219029b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902c30 sp=0xc021902af0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902d70 sp=0xc021902c30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902eb0 sp=0xc021902d70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021902ff0 sp=0xc021902eb0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903130 sp=0xc021902ff0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903270 sp=0xc021903130 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219033b0 sp=0xc021903270 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219034f0 sp=0xc0219033b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903630 sp=0xc0219034f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903770 sp=0xc021903630 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219038b0 sp=0xc021903770 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219039f0 sp=0xc0219038b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903b30 sp=0xc0219039f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903c70 sp=0xc021903b30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903db0 sp=0xc021903c70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021903ef0 sp=0xc021903db0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904030 sp=0xc021903ef0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904170 sp=0xc021904030 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219042b0 sp=0xc021904170 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219043f0 sp=0xc0219042b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904530 sp=0xc0219043f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904670 sp=0xc021904530 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219047b0 sp=0xc021904670 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219048f0 sp=0xc0219047b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904a30 sp=0xc0219048f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904b70 sp=0xc021904a30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904cb0 sp=0xc021904b70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904df0 sp=0xc021904cb0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021904f30 sp=0xc021904df0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905070 sp=0xc021904f30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219051b0 sp=0xc021905070 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219052f0 sp=0xc0219051b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905430 sp=0xc0219052f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905570 sp=0xc021905430 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219056b0 sp=0xc021905570 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219057f0 sp=0xc0219056b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905930 sp=0xc0219057f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905a70 sp=0xc021905930 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905bb0 sp=0xc021905a70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905cf0 sp=0xc021905bb0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905e30 sp=0xc021905cf0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021905f70 sp=0xc021905e30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219060b0 sp=0xc021905f70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219061f0 sp=0xc0219060b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906330 sp=0xc0219061f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906470 sp=0xc021906330 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219065b0 sp=0xc021906470 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219066f0 sp=0xc0219065b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906830 sp=0xc0219066f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906970 sp=0xc021906830 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906ab0 sp=0xc021906970 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906bf0 sp=0xc021906ab0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906d30 sp=0xc021906bf0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906e70 sp=0xc021906d30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021906fb0 sp=0xc021906e70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219070f0 sp=0xc021906fb0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907230 sp=0xc0219070f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907370 sp=0xc021907230 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219074b0 sp=0xc021907370 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219075f0 sp=0xc0219074b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907730 sp=0xc0219075f0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907870 sp=0xc021907730 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc0219079b0 sp=0xc021907870 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907af0 sp=0xc0219079b0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907c30 sp=0xc021907af0 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907d70 sp=0xc021907c30 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907eb0 sp=0xc021907d70 pc=0x12d83ea
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc000c8e000, {0x1a24ca?}, {{0x0, 0x0}, {0xc000194db0, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10689 +0x90a fp=0xc021907ff0 sp=0xc021907eb0 pc=0x12d83ea
...additional frames elided...
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1251 +0x92b

goroutine 1 [syscall]:
syscall.syscall(0x10a5945?, 0x0?, 0x800000?, 0x7ffff800000?)
	runtime/sys_darwin.go:22 +0x4e
syscall.read(0xc0000b0000?, {0xc00014fde0?, 0x100ca45?, 0x1000000000001?})
	syscall/zsyscall_darwin_amd64.go:1189 +0x49
syscall.Read(...)
	syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc0000b0000?, {0xc00014fde0?, 0x4000?, 0x4000?})
	internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	os/file_posix.go:31
os.(*File).Read(0xc0000ae000, {0xc00014fde0?, 0xb?, 0x0?})
	os/file.go:119 +0x5e
main.runService(0x1)
	github.com/evanw/esbuild/cmd/esbuild/service.go:141 +0x2d9
main.main()
	github.com/evanw/esbuild/cmd/esbuild/main.go:209 +0x1f0

goroutine 18 [chan receive]:
main.runService.func1()
	github.com/evanw/esbuild/cmd/esbuild/service.go:110 +0x5a
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:108 +0x16b

goroutine 19 [sleep]:
time.Sleep(0x3b9aca00)
	runtime/time.go:194 +0x12e
main.runService.func2()
	github.com/evanw/esbuild/cmd/esbuild/service.go:131 +0x45
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:129 +0x26d

goroutine 20 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc00022c400)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1650 +0x212
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _, _}, {_, _}, {0x1594cc8, 0xc00022c000}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1138 +0x7b9
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x2, 0x4, 0x0, 0xc00018e0f0, 0x0, {0x0, 0x0}, 0x0, 0x3, {0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:1048 +0x20cc
github.com/evanw/esbuild/pkg/api.buildImpl({0x2, 0x4, 0x0, 0xc00018e0f0, 0x0, {0x0, 0x0}, 0x0, 0x3, {0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:790 +0x62b
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:372
main.(*serviceType).handleBuildRequest(0xc0000b22c0, 0x0?, 0xc00018e000?)
	github.com/evanw/esbuild/cmd/esbuild/service.go:501 +0x965
main.(*serviceType).handleIncomingPacket(0x0?, {0xc000160000?, 0x0?, 0x0?})
	github.com/evanw/esbuild/cmd/esbuild/service.go:232 +0x191
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0x32
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:162 +0x450
    at /Users/matteo/dev/player-esercizi/node_modules/esbuild/lib/main.js:1344:25
    at /Users/matteo/dev/player-esercizi/node_modules/esbuild/lib/main.js:675:9
    at Socket.afterClose (/Users/matteo/dev/player-esercizi/node_modules/esbuild/lib/main.js:653:7)
    at Socket.emit (events.js:412:35)
    at Socket.emit (domain.js:537:15)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)

here is a stack trace for version 0.14.49

runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc020d003e0 stack=[0xc020d00000, 0xc040d00000]
fatal error: stack overflow
runtime stack:
runtime.throw({0x14cfa45?, 0x17831a0?})
	runtime/panic.go:992 +0x71
runtime.newstack()
	runtime/stack.go:1101 +0x5cc
runtime.morestack()
	runtime/asm_amd64.s:547 +0x8b

goroutine 79 [running]:
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x6e8?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10716 +0xa1d fp=0xc020d003f0 sp=0xc020d003e8 pc=0x12d967d
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d00530 sp=0xc020d003f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d00670 sp=0xc020d00530 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d007b0 sp=0xc020d00670 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d008f0 sp=0xc020d007b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d00a30 sp=0xc020d008f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d00b70 sp=0xc020d00a30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d00cb0 sp=0xc020d00b70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d00df0 sp=0xc020d00cb0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d00f30 sp=0xc020d00df0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01070 sp=0xc020d00f30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d011b0 sp=0xc020d01070 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d012f0 sp=0xc020d011b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01430 sp=0xc020d012f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01570 sp=0xc020d01430 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d016b0 sp=0xc020d01570 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d017f0 sp=0xc020d016b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01930 sp=0xc020d017f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01a70 sp=0xc020d01930 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01bb0 sp=0xc020d01a70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01cf0 sp=0xc020d01bb0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01e30 sp=0xc020d01cf0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d01f70 sp=0xc020d01e30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d020b0 sp=0xc020d01f70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d021f0 sp=0xc020d020b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02330 sp=0xc020d021f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02470 sp=0xc020d02330 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d025b0 sp=0xc020d02470 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d026f0 sp=0xc020d025b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02830 sp=0xc020d026f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02970 sp=0xc020d02830 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02ab0 sp=0xc020d02970 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02bf0 sp=0xc020d02ab0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02d30 sp=0xc020d02bf0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02e70 sp=0xc020d02d30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d02fb0 sp=0xc020d02e70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d030f0 sp=0xc020d02fb0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03230 sp=0xc020d030f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03370 sp=0xc020d03230 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d034b0 sp=0xc020d03370 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d035f0 sp=0xc020d034b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03730 sp=0xc020d035f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03870 sp=0xc020d03730 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d039b0 sp=0xc020d03870 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03af0 sp=0xc020d039b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03c30 sp=0xc020d03af0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03d70 sp=0xc020d03c30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03eb0 sp=0xc020d03d70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d03ff0 sp=0xc020d03eb0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04130 sp=0xc020d03ff0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04270 sp=0xc020d04130 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d043b0 sp=0xc020d04270 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d044f0 sp=0xc020d043b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04630 sp=0xc020d044f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04770 sp=0xc020d04630 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d048b0 sp=0xc020d04770 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d049f0 sp=0xc020d048b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04b30 sp=0xc020d049f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04c70 sp=0xc020d04b30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04db0 sp=0xc020d04c70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d04ef0 sp=0xc020d04db0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05030 sp=0xc020d04ef0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05170 sp=0xc020d05030 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d052b0 sp=0xc020d05170 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d053f0 sp=0xc020d052b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05530 sp=0xc020d053f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05670 sp=0xc020d05530 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d057b0 sp=0xc020d05670 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d058f0 sp=0xc020d057b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05a30 sp=0xc020d058f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05b70 sp=0xc020d05a30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05cb0 sp=0xc020d05b70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05df0 sp=0xc020d05cb0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d05f30 sp=0xc020d05df0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06070 sp=0xc020d05f30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d061b0 sp=0xc020d06070 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d062f0 sp=0xc020d061b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06430 sp=0xc020d062f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06570 sp=0xc020d06430 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d066b0 sp=0xc020d06570 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d067f0 sp=0xc020d066b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06930 sp=0xc020d067f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06a70 sp=0xc020d06930 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06bb0 sp=0xc020d06a70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06cf0 sp=0xc020d06bb0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06e30 sp=0xc020d06cf0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d06f70 sp=0xc020d06e30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d070b0 sp=0xc020d06f70 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d071f0 sp=0xc020d070b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07330 sp=0xc020d071f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07470 sp=0xc020d07330 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d075b0 sp=0xc020d07470 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d076f0 sp=0xc020d075b0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07830 sp=0xc020d076f0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07970 sp=0xc020d07830 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07ab0 sp=0xc020d07970 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07bf0 sp=0xc020d07ab0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07d30 sp=0xc020d07bf0 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07e70 sp=0xc020d07d30 pc=0x12d956a
github.com/evanw/esbuild/internal/js_parser.(*parser).instantiateDefineExpr(0xc0000b0900, {0x1964ca?}, {{0x0, 0x0}, {0xc000188c10, 0x1, 0x1}, {0x0}}, {0x0, 0x0, ...})
	github.com/evanw/esbuild/internal/js_parser/js_parser.go:10746 +0x90a fp=0xc020d07fb0 sp=0xc020d07e70 pc=0x12d956a
...additional frames elided...
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1252 +0x937

goroutine 1 [syscall]:
syscall.syscall(0x10a5945?, 0x0?, 0x800000?, 0x7ffff800000?)
	runtime/sys_darwin.go:22 +0x4e
syscall.read(0xc000092060?, {0xc000151de0?, 0x100ca45?, 0x1000000000001?})
	syscall/zsyscall_darwin_amd64.go:1189 +0x49
syscall.Read(...)
	syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc000092060?, {0xc000151de0?, 0x4000?, 0x4000?})
	internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	os/file_posix.go:31
os.(*File).Read(0xc0000b6000, {0xc000151de0?, 0xb?, 0x0?})
	os/file.go:119 +0x5e
main.runService(0x1)
	github.com/evanw/esbuild/cmd/esbuild/service.go:141 +0x2d9
main.main()
	github.com/evanw/esbuild/cmd/esbuild/main.go:210 +0x1f0

goroutine 20 [chan receive]:
main.runService.func1()
	github.com/evanw/esbuild/cmd/esbuild/service.go:110 +0x5a
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:108 +0x16b

goroutine 21 [sleep]:
time.Sleep(0x3b9aca00)
	runtime/time.go:194 +0x12e
main.runService.func2()
	github.com/evanw/esbuild/cmd/esbuild/service.go:131 +0x45
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:129 +0x26d

goroutine 22 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc000224400)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1651 +0x212
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _, _}, {_, _}, {0x159a368, 0xc000224000}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x779
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x2, 0x4, 0x0, 0xc0001820f0, 0x0, {0x0, 0x0}, 0x0, 0x3, {0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:1060 +0x2215
github.com/evanw/esbuild/pkg/api.buildImpl({0x2, 0x4, 0x0, 0xc0001820f0, 0x0, {0x0, 0x0}, 0x0, 0x3, {0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:797 +0x630
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:361
main.(*serviceType).handleBuildRequest(0xc0000b82c0, 0x0?, 0xc000182000?)
	github.com/evanw/esbuild/cmd/esbuild/service.go:501 +0x9b8
main.(*serviceType).handleIncomingPacket(0x0?, {0xc000162000?, 0x0?, 0x0?})
	github.com/evanw/esbuild/cmd/esbuild/service.go:232 +0x191
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0x32
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:162 +0x450
    at /Users/matteo/dev/player-esercizi/node_modules/esbuild/lib/main.js:1337:25
    at /Users/matteo/dev/player-esercizi/node_modules/esbuild/lib/main.js:666:9
    at Socket.afterClose (/Users/matteo/dev/player-esercizi/node_modules/esbuild/lib/main.js:644:7)
    at Socket.emit (events.js:412:35)
    at Socket.emit (domain.js:537:15)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
@evanw
Copy link
Owner

evanw commented Jul 22, 2022

Please provide an example input and build settings that causes it to do this.

@cvlmtg
Copy link
Author

cvlmtg commented Jul 22, 2022

Hi @evanw, I've stripped down my project as much as possibile and it seems the cause of the crash is the import of the async module.

player-esercizi.zip

unzip the example, run yarn install and yarn build and you should see the crash. I'm using node 14.19.3

@evanw
Copy link
Owner

evanw commented Jul 23, 2022

Thanks. I can reproduce the issue. Here's a simple way to reproduce it:

echo 'process.nextTick(x)' | esbuild --define:process.nextTick=nextTick

The problem was introduced by an incorrect fix for #2292. My fix merged the code paths for --define rewriting and --jsx-factory syntax since the value substitution is now similar for both and that was resulting in duplicate code. However, I accidentally made --define resolution recursive since the JSX factory needs to be able to match against --define to integrate with the --inject feature. The fix is to only do one additional level of matching against defines, and to only do this for JSX factories. The fix for this will go out in the next release.

@evanw evanw closed this as completed in 49c229f Jul 23, 2022
@cvlmtg
Copy link
Author

cvlmtg commented Jul 23, 2022

@evanw thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants