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

runtime: fatal error: bad symbol table (go1.18) #53705

Open
bayucandra opened this issue Jul 3, 2022 · 4 comments
Open

runtime: fatal error: bad symbol table (go1.18) #53705

bayucandra opened this issue Jul 3, 2022 · 4 comments
Labels
compiler/runtime
Milestone

Comments

@bayucandra
Copy link

bayucandra commented Jul 3, 2022

gopls version: v0.8.4 (go1.18)
gopls flags:
update flags: proxy
extension version: 0.34.1
go version: 1.18
environment: Visual Studio Code darwin
initialization error: undefined
issue timestamp: Sun, 03 Jul 2022 02:47:52 GMT
restart history:
Sun, 03 Jul 2022 02:28:06 GMT: activation (enabled: true)

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

While working with "SSH Remote" ( https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh ). From windows machine to MacOS machine. I have opened Visual studio code at the MacOS machine too. On the MacOS machine, Visual studio code running a Wails app from the terminal by doing wails dev. And wails dev watching any changes I have made from windows machine ( not editing on MacOS machine, just for display and debugging purpose there ). The wails app will keep re-compile and restarting the app on every change I have made.

Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.

Following from the "Output" tab of VSCode:

runtime: pcdata is -18 and 3 locals stack map entries for syscall.Open (targetpc=0x107b2e5)
fatal error: bad symbol table

runtime stack:
runtime.throw({0x1a08cf8?, 0x211aa60?})
	/usr/local/go/src/runtime/panic.go:992 +0x71
runtime.getStackMap(0x700003384b28, 0x2a737?, 0xb9?)
	/usr/local/go/src/runtime/stack.go:1295 +0x5bb
runtime.scanframeworker(0x700003384b28, 0x700003384c10, 0x1?)
	/usr/local/go/src/runtime/mgcmark.go:945 +0x7e
runtime.scanstack.func1(0x1fb8e88?, 0x211aa60?)
	/usr/local/go/src/runtime/mgcmark.go:780 +0x25
runtime.gentraceback(0x0?, 0x41201?, 0x7ff81caa3a6f?, 0x700003384c50?, 0x0, 0x0, 0x7fffffff, 0x700003384d70, 0x0?, 0x0)
	/usr/local/go/src/runtime/traceback.go:330 +0xb2f
runtime.scanstack(0xc0001ac4e0, 0xc000050138)
	/usr/local/go/src/runtime/mgcmark.go:783 +0x1ba
runtime.markroot.func1()
	/usr/local/go/src/runtime/mgcmark.go:241 +0xc5
runtime.markroot(0xc000050138, 0x1a, 0x1)
	/usr/local/go/src/runtime/mgcmark.go:214 +0x1a5
runtime.gcDrain(0xc000050138, 0x7)
	/usr/local/go/src/runtime/mgcmark.go:1047 +0x39f
runtime.gcBgMarkWorker.func2()
	/usr/local/go/src/runtime/mgc.go:1295 +0x6e
runtime.systemstack()
	/usr/local/go/src/runtime/asm_amd64.s:469 +0x49

goroutine 116 [GC worker (idle)]:
runtime.systemstack_switch()
	/usr/local/go/src/runtime/asm_amd64.s:436 fp=0xc00005bf58 sp=0xc00005bf50 pc=0x1066fc0
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1263 +0x1b1 fp=0xc00005bfe0 sp=0xc00005bf58 pc=0x101cb31
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x1069201
created by runtime.gcBgMarkStartWorkers
	/usr/local/go/src/runtime/mgc.go:1131 +0x25

