Skip to content

Conversation

@mlboy
Copy link

@mlboy mlboy commented Oct 24, 2024

update wire verison, v0.6 using wire with mod

@mlboy
Copy link
Author

mlboy commented Oct 24, 2024

`▀ Build Project (0s)panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104f1c2a4]

goroutine 204 [running]:
go/types.(*Checker).handleBailout(0x1400054e200, 0x14000153c38)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/check.go:367 +0x9c
panic({0x105093a80?, 0x1052d3920?})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/runtime/panic.go:770 +0x124
go/types.(*StdSizes).Sizeof(0x0, {0x1050e34a8, 0x1052d8820})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/sizes.go:228 +0x314
go/types.(*Config).sizeof(...)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/sizes.go:333
go/types.representableConst.func1({0x1050e34a8?, 0x1052d8820?})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/const.go:76 +0x9c
go/types.representableConst({0x1050e5248, 0x1052c17e0}, 0x1400054e200, 0x1052d8820, 0x14000151068)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/const.go:92 +0x138
go/types.(*Checker).representation(0x1400054e200, 0x140005190c0, 0x1052d8820)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/const.go:256 +0x68
go/types.(*Checker).implicitTypeAndValue(0x1400054e200, 0x140005190c0, {0x1050e34a8, 0x1052d8820})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/expr.go:375 +0x304
go/types.(*Checker).assignment(0x1400054e200, 0x140005190c0, {0x1050e34a8, 0x1052d8820}, {0x104fdb88c, 0x10})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/assignments.go:52 +0x23c
go/types.(*Checker).initVar(0x1400054e200, 0x1400018e300, 0x140005190c0, {0x104fdb88c, 0x10})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/assignments.go:163 +0x314
go/types.(*Checker).initVars(0x1400054e200, {0x140000d8020, 0x1, 0x1400018e900?}, {0x140007001f0, 0x14000096720?, 0x140001515c8?}, {0x1050e4410, 0x140001968e0?})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/assignments.go:382 +0x588
go/types.(*Checker).stmt(0x1400054e200, 0x0, {0x1050e4410, 0x140001968e0})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/stmt.go:524 +0x1898
go/types.(*Checker).stmtList(0x1400054e200, 0x0, {0x14000700200?, 0x104fd7347?, 0x5?})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/stmt.go:121 +0x88
go/types.(*Checker).stmt(0x1400054e200, 0x0, {0x1050e4a40, 0x14000628210})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/stmt.go:562 +0x1974
go/types.(*Checker).stmt(0x1400054e200, 0x0, {0x1050e4a70, 0x14000706580})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/stmt.go:574 +0x258c
go/types.(*Checker).stmtList(0x1400054e200, 0x0, {0x140001be080?, 0x0?, 0x14000091290?})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/stmt.go:121 +0x88
go/types.(*Checker).funcBody(0x1400054e200, 0x1050e34a8?, {0x14000066180?, 0x1052d8820?}, 0x14000190f40, 0x14000628360, {0x0?, 0x0?})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/stmt.go:41 +0x21c
go/types.(*Checker).funcDecl.func1()
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/decl.go:852 +0x44
go/types.(*Checker).processDelayed(0x1400054e200, 0x0)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/check.go:467 +0x12c
go/types.(*Checker).checkFiles(0x1400054e200, {0x14000050000, 0x1, 0x1})
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/check.go:411 +0x188
go/types.(*Checker).Files(...)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0x1400013a0e0, 0x140005c5ca0)
/Users/mlboy/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:961 +0x5e8
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
/Users/mlboy/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:799 +0x178
sync.(*Once).doSlow(0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/sync/once.go:74 +0x100
sync.(*Once).Do(...)
/opt/homebrew/Cellar/go/1.22.2/libexec/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
/Users/mlboy/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:787 +0x50
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
/Users/mlboy/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:794 +0x30
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 201
/Users/mlboy/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:793 +0x84`

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

Successfully merging this pull request may close these issues.

1 participant