-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi,
Buf extension gets disabled because buf server crashed 5 times in 3 minutes
Buf extension 0.8.11 installed
INFO parsing IR for file {"uri":"file:///c%3A/Users/odurecu/S%26A/SN11/gitlab/protobuf-spec/domains/line/protos/line_core_front.proto","version":1}
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x28 pc=0x137493e]
goroutine 13 [running]:
github.com/bufbuild/buf/private/buf/buflsp.(*file).RefreshIR.func2(...)
github.com/bufbuild/buf/private/buf/buflsp/file.go:262
buf.build/go/standard/xslices.Filter...
buf.build/go/standard@v0.1.0/xslices/xslices.go:36
github.com/bufbuild/buf/private/buf/buflsp.(*file).RefreshIR(0xc0001302c8, {0x1e4cc50, 0xc000389200})
github.com/bufbuild/buf/private/buf/buflsp/file.go:261 +0xa3e
github.com/bufbuild/buf/private/buf/buflsp.(*file).Update(0xc0001302c8, {0x1e4cc50, 0xc000389200}, 0x1, {0xc0004ee000, 0x13ee})
github.com/bufbuild/buf/private/buf/buflsp/file.go:167 +0x345
github.com/bufbuild/buf/private/buf/buflsp.(*server).DidOpen(0xc000034e60?, {0x1e4cc50, 0xc000389200}, 0xc000388d80)
github.com/bufbuild/buf/private/buf/buflsp/server.go:216 +0x69
go.lsp.dev/protocol.serverDispatch({0x1e4cc50, 0xc000389200}, {0x1eb1550, 0xc0000923a0}, 0xc0004edec0, {0x156f0099540, 0xc0006a4c30})
go.lsp.dev/protocol@v0.12.0/server.go:314 +0x2516
github.com/bufbuild/buf/private/buf/buflsp.(*lsp).newHandler.ServerHandler.func2({0x1e4cc50, 0xc000389200}, 0xc0004edec0, {0x156f0099540, 0xc0006a4c30})
go.lsp.dev/protocol@v0.12.0/server.go:36 +0x7d
github.com/bufbuild/buf/private/buf/buflsp.(*lsp).newHandler.func1({0x1e4cc50, 0xc000389200}, 0xc000694ba0, {0x156f0099540, 0xc0006a4c30})
github.com/bufbuild/buf/private/buf/buflsp/buflsp.go:145 +0x323
github.com/bufbuild/buf/private/buf/buflsp.(*lsp).newHandler.AsyncHandler.func3.2()
go.lsp.dev/jsonrpc2@v0.10.0/handler.go:114 +0x76
created by github.com/bufbuild/buf/private/buf/buflsp.(*lsp).newHandler.AsyncHandler.func3 in goroutine 10
go.lsp.dev/jsonrpc2@v0.10.0/handler.go:112 +0x165
[Info - 9:56:57 AM] Connection to server got closed. Server will restart.
true
[Error - 9:56:57 AM] Server process exited with code 2.