goroutine 1 [chan receive]:
golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream(0xc0002a0540, {0x1c65028, 0xc000115bc0}, {0x1c67718, 0xc00028e4b0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:99 +0x4ed
golang.org/x/tools/internal/lsp/cmd.(*Serve).Run(0xc0001ec8f0, {0x1c65028, 0xc0004759b0}, {0xc000130010?, 0x0?, 0x0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/serve.go:125 +0x8f4
golang.org/x/tools/internal/tool.Run({0x1c65028, 0xc0004759b0}, 0xc0000a5560, {0x1c65ae8?, 0xc0001ec8f0}, {0xc000130010, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc0001ec8c0, {0x1c64fb8?, 0xc00011a000?}, {0xc000130010?, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/cmd.go:221 +0x1af
golang.org/x/tools/internal/tool.Run({0x1c64fb8, 0xc00011a000}, 0xc0000a43c0, {0x1c65aa8?, 0xc0001ec8c0}, {0xc000130010, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/tool.Main({0x1c64fb8, 0xc00011a000}, {0x1c65aa8?, 0xc0001ec8c0?}, {0xc000130010, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:92 +0x145
main.main()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools/gopls@v0.8.4/main.go:30 +0xa5

goroutine 118 [syscall (scan)]:
syscall.syscall(0x1?, 0xc000796380?, 0x19e7532?, 0xc000796460?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.Open({0xc000796460?, 0x8?}, 0x0?, 0x0?)
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:-1473 +0xc6
os.openFileNolog({0xc000796460, 0x65}, 0x0, 0x0)
	/usr/local/go/src/os/file_unix.go:216 +0xcf
os.OpenFile({0xc000796460, 0x65}, 0x0, 0x2fea20?)
	/usr/local/go/src/os/file.go:338 +0x45
os.Open(...)
	/usr/local/go/src/os/file.go:318
path/filepath.readDirNames({0xc000796460?, 0x107cc66?})
	/usr/local/go/src/path/filepath/path.go:532 +0x26
path/filepath.walk({0xc000796460, 0x65}, {0x1c67958, 0xc0007948f0}, 0xc0002fef60)
	/usr/local/go/src/path/filepath/path.go:421 +0x74
path/filepath.walk({0xc000040a80, 0x5e}, {0x1c67958, 0xc000794270}, 0xc0002fef60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc000040960, 0x5a}, {0x1c67958, 0xc00078fe10}, 0xc0002fef60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0003e9a40, 0x52}, {0x1c67958, 0xc00056c000}, 0xc0002fef60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0000ed400, 0x45}, {0x1c67958, 0xc0003bda00}, 0xc0002fef60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc000336467, 0x3c}, {0x1c67958, 0xc00036d860}, 0xc0002fef60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.Walk({0xc000336467, 0x3c}, 0xc0002f6f60)
	/usr/local/go/src/path/filepath/path.go:505 +0x6c
golang.org/x/tools/internal/lsp/cache.findModules({0xc000336460, 0x43}, 0xc00067e720, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:564 +0x130
golang.org/x/tools/internal/lsp/cache.newWorkspace({0x1c65028, 0xc0002d0180}, {0xc000336460, 0x43}, {0x1c5e540, 0xc00007e000}, 0xc00067e720, 0x0, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:112 +0xdf
golang.org/x/tools/internal/lsp/cache.(*Session).createView(0xc00007e000, {0x1c65028, 0xc0002d0180}, {0xc0000b7e90, 0x18}, {0xc0001540a0, 0x43}, 0xc00034a6c0, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:196 +0x25d
golang.org/x/tools/internal/lsp/cache.(*Session).NewView(0xc00007e000, {0x1c65028, 0xc0002d0180}, {0xc0000b7e90, 0x18}, {0xc0001540a0, 0x43}, 0xc000252b90?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:165 +0x287
golang.org/x/tools/internal/lsp.(*Server).addView(0xc000470000, {0x1c65028, 0xc0002d0180}, {0xc0000b7e90, 0x18}, {0xc0001540a0, 0x43})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/workspace.go:40 +0x1c7
golang.org/x/tools/internal/lsp.(*Server).addFolders(0xc000470000, {0x1c65028?, 0xc0002d0180}, {0xc000033620, 0x1, 0x1?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:233 +0x6f5
golang.org/x/tools/internal/lsp.(*Server).initialized(0xc000470000, {0x1c65028, 0xc0002d0180}, 0xc000158fc0?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:185 +0x2fa
golang.org/x/tools/internal/lsp.(*Server).Initialized(0xc00023e0f0?, {0x1c65028?, 0xc0002d0180?}, 0x189ece0?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/server_gen.go:160 +0x25
golang.org/x/tools/internal/lsp/protocol.serverDispatch({0x1c65028, 0xc0002d0180}, {0x1c71630, 0xc000470000}, 0xc0004e34d0, {0x1c65258, 0xc0002d0060})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/tsserver.go:144 +0x704
golang.org/x/tools/internal/lsp/protocol.ServerHandler.func1({0x1c65028, 0xc0002d0180}, 0xc0004e34d0, {0x1c65258, 0xc0002d0060})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/protocol.go:157 +0x90
golang.org/x/tools/internal/lsp/lsprpc.handshaker.func1({0x1c65028, 0xc0002d0180}, 0xc0004e34d0, {0x1c65258?, 0xc0002d0060?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:511 +0xa43
golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x1c65028, 0xc0002d0180}, 0xc00000e330, {0x1c65258?, 0xc0002d0060?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:35 +0xf6
golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:103 +0xa3
created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:100 +0x20a

goroutine 112 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc000475aa0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:115 +0x9f
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:27 +0x3d6

goroutine 111 [syscall]:
syscall.syscall(0x1048e2f?, 0xc00020af98?, 0x800000?, 0x7ffff800000?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.read(0xc00012a000?, {0xc0004f4000?, 0xc00020ae48?, 0x0?})
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1189 +0x49
syscall.Read(...)
	/usr/local/go/src/syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	/usr/local/go/src/internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc00012a000?, {0xc0004f4000?, 0x1000?, 0x1000?})
	/usr/local/go/src/internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	/usr/local/go/src/os/file_posix.go:31
os.(*File).Read(0xc000128000, {0xc0004f4000?, 0x2?, 0x2?})
	/usr/local/go/src/os/file.go:119 +0x5e
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc000475a70)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:121 +0xd2
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:26 +0x38a

goroutine 110 [chan receive]:
golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory.func1()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:532 +0x7e
created by golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:530 +0xea

goroutine 80 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).do(0xc000475a70, {0xc0004f4000?, 0x10?, 0xc0001d9ae8?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:103 +0x135
golang.org/x/tools/internal/fakenet.(*fakeConn).Read(0x187e863?, {0xc0004f4000?, 0x19a1d20?, 0xc0005fe7b0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:67 +0x25
bufio.(*Reader).fill(0xc0000a5620)
	/usr/local/go/src/bufio/bufio.go:106 +0x103
bufio.(*Reader).ReadSlice(0xc0000a5620, 0x0?)
	/usr/local/go/src/bufio/bufio.go:371 +0x2f
bufio.(*Reader).collectFragments(0xc0001d9bf0?, 0x16?)
	/usr/local/go/src/bufio/bufio.go:446 +0x74
bufio.(*Reader).ReadString(0xc0000d4120?, 0x0?)
	/usr/local/go/src/bufio/bufio.go:494 +0x2b
golang.org/x/tools/internal/jsonrpc2.(*headerStream).Read(0xc00000e300, {0x1c65028, 0xc000115bc0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/stream.go:110 +0xb8
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0xc00028e4b0, {0x1c65028, 0xc000115bc0}, 0xc0002441c8)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:196 +0xbc
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:189 +0xb0
[Info  - 9:28:09 AM] 
runtime: pcdata is -19 and 3 locals stack map entries for syscall.Open (targetpc=0x107b28d)
fatal error: bad symbol table

runtime stack:
runtime.throw({0x1a08cf8?, 0x211aa60?})
	/usr/local/go/src/runtime/panic.go:992 +0x71
runtime.getStackMap(0x700004ca5b28, 0x2a737?, 0xb9?)
	/usr/local/go/src/runtime/stack.go:1295 +0x5bb
runtime.scanframeworker(0x700004ca5b28, 0x700004ca5c10, 0x1?)
	/usr/local/go/src/runtime/mgcmark.go:945 +0x7e
runtime.scanstack.func1(0x1fb8e88?, 0x211aa60?)
	/usr/local/go/src/runtime/mgcmark.go:780 +0x25
runtime.gentraceback(0x10?, 0x1?, 0x7ff81caa3a6f?, 0x700004ca5c10?, 0x0, 0x0, 0x7fffffff, 0x700004ca5d70, 0x0?, 0x0)
	/usr/local/go/src/runtime/traceback.go:330 +0xb2f
runtime.scanstack(0xc0001f41a0, 0xc00004dc38)
	/usr/local/go/src/runtime/mgcmark.go:783 +0x1ba
runtime.markroot.func1()
	/usr/local/go/src/runtime/mgcmark.go:241 +0xc5
runtime.markroot(0xc00004dc38, 0x23, 0x1)
	/usr/local/go/src/runtime/mgcmark.go:214 +0x1a5
runtime.gcDrain(0xc00004dc38, 0x7)
	/usr/local/go/src/runtime/mgcmark.go:1047 +0x39f
runtime.gcBgMarkWorker.func2()
	/usr/local/go/src/runtime/mgc.go:1295 +0x6e
runtime.systemstack()
	/usr/local/go/src/runtime/asm_amd64.s:469 +0x49

goroutine 107 [GC worker (idle)]:
runtime.systemstack_switch()
	/usr/local/go/src/runtime/asm_amd64.s:436 fp=0xc0002b6758 sp=0xc0002b6750 pc=0x1066fc0
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1263 +0x1b1 fp=0xc0002b67e0 sp=0xc0002b6758 pc=0x101cb31
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0002b67e8 sp=0xc0002b67e0 pc=0x1069201
created by runtime.gcBgMarkStartWorkers
	/usr/local/go/src/runtime/mgc.go:1131 +0x25

goroutine 1 [chan receive]:
golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream(0xc00032c660, {0x1c65028, 0xc000503a40}, {0x1c67718, 0xc00031aeb0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:99 +0x4ed
golang.org/x/tools/internal/lsp/cmd.(*Serve).Run(0xc0001d0cb0, {0x1c65028, 0xc000334ea0}, {0xc000032070?, 0x0?, 0x0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/serve.go:125 +0x8f4
golang.org/x/tools/internal/tool.Run({0x1c65028, 0xc000334ea0}, 0xc00033c060, {0x1c65ae8?, 0xc0001d0cb0}, {0xc000032070, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc0001d0c80, {0x1c64fb8?, 0xc000036080?}, {0xc000032070?, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/cmd.go:221 +0x1af
golang.org/x/tools/internal/tool.Run({0x1c64fb8, 0xc000036080}, 0xc000327e00, {0x1c65aa8?, 0xc0001d0c80}, {0xc000032070, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/tool.Main({0x1c64fb8, 0xc000036080}, {0x1c65aa8?, 0xc0001d0c80?}, {0xc000032070, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:92 +0x145
main.main()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools/gopls@v0.8.4/main.go:30 +0xa5

goroutine 116 [chan receive]:
golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory.func1()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:532 +0x7e
created by golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:530 +0xea

goroutine 72 [GC assist marking (scan)]:
syscall.Open({0xc0005f3f80?, 0x49?}, 0x0?, 0x0)
	/usr/local/go/src/syscall/syscall.go:-1419 +0x6e
os.openFileNolog({0xc0005f3f80, 0x6e}, 0x0, 0x0)
	/usr/local/go/src/os/file_unix.go:216 +0xcf
os.OpenFile({0xc0005f3f80, 0x6e}, 0x0, 0x454a20?)
	/usr/local/go/src/os/file.go:338 +0x45
os.Open(...)
	/usr/local/go/src/os/file.go:318
path/filepath.readDirNames({0xc0005f3f80?, 0x107cc66?})
	/usr/local/go/src/path/filepath/path.go:532 +0x26
path/filepath.walk({0xc0005f3f80, 0x6e}, {0x1c67958, 0xc00064c8f0}, 0xc000454f60)
	/usr/local/go/src/path/filepath/path.go:421 +0x74
path/filepath.walk({0xc0005f2310, 0x61}, {0x1c67958, 0xc0005eef70}, 0xc000454f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0000ab560, 0x5b}, {0x1c67958, 0xc0005d9d40}, 0xc000454f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc00055f920, 0x52}, {0x1c67958, 0xc00059bba0}, 0xc000454f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0002a0d70, 0x45}, {0x1c67958, 0xc0005315f0}, 0xc000454f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc00013e4b7, 0x3c}, {0x1c67958, 0xc00051f450}, 0xc000454f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.Walk({0xc00013e4b7, 0x3c}, 0xc0005fef60)
	/usr/local/go/src/path/filepath/path.go:505 +0x6c
golang.org/x/tools/internal/lsp/cache.findModules({0xc00013e4b0, 0x43}, 0xc000520480, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:564 +0x130
golang.org/x/tools/internal/lsp/cache.newWorkspace({0x1c65028, 0xc00032f6e0}, {0xc00013e4b0, 0x43}, {0x1c5e540, 0xc0002de380}, 0xc000520480, 0x0, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:112 +0xdf
golang.org/x/tools/internal/lsp/cache.(*Session).createView(0xc0002de380, {0x1c65028, 0xc00032f6e0}, {0xc000219b78, 0x18}, {0xc00042a000, 0x43}, 0xc0000eab40, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:196 +0x25d
golang.org/x/tools/internal/lsp/cache.(*Session).NewView(0xc0002de380, {0x1c65028, 0xc00032f6e0}, {0xc000219b78, 0x18}, {0xc00042a000, 0x43}, 0xc0000707b0?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:165 +0x287
golang.org/x/tools/internal/lsp.(*Server).addView(0xc0005047e0, {0x1c65028, 0xc00032f6e0}, {0xc000219b78, 0x18}, {0xc00042a000, 0x43})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/workspace.go:40 +0x1c7
golang.org/x/tools/internal/lsp.(*Server).addFolders(0xc0005047e0, {0x1c65028?, 0xc00032f6e0}, {0xc0000cf760, 0x1, 0x1?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:233 +0x6f5
golang.org/x/tools/internal/lsp.(*Server).initialized(0xc0005047e0, {0x1c65028, 0xc00032f6e0}, 0xc0000d4510?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:185 +0x2fa
golang.org/x/tools/internal/lsp.(*Server).Initialized(0xc000291900?, {0x1c65028?, 0xc00032f6e0?}, 0x189ece0?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/server_gen.go:160 +0x25
golang.org/x/tools/internal/lsp/protocol.serverDispatch({0x1c65028, 0xc00032f6e0}, {0x1c71630, 0xc0005047e0}, 0xc0004fc060, {0x1c65258, 0xc00032ea20})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/tsserver.go:144 +0x704
golang.org/x/tools/internal/lsp/protocol.ServerHandler.func1({0x1c65028, 0xc00032f6e0}, 0xc0004fc060, {0x1c65258, 0xc00032ea20})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/protocol.go:157 +0x90
golang.org/x/tools/internal/lsp/lsprpc.handshaker.func1({0x1c65028, 0xc00032f6e0}, 0xc0004fc060, {0x1c65258?, 0xc00032ea20?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:511 +0xa43
golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x1c65028, 0xc00032f6e0}, 0xc00030e888, {0x1c65258?, 0xc00032ea20?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:35 +0xf6
golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:103 +0xa3
created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:100 +0x20a

goroutine 117 [syscall]:
syscall.syscall(0x1048e2f?, 0xc00005cf98?, 0x800000?, 0x7ffff800000?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.read(0xc00011a000?, {0xc00033e000?, 0xc00005ce40?, 0x0?})
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1189 +0x49
syscall.Read(...)
	/usr/local/go/src/syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	/usr/local/go/src/internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc00011a000?, {0xc00033e000?, 0x1000?, 0x1000?})
	/usr/local/go/src/internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	/usr/local/go/src/os/file_posix.go:31
os.(*File).Read(0xc000010010, {0xc00033e000?, 0x2?, 0x2?})
	/usr/local/go/src/os/file.go:119 +0x5e
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc000334f60)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:121 +0xd2
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:26 +0x38a

goroutine 118 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc000334f90)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:115 +0x9f
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:27 +0x3d6

goroutine 122 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).do(0xc000334f60, {0xc00033e000?, 0x10?, 0xc0001c1ae8?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:103 +0x135
golang.org/x/tools/internal/fakenet.(*fakeConn).Read(0x187e863?, {0xc00033e000?, 0x19a1d20?, 0xc000435020?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:67 +0x25
bufio.(*Reader).fill(0xc00033c120)
	/usr/local/go/src/bufio/bufio.go:106 +0x103
bufio.(*Reader).ReadSlice(0xc00033c120, 0x0?)
	/usr/local/go/src/bufio/bufio.go:371 +0x2f
bufio.(*Reader).collectFragments(0xc0001c1bf0?, 0x16?)
	/usr/local/go/src/bufio/bufio.go:446 +0x74
bufio.(*Reader).ReadString(0xc00022e750?, 0x0?)
	/usr/local/go/src/bufio/bufio.go:494 +0x2b
golang.org/x/tools/internal/jsonrpc2.(*headerStream).Read(0xc00030f698, {0x1c65028, 0xc000503a40}[Info  - 9:28:10 AM] 
)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/stream.go:110 +0xb8
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0xc00031aeb0, {0x1c65028, 0xc000503a40}, 0xc0000b6078)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:196 +0xbc
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:189 +0xb0
runtime: pcdata is -18 and 3 locals stack map entries for syscall.Open (targetpc=0x107b2e5)
fatal error: bad symbol table

runtime stack:
runtime.throw({0x1a08cf8?, 0x211aa60?})
	/usr/local/go/src/runtime/panic.go:992 +0x71
runtime.getStackMap(0x700002aacb28, 0x2a737?, 0xb9?)
	/usr/local/go/src/runtime/stack.go:1295 +0x5bb
runtime.scanframeworker(0x700002aacb28, 0x700002aacc10, 0x1?)
	/usr/local/go/src/runtime/mgcmark.go:945 +0x7e
runtime.scanstack.func1(0x1fb8e88?, 0x211aa60?)
	/usr/local/go/src/runtime/mgcmark.go:780 +0x25
runtime.gentraceback(0x10?, 0x1?, 0x7ff81caa3a6f?, 0x700002aacc10?, 0x0, 0x0, 0x7fffffff, 0x700002aacd70, 0x0?, 0x0)
	/usr/local/go/src/runtime/traceback.go:330 +0xb2f
runtime.scanstack(0xc000318000, 0xc000049238)
	/usr/local/go/src/runtime/mgcmark.go:783 +0x1ba
runtime.markroot.func1()
	/usr/local/go/src/runtime/mgcmark.go:241 +0xc5
runtime.markroot(0xc000049238, 0x1b, 0x1)
	/usr/local/go/src/runtime/mgcmark.go:214 +0x1a5
runtime.gcDrain(0xc000049238, 0x3)
	/usr/local/go/src/runtime/mgcmark.go:1047 +0x39f
runtime.gcBgMarkWorker.func2()
	/usr/local/go/src/runtime/mgc.go:1276 +0xa5
runtime.systemstack()
	/usr/local/go/src/runtime/asm_amd64.s:469 +0x49

goroutine 96 [GC worker (idle)]:
runtime.systemstack_switch()
	/usr/local/go/src/runtime/asm_amd64.s:436 fp=0xc00005cf58 sp=0xc00005cf50 pc=0x1066fc0
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1263 +0x1b1 fp=0xc00005cfe0 sp=0xc00005cf58 pc=0x101cb31
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x1069201
created by runtime.gcBgMarkStartWorkers
	/usr/local/go/src/runtime/mgc.go:1131 +0x25

goroutine 1 [chan receive]:
golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream(0xc00020f560, {0x1c65028, 0xc0000e9950}, {0x1c67718, 0xc000216460})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:99 +0x4ed
golang.org/x/tools/internal/lsp/cmd.(*Serve).Run(0xc0001eccb0, {0x1c65028, 0xc00021f020}, {0xc000130010?, 0x0?, 0x0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/serve.go:125 +0x8f4
golang.org/x/tools/internal/tool.Run({0x1c65028, 0xc00021f020}, 0xc000222300, {0x1c65ae8?, 0xc0001eccb0}, {0xc000130010, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc0001ecc80, {0x1c64fb8?, 0xc00011a000?}, {0xc000130010?, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/cmd.go:221 +0x1af
golang.org/x/tools/internal/tool.Run({0x1c64fb8, 0xc00011a000}, 0xc0002220c0, {0x1c65aa8?, 0xc0001ecc80}, {0xc000130010, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/tool.Main({0x1c64fb8, 0xc00011a000}, {0x1c65aa8?, 0xc0001ecc80?}, {0xc000130010, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:92 +0x145
main.main()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools/gopls@v0.8.4/main.go:30 +0xa5

goroutine 78 [syscall (scan)]:
syscall.syscall(0xc0005e6e08?, 0xc0005e93b0?, 0xc0007cc928?, 0xc00059f960?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.Open({0xc00059f960?, 0x8?}, 0x0?, 0x0?)
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:-1473 +0xc6
os.openFileNolog({0xc00059f960, 0x67}, 0x0, 0x0)
	/usr/local/go/src/os/file_unix.go:216 +0xcf
os.OpenFile({0xc00059f960, 0x67}, 0x0, 0x7cca20?)
	/usr/local/go/src/os/file.go:338 +0x45
os.Open(...)
	/usr/local/go/src/os/file.go:318
path/filepath.readDirNames({0xc00059f960?, 0x107cc66?})
	/usr/local/go/src/path/filepath/path.go:532 +0x26
path/filepath.walk({0xc00059f960, 0x67}, {0x1c67958, 0xc0005e6ea0}, 0xc0007ccf60)
	/usr/local/go/src/path/filepath/path.go:421 +0x74
path/filepath.walk({0xc0005170e0, 0x5f}, {0x1c67958, 0xc00059bc70}, 0xc0007ccf60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc000516ea0, 0x5b}, {0x1c67958, 0xc000592a90}, 0xc0007ccf60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0005178c0, 0x52}, {0x1c67958, 0xc000618c30}, 0xc0007ccf60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc000426f50, 0x45}, {0x1c67958, 0xc000424680}, 0xc0007ccf60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0002885a7, 0x3c}, {0x1c67958, 0xc0002704e0}, 0xc0007ccf60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.Walk({0xc0002885a7, 0x3c}, 0xc00066af60)
	/usr/local/go/src/path/filepath/path.go:505 +0x6c
golang.org/x/tools/internal/lsp/cache.findModules({0xc0002885a0, 0x43}, 0xc0002598c0, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:564 +0x130
golang.org/x/tools/internal/lsp/cache.newWorkspace({0x1c65028, 0xc0003ff770}, {0xc0002885a0, 0x43}, {0x1c5e540, 0xc000310c00}, 0xc0002598c0, 0x0, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:112 +0xdf
golang.org/x/tools/internal/lsp/cache.(*Session).createView(0xc000310c00, {0x1c65028, 0xc0003ff770}, {0xc00012db78, 0x18}, {0xc000154000, 0x43}, 0xc000252240, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:196 +0x25d
golang.org/x/tools/internal/lsp/cache.(*Session).NewView(0xc000310c00, {0x1c65028, 0xc0003ff770}, {0xc00012db78, 0x18}, {0xc000154000, 0x43}, 0xc0000a0270?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:165 +0x287
golang.org/x/tools/internal/lsp.(*Server).addView(0xc0000ea000, {0x1c65028, 0xc0003ff770}, {0xc00012db78, 0x18}, {0xc000154000, 0x43})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/workspace.go:40 +0x1c7
golang.org/x/tools/internal/lsp.(*Server).addFolders(0xc0000ea000, {0x1c65028?, 0xc0003ff770}, {0xc000303520, 0x1, 0x1?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:233 +0x6f5
golang.org/x/tools/internal/lsp.(*Server).initialized(0xc0000ea000, {0x1c65028, 0xc0003ff770}, 0xc000660000?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:185 +0x2fa
golang.org/x/tools/internal/lsp.(*Server).Initialized(0xc00045bc40?, {0x1c65028?, 0xc0003ff770?}, 0x189ece0?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/server_gen.go:160 +0x25
golang.org/x/tools/internal/lsp/protocol.serverDispatch({0x1c65028, 0xc0003ff770}, {0x1c71630, 0xc0000ea000}, 0xc000204000, {0x1c65258, 0xc00007fdd0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/tsserver.go:144 +0x704
golang.org/x/tools/internal/lsp/protocol.ServerHandler.func1({0x1c65028, 0xc0003ff770}, 0xc000204000, {0x1c65258, 0xc00007fdd0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/protocol.go:157 +0x90
golang.org/x/tools/internal/lsp/lsprpc.handshaker.func1({0x1c65028, 0xc0003ff770}, 0xc000204000, {0x1c65258?, 0xc00007fdd0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:511 +0xa43
golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x1c65028, 0xc0003ff770}, 0xc0000ad6b0, {0x1c65258?, 0xc00007fdd0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:35 +0xf6
golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:103 +0xa3
created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:100 +0x20a

goroutine 48 [syscall]:
syscall.syscall(0x1048e2f?, 0xc00005b798?, 0x800000?, 0x7ffff800000?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.read(0xc00012a000?, {0xc000224000?, 0xc00005b640?, 0x0?})
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1189 +0x49
syscall.Read(...)
	/usr/local/go/src/syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	/usr/local/go/src/internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc00012a000?, {0xc000224000?, 0x1000?, 0x1000?})
	/usr/local/go/src/internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	/usr/local/go/src/os/file_posix.go:31
os.(*File).Read(0xc000128000, {0xc000224000?, 0x2?, 0x2?})
	/usr/local/go/src/os/file.go:119 +0x5e
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc00021f0e0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:121 +0xd2
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:26 +0x38a

goroutine 76 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).do(0xc00021f0e0, {0xc000224000?, 0x10?, 0xc0001ddae8?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:103 +0x135
golang.org/x/tools/internal/fakenet.(*fakeConn).Read(0x187e863?, {0xc000224000?, 0x19a1d20?, 0xc0000c5020?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:67 +0x25
bufio.(*Reader).fill(0xc0002223c0)
	/usr/local/go/src/bufio/bufio.go:106 +0x103
bufio.(*Reader).ReadSlice(0xc0002223c0, 0x0?)
	/usr/local/go/src/bufio/bufio.go:371 +0x2f
bufio.(*Reader).collectFragments(0xc0001ddbf0?, 0x16?)
	/usr/local/go/src/bufio/bufio.go:446 +0x74
bufio.(*Reader).ReadString(0xc0000de5d0?, 0x0?)
	/usr/local/go/src/bufio/bufio.go:494 +0x2b
golang.org/x/tools/internal/jsonrpc2.(*headerStream).Read(0xc000124a20, {0x1c65028, 0xc0000e9950})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/stream.go:110 +0xb8
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0xc000216460, {0x1c65028, 0xc0000e9950}, 0xc0000ac090)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:196 +0xbc
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:189 +0xb0

goroutine 47 [chan receive]:
golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory.func1()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:532 +0x7e
created by golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:530 +0xea

goroutine 49 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc00021f110)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:115 +0x9f
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:27 +0x3d6
[Info  - 9:28:11 AM] 
runtime: pcdata is -18 and 3 locals stack map entries for syscall.Open (targetpc=0x107b2e5)
fatal error: bad symbol table

runtime stack:
runtime.throw({0x1a08cf8?, 0x211aa60?})
	/usr/local/go/src/runtime/panic.go:992 +0x71
runtime.getStackMap(0x7000070bfb28, 0x2a737?, 0xb9?)
	/usr/local/go/src/runtime/stack.go:1295 +0x5bb
runtime.scanframeworker(0x7000070bfb28, 0x7000070bfc10, 0x1?)
	/usr/local/go/src/runtime/mgcmark.go:945 +0x7e
runtime.scanstack.func1(0x1fb8e88?, 0x211aa60?)
	/usr/local/go/src/runtime/mgcmark.go:780 +0x25
runtime.gentraceback(0x0?, 0x4c501?, 0x7ff81caa3a6f?, 0x7000070bfc50?, 0x0, 0x0, 0x7fffffff, 0x7000070bfd70, 0x0?, 0x0)
	/usr/local/go/src/runtime/traceback.go:330 +0xb2f
runtime.scanstack(0xc00029b860, 0xc000049238)
	/usr/local/go/src/runtime/mgcmark.go:783 +0x1ba
runtime.markroot.func1()
	/usr/local/go/src/runtime/mgcmark.go:241 +0xc5
runtime.markroot(0xc000049238, 0x2a, 0x1)
	/usr/local/go/src/runtime/mgcmark.go:214 +0x1a5
runtime.gcDrain(0xc000049238, 0x3)
	/usr/local/go/src/runtime/mgcmark.go:1047 +0x39f
runtime.gcBgMarkWorker.func2()
	/usr/local/go/src/runtime/mgc.go:1276 +0xa5
runtime.systemstack()
	/usr/local/go/src/runtime/asm_amd64.s:469 +0x49

goroutine 114 [GC worker (idle)]:
runtime.systemstack_switch()
	/usr/local/go/src/runtime/asm_amd64.s:436 fp=0xc000059f58 sp=0xc000059f50 pc=0x1066fc0
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1263 +0x1b1 fp=0xc000059fe0 sp=0xc000059f58 pc=0x101cb31
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x1069201
created by runtime.gcBgMarkStartWorkers
	/usr/local/go/src/runtime/mgc.go:1131 +0x25

goroutine 1 [chan receive]:
golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream(0xc0000d5080, {0x1c65028, 0xc0000f5c80}, {0x1c67718, 0xc0000c9590})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:99 +0x4ed
golang.org/x/tools/internal/lsp/cmd.(*Serve).Run(0xc000508170, {0x1c65028, 0xc0000f5740}, {0xc000032070?, 0x0?, 0x0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/serve.go:125 +0x8f4
golang.org/x/tools/internal/tool.Run({0x1c65028, 0xc0000f5740}, 0xc0000f8420, {0x1c65ae8?, 0xc000508170}, {0xc000032070, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc000508140, {0x1c64fb8?, 0xc000036080?}, {0xc000032070?, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/cmd.go:221 +0x1af
golang.org/x/tools/internal/tool.Run({0x1c64fb8, 0xc000036080}, 0xc0000f81e0, {0x1c65aa8?, 0xc000508140}, {0xc000032070, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/tool.Main({0x1c64fb8, 0xc000036080}, {0x1c65aa8?, 0xc000508140?}, {0xc000032070, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:92 +0x145
main.main()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools/gopls@v0.8.4/main.go:30 +0xa5

goroutine 115 [chan receive]:
golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory.func1()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:532 +0x7e
created by golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:530 +0xea

goroutine 116 [syscall]:
syscall.syscall(0x1048e2f?, 0xc000516f98?, 0x800000?, 0x7ffff800000?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.read(0xc000112000?, {0xc00051a000?, 0x0?, 0x0?})
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1189 +0x49
syscall.Read(...)
	/usr/local/go/src/syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	/usr/local/go/src/internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc000112000?, {0xc00051a000?, 0x1000?, 0x1000?})
	/usr/local/go/src/internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	/usr/local/go/src/os/file_posix.go:31
os.(*File).Read(0xc000010010, {0xc00051a000?, 0x2?, 0x2?})
	/usr/local/go/src/os/file.go:119 +0x5e
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc0000f5800)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:121 +0xd2
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:26 +0x38a

goroutine 117 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc0000f5830)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:115 +0x9f
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:27 +0x3d6

goroutine 118 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).do(0xc0000f5800, {0xc00051a000?, 0x10?, 0xc000549ae8?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:103 +0x135
golang.org/x/tools/internal/fakenet.(*fakeConn).Read(0x187e863?, {0xc00051a000?, 0x19a1d20?, 0xc0004e9e60?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:67 +0x25
bufio.(*Reader).fill(0xc0000f84e0)
	/usr/local/go/src/bufio/bufio.go:106 +0x103
bufio.(*Reader).ReadSlice(0xc0000f84e0, 0x0?)
	/usr/local/go/src/bufio/bufio.go:371 +0x2f
bufio.(*Reader).collectFragments(0xc000549bf0?, 0x16?)
	/usr/local/go/src/bufio/bufio.go:446 +0x74
bufio.(*Reader).ReadString(0xc0002a6360?, 0x0?)
	/usr/local/go/src/bufio/bufio.go:494 +0x2b
golang.org/x/tools/internal/jsonrpc2.(*headerStream).Read(0xc0000b7d88, {0x1c65028, 0xc0000f5c80})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/stream.go:110 +0xb8
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0xc0000c9590, {0x1c65028, 0xc0000f5c80}, 0xc00028a090)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:196 +0xbc
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:189 +0xb0

goroutine 94 [syscall (scan)]:
syscall.syscall(0x1063b9b?, 0xc00029b860?, 0x74?, 0xc0006ed3b0?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.Open({0xc0006ed3b0?, 0x8?}, 0x0?, 0x0?)
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:-1473 +0xc6
os.openFileNolog({0xc0006ed3b0, 0x69}, 0x0, 0x0)
	/usr/local/go/src/os/file_unix.go:216 +0xcf
os.OpenFile({0xc0006ed3b0, 0x69}, 0x0, 0x544a20?)
	/usr/local/go/src/os/file.go:338 +0x45
os.Open(...)
	/usr/local/go/src/os/file.go:318
path/filepath.readDirNames({0xc0006ed3b0?, 0x107cc66?})
	/usr/local/go/src/path/filepath/path.go:532 +0x26
path/filepath.walk({0xc0006ed3b0, 0x69}, {0x1c67958, 0xc0006e9930}, 0xc000544f60)
	/usr/local/go/src/path/filepath/path.go:421 +0x74
path/filepath.walk({0xc0006d25b0, 0x62}, {0x1c67958, 0xc0006cd2b0}, 0xc000544f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0002935c0, 0x5d}, {0x1c67958, 0xc0006b80d0}, 0xc000544f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc00053a540, 0x52}, {0x1c67958, 0xc000551ee0}, 0xc000544f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc000272f50, 0x45}, {0x1c67958, 0xc0000b5930}, 0xc000544f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.walk({0xc0000ba4b7, 0x3c}, {0x1c67958, 0xc000577790}, 0xc000544f60)
	/usr/local/go/src/path/filepath/path.go:442 +0x285
path/filepath.Walk({0xc0000ba4b7, 0x3c}, 0xc00056af60)
	/usr/local/go/src/path/filepath/path.go:505 +0x6c
golang.org/x/tools/internal/lsp/cache.findModules({0xc0000ba4b0, 0x43}, 0xc000571410, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:564 +0x130
golang.org/x/tools/internal/lsp/cache.newWorkspace({0x1c65028, 0xc0004e9920}, {0xc0000ba4b0, 0x43}, {0x1c5e540, 0xc000124e00}, 0xc000571410, 0x0, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/workspace.go:112 +0xdf
golang.org/x/tools/internal/lsp/cache.(*Session).createView(0xc000124e00, {0x1c65028, 0xc0004e9920}, {0xc00022f7b8, 0x18}, {0xc0000ba000, 0x43}, 0xc0002cab40, 0x0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:196 +0x25d
golang.org/x/tools/internal/lsp/cache.(*Session).NewView(0xc000124e00, {0x1c65028, 0xc0004e9920}, {0xc00022f7b8, 0x18}, {0xc0000ba000, 0x43}, 0xc0000a0070?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cache/session.go:165 +0x287
golang.org/x/tools/internal/lsp.(*Server).addView(0xc0004e4240, {0x1c65028, 0xc0004e9920}, {0xc00022f7b8, 0x18}, {0xc0000ba000, 0x43})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/workspace.go:40 +0x1c7
golang.org/x/tools/internal/lsp.(*Server).addFolders(0xc0004e4240, {0x1c65028?, 0xc0004e9920}, {0xc0004d93a0, 0x1, 0x1?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:233 +0x6f5
golang.org/x/tools/internal/lsp.(*Server).initialized(0xc0004e4240, {0x1c65028, 0xc0004e9920}, 0xc0000d27e0?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/general.go:185 +0x2fa
golang.org/x/tools/internal/lsp.(*Server).Initialized(0xc000374100?, {0x1c65028?, 0xc0004e9920?}, 0x189ece0?)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/server_gen.go:160 +0x25
golang.org/x/tools/internal/lsp/protocol.serverDispatch({0x1c65028, 0xc0004e9920}, {0x1c71630, 0xc0004e4240}, 0xc000361800, {0x1c65258, 0xc0004e9860})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/tsserver.go:144 +0x704
golang.org/x/tools/internal/lsp/protocol.ServerHandler.func1({0x1c65028, 0xc0004e9920}, 0xc000361800, {0x1c65258, 0xc0004e9860})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/protocol/protocol.go:157 +0x90
golang.org/x/tools/internal/lsp/lsprpc.handshaker.func1({0x1c65028, 0xc0004e9920}, 0xc000361800, {0x1c65258?, 0xc0004e9860?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:511 +0xa43
golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x1c65028, 0xc0004e9920}, 0xc00028a408, {0x1c65258?, 0xc0004e9860?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:35 +0xf6
golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:103 +0xa3
created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:100 +0x20a
[Info  - 9:28:11 AM] 
runtime: unexpected return pc for syscall.readdir_r called from 0x7a2cc80000000000
stack: frame={sp:0xc00066a748, fp:0xc00066a76b} stack=[0xc000664000,0xc00066c000)
0x000000c00066a648:  0x0000000000203000  0x0000000000000001 
0x000000c00066a658:  0x0000000000000076  0x0000000000000000 
0x000000c00066a668:  0x000000c00066a6b0  0x000000000103ad16 <runtime.casgstatus+0x00000000000002f6> 
0x000000c00066a678:  0x000003d100000001  0x000000c000090000 
0x000000c00066a688:  0x0000000000000009  0x000003d1bd536995 
0x000000c00066a698:  0x000000000000001f  0x0000000300000002 
0x000000c00066a6a8:  0x000000c0002849c0  0x000000c00066a6e0 
0x000000c00066a6b8:  0x0000000001063b9b <runtime.exitsyscall+0x00000000000000fb>  0x000000c0002849c0 
0x000000c00066a6c8:  0x0000000200000003  0x000000c0002849c0 
0x000000c00066a6d8:  0x000000c00004a500  0x000000c00066a738 
0x000000c00066a6e8:  0x0000000001065585 <syscall.syscall+0x0000000000000065>  0x000000c0006d6c00 
0x000000c00066a6f8:  0x000100c0009ca000  0x000000000107d720 <syscall.libc_readdir_r_trampoline+0x0000000000000000> 
0x000000c00066a708:  0x00006000033005a0  0x000000c0009bd680 
0x000000c00066a718:  0x000000c0007a2cc8  0x0000000000000000 
0x000000c00066a728:  0x0000000000000000  0x0000000000000000 
0x000000c00066a738:  0x000000c00066a778  0x000000000107b73b <syscall.readdir_r+0x000000000000003b> 
0x000000c00066a748: <0x0000000001051429 <runtime.slicebytetostring+0x0000000000000069>  0x000000000000001b 
0x000000c00066a758:  0x0000000000000000  0x0000000000000000 
0x000000c00066a768:  0x000000c0007a2cc8  0x000000c0009bd680 
0x000000c00066a778:  0x000000c00066a8b0  0x00000000010d84c5 <os.(*File).readdir+0x0000000000000305> 
0x000000c00066a788:  0x00000000018be460  0x000000c0009bd695 
0x000000c00066a798:  0x000000000000001b  0x00000000018eb820 
0x000000c00066a7a8:  0x000000c00098f740  0x00000000018ca040 
0x000000c00066a7b8:  0x0000000001b547b8  0x000000000104d465 <runtime.makeslicecopy+0x0000000000000105> 
0x000000c00066a7c8:  0x005e41ed01000004  0x0000000000000064 
0x000000c00066a7d8:  0x00000014000001f5  0x0000000000000000 
0x000000c00066a7e8:  0x00006000033005a0  0x0000000030846b5a 
0x000000c00066a7f8:  0x0000000000000026  0x0000000000000000 
0x000000c00066a808:  0x0000000000000000  0x0000000000000000 
0x000000c00066a818:  0x0000000000000000  0x0000000000000040 
0x000000c00066a828:  0x0000000000000026  0xffffffffffffffff 
0x000000c00066a838:  0x0000000000001000  0x0000000000000000 
0x000000c00066a848:  0x0000000000000000  0x0000000000000000 
0x000000c00066a858:  0x000000c0007a2cc0  0x000000c000973128 
0x000000c00066a868:  0x00000000010dd39e <os.openFileNolog+0x00000000000001be> 
fatal error: unknown caller pc

runtime stack:
runtime.throw({0x1a0bfe7?, 0x211aa60?})
	/usr/local/go/src/runtime/panic.go:992 +0x71
runtime.gentraceback(0x8?, 0x1c5b680?, 0x0?, 0x70000a8f6c10?, 0x0, 0x0, 0x7fffffff, 0x70000a8f6d70, 0x0?, 0x0)
	/usr/local/go/src/runtime/traceback.go:254 +0x1a36
runtime.scanstack(0xc0002849c0, 0xc000050138)
	/usr/local/go/src/runtime/mgcmark.go:783 +0x1ba
runtime.markroot.func1()
	/usr/local/go/src/runtime/mgcmark.go:241 +0xc5
runtime.markroot(0xc000050138, 0x25, 0x1)
	/usr/local/go/src/runtime/mgcmark.go:214 +0x1a5
runtime.gcDrain(0xc000050138, 0x7)
	/usr/local/go/src/runtime/mgcmark.go:1047 +0x39f
runtime.gcBgMarkWorker.func2()
	/usr/local/go/src/runtime/mgc.go:1295 +0x6e
runtime.systemstack()
	/usr/local/go/src/runtime/asm_amd64.s:469 +0x49

goroutine 117 [GC worker (idle)]:
runtime.systemstack_switch()
	/usr/local/go/src/runtime/asm_amd64.s:436 fp=0xc0004c5758 sp=0xc0004c5750 pc=0x1066fc0
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1263 +0x1b1 fp=0xc0004c57e0 sp=0xc0004c5758 pc=0x101cb31
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0004c57e8 sp=0xc0004c57e0 pc=0x1069201
created by runtime.gcBgMarkStartWorkers
	/usr/local/go/src/runtime/mgc.go:1131 +0x25

goroutine 1 [chan receive]:
golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream(0xc000232000, {0x1c65028, 0xc000251aa0}, {0x1c67718, 0xc00021e0f0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/lsprpc/lsprpc.go:99 +0x4ed
golang.org/x/tools/internal/lsp/cmd.(*Serve).Run(0xc0002da530, {0x1c65028, 0xc0004465d0}, {0xc000032070?, 0x0?, 0x0?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/serve.go:125 +0x8f4
golang.org/x/tools/internal/tool.Run({0x1c65028, 0xc0004465d0}, 0xc000448360, {0x1c65ae8?, 0xc0002da530}, {0xc000032070, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc0002da500, {0x1c64fb8?, 0xc000036080?}, {0xc000032070?, 0x0, 0x0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/cmd/cmd.go:221 +0x1af
golang.org/x/tools/internal/tool.Run({0x1c64fb8, 0xc000036080}, 0xc0002a9ec0, {0x1c65aa8?, 0xc0002da500}, {0xc000032070, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:168 +0x57f
golang.org/x/tools/internal/tool.Main({0x1c64fb8, 0xc000036080}, {0x1c65aa8?, 0xc0002da500?}, {0xc000032070, 0x1, 0x1})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/tool/tool.go:92 +0x145
main.main()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools/gopls@v0.8.4/main.go:30 +0xa5

goroutine 132 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).do(0xc000250c00, {0xc00044c000?, 0x10?, 0xc0005ddae8?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:103 +0x135
golang.org/x/tools/internal/fakenet.(*fakeConn).Read(0x187e863?, {0xc00044c000?, 0x19a1d20?, 0xc0004e5980?})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:67 +0x25
bufio.(*Reader).fill(0xc00024b6e0)
	/usr/local/go/src/bufio/bufio.go:106 +0x103
bufio.(*Reader).ReadSlice(0xc00024b6e0, 0x0?)
	/usr/local/go/src/bufio/bufio.go:371 +0x2f
bufio.(*Reader).collectFragments(0xc0005ddbf0?, 0x16?)
	/usr/local/go/src/bufio/bufio.go:446 +0x74
bufio.(*Reader).ReadString(0xc000246330?, 0x0?)
	/usr/local/go/src/bufio/bufio.go:494 +0x2b
golang.org/x/tools/internal/jsonrpc2.(*headerStream).Read(0xc000206048, {0x1c65028, 0xc000251aa0})
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/stream.go:110 +0xb8
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0xc00021e0f0, {0x1c65028, 0xc000251aa0}, 0xc0002060f0)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:196 +0xbc
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/conn.go:189 +0xb0

goroutine 131 [select]:
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc000250c30)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:115 +0x9f
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:27 +0x3d6

goroutine 134 [syscall (scan)]:
syscall.syscall(0x1051429?, 0x1b?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
runtime: unexpected return pc for syscall.readdir_r called from 0x7a2cc80000000000
stack: frame={sp:0xc00066a748, fp:0xc00066a76b} stack=[0xc000664000,0xc00066c000)
0x000000c00066a648:  0x000000c00066a668  0x000000000105506c <runtime.usleep+0x000000000000002c> 
0x000000c00066a658:  0x000003d1bdc5fd25  0x0000000100000001 
0x000000c00066a668:  0x000000c00066a6b0  0x000000000103ab45 <runtime.casgstatus+0x0000000000000125> 
0x000000c00066a678:  0x000003d100000001  0x000000c000090000 
0x000000c00066a688:  0x0000000000000009  0x000003d1bdc5fccf 
0x000000c00066a698:  0x000000000000025a  0x0000000300000002 
0x000000c00066a6a8:  0x000000c0002849c0  0x000000c00066a6e0 
0x000000c00066a6b8:  0x0000000001063b9b <runtime.exitsyscall+0x00000000000000fb>  0x000000c0002849c0 
0x000000c00066a6c8:  0x0000000200000003  0x000000c0002849c0 
0x000000c00066a6d8:  0x000000c00004a500  0x000000c00066a738 
0x000000c00066a6e8:  0x0000000001065585 <syscall.syscall+0x0000000000000065>  0x000000c0006d6c00 
0x000000c00066a6f8:  0x000100c0009ca000  0x000000000107d720 <syscall.libc_readdir_r_trampoline+0x0000000000000000> 
0x000000c00066a708:  0x00006000033005a0  0x000000c0009bd680 
0x000000c00066a718:  0x000000c0007a2cc8  0x0000000000000000 
0x000000c00066a728:  0x0000000000000000  0x0000000000000000 
0x000000c00066a738:  0x000000c00066a778  0x000000000107b73b <syscall.readdir_r+0x000000000000003b> 
0x000000c00066a748: <0x0000000001051429 <runtime.slicebytetostring+0x0000000000000069>  0x000000000000001b 
0x000000c00066a758:  0x0000000000000000  0x0000000000000000 
0x000000c00066a768:  0x000000c0007a2cc8  0x000000c0009bd680 
0x000000c00066a778:  0x000000c00066a8b0  0x00000000010d84c5 <os.(*File).readdir+0x0000000000000305> 
0x000000c00066a788:  0x00000000018be460  0x000000c0009bd695 
0x000000c00066a798:  0x000000000000001b  0x00000000018eb820 
0x000000c00066a7a8:  0x000000c00098f740  0x00000000018ca040 
0x000000c00066a7b8:  0x0000000001b547b8  0x000000000104d465 <runtime.makeslicecopy+0x0000000000000105> 
0x000000c00066a7c8:  0x005e41ed01000004  0x0000000000000064 
0x000000c00066a7d8:  0x00000014000001f5  0x0000000000000000 
0x000000c00066a7e8:  0x00006000033005a0  0x0000000030846b5a 
0x000000c00066a7f8:  0x0000000000000026  0x0000000000000000 
0x000000c00066a808:  0x0000000000000000  0x0000000000000000 
0x000000c00066a818:  0x0000000000000000  0x0000000000000040 
0x000000c00066a828:  0x0000000000000026  0xffffffffffffffff 
0x000000c00066a838:  0x0000000000001000  0x0000000000000000 
0x000000c00066a848:  0x0000000000000000  0x0000000000000000 
0x000000c00066a858:  0x000000c0007a2cc0  0x000000c000973128 
0x000000c00066a868:  0x00000000010dd39e <os.openFileNolog+0x00000000000001be> 
syscall.readdir_r(0x9bd680000000c000, 0x66a8b0000000c000, 0xd84c5000000c000)
	?:0 +0x3b
created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/jsonrpc2/handler.go:100 +0x20a

goroutine 130 [syscall]:
syscall.syscall(0x1048e2f?, 0xc0004c4798?, 0x800000?, 0x7ffff800000?)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x4e
syscall.read(0xc00011a000?, {0xc00044c000?, 0xc000090000?, 0x0?})
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1189 +0x49
syscall.Read(...)
	/usr/local/go/src/syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	/usr/local/go/src/internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc00011a000?, {0xc00044c000?, 0x1000?, 0x1000?})
	/usr/local/go/src/internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	/usr/local/go/src/os/file_posix.go:31
os.(*File).Read(0xc000010010, {0xc00044c000?, 0x2?, 0x2?})
	/usr/local/go/src/os/file.go:119 +0x5e
golang.org/x/tools/internal/fakenet.(*connFeeder).run(0xc000250c00)
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:121 +0xd2
created by golang.org/x/tools/internal/fakenet.NewConn
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/fakenet/conn.go:26 +0x38a

goroutine 16 [chan receive]:
golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory.func1()
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:532 +0x7e
created by golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory
	/Users/bayucandra/go/pkg/mod/golang.org/x/tools@v0.1.11-0.20220513164230-dfee1649af67/internal/lsp/debug/serve.go:530 +0xea
[Error - 9:28:12 AM] Connection to server got closed. Server will not be restarted.

Failed to auto-collect gopls trace: unrecognized crash pattern.

@hyangah hyangah transferred this issue from golang/vscode-go Jul 6, 2022
@gopherbot gopherbot added the gopls label Jul 6, 2022
@hyangah hyangah changed the title gopls: automated issue report (crash) runtime: fatal error: bad symbol table (go1.18) Jul 6, 2022
@hyangah
Copy link
Contributor

hyangah commented Jul 6, 2022

Thanks @bayucandra for capturing the crash log and filling out the template. Transferred to the Go issue tracker since it looks like a runtime issue.

cc @golang/runtime The panic trace is gopls crash log.
One interesting fact to note is the involvement of SSH (the user is connecting to the Mac over SSH). Previously, I've seen users who encountered issues around security/firewall configuration in similar case, but I've never seen this crash pattern.

@cherrymui
Copy link
Member

cherrymui commented Jul 6, 2022

Looks like the log contains several failures? Some are

runtime: pcdata is -18 and 3 locals stack map entries for syscall.Open (targetpc=0x107b2e5)
fatal error: bad symbol table

Some are

runtime: unexpected return pc for syscall.readdir_r called from 0x7a2cc80000000000
stack: frame={sp:0xc00066a748, fp:0xc00066a76b} stack=[0xc000664000,0xc00066c000)

For the former, I checked the stack maps of syscall.Open (built with Go 1.18) and it seems correct. Also,

syscall.Open({0xc0006ed3b0?, 0x8?}, 0x0?, 0x0?)
/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:-1473 +0xc6

The line number here doesn't make any sense.

For the latter,

stack: frame={sp:0xc00066a748, fp:0xc00066a76b} stack=[0xc000664000,0xc00066c000)

fp is unaligned, which also doesn't make sense.

All failure seems to be related to the metadata of the syscall package being corrupted. Maybe the file is corrupted somehow? Could you try building a fresh binary, maybe using go build -a?

@hyangah
Copy link
Contributor

hyangah commented Jul 6, 2022

Thanks @cherrymui - yes, the log contains multiple crashes (the LSP client attempts to retry a few times if the server crashes).

@bayucandra Can you test if reinstalling gopls with go install -a golang.org/x/tools/gopls@latest helps? (make sure the go install command replaces the gopls the extension uses, either in GOPATH/bin or GOBIN)

@gopherbot gopherbot added the compiler/runtime label Jul 7, 2022
@bayucandra
Copy link
Author

bayucandra commented Jul 11, 2022

@hyangah , currently actually I am no longer able to reproduce it. It could be because I click update on Visual studio code when it asked me to update gopls plugin. But for sure I have not execute command you have suggested above.

In addition, I have updated/added a little detail to my initial comment above at section "Describe what you observed.". Hope it helps. Thanks.

@prattmic prattmic added this to the Backlog milestone Jul 27, 2022
@findleyr findleyr removed the gopls label Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime
Projects
Status: Todo
Development

No branches or pull requests

6 participants