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,reflect: fatal error: fault in reflect.Value.Call under maymorestack=mayMoreStackMove on windows-amd64-longtest #52800

Open
bcmills opened this issue May 9, 2022 · 2 comments
Labels
NeedsInvestigation OS-Windows release-blocker
Milestone

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented May 9, 2022

##### maymorestack=mayMoreStackMove
ok  	runtime	148.357s
unexpected fault address 0xc00008e018
fatal error: fault
[signal 0xc0000005 code=0x0 addr=0xc00008e018 pc=0x578840]

goroutine 322 [running]:
runtime.throw({0x5f38d7?, 0x19?})
	C:/workdir/go/src/runtime/panic.go:1028 +0x65 fp=0xc0000a9800 sp=0xc0000a97d0 pc=0x37e2e5
runtime.sigpanic()
	C:/workdir/go/src/runtime/signal_windows.go:261 +0x125 fp=0xc0000a9848 sp=0xc0000a9800 pc=0x393905
reflect_test.(*Outer).M(0x0?)
	<autogenerated>:1 fp=0xc0000a9850 sp=0xc0000a9848 pc=0x578840
runtime.call16(0xc000022510, 0xc00017e0f8, 0x0, 0x0, 0x0, 0x8, 0xc0000a9d80)
	C:/workdir/go/src/runtime/asm_amd64.s:724 +0x55 fp=0xc0000a9870 sp=0xc0000a9850 pc=0x3b04f5
runtime.reflectcall(0xc00017c150?, 0x1?, 0x1?, 0x76008?, 0xc0?, 0x1?, 0x1?)
	<autogenerated>:1 +0x3c fp=0xc0000a98b0 sp=0xc0000a9870 pc=0x3b497c
reflect.Value.call({0x5ad680?, 0xc00008e018?, 0x213?}, {0x5f356f, 0x4}, {0x0, 0x0, 0x0?})
	C:/workdir/go/src/reflect/value.go:585 +0x8a5 fp=0xc0000a9ea0 sp=0xc0000a98b0 pc=0x4234c5
reflect.Value.Call({0x5ad680?, 0xc00008e018?, 0x213?}, {0x0, 0x0, 0x0})
	C:/workdir/go/src/reflect/value.go:368 +0x10c fp=0xc0000a9f18 sp=0xc0000a9ea0 pc=0x42296c
reflect_test.TestCallMethodJump(0xc000084680?)
	C:/workdir/go/src/reflect/all_test.go:6556 +0x125 fp=0xc0000a9f70 sp=0xc0000a9f18 pc=0x54d405
testing.tRunner(0xc000055040, 0x60b390)
	C:/workdir/go/src/testing/testing.go:1449 +0x10b fp=0xc0000a9fc0 sp=0xc0000a9f70 pc=0x46810b
testing.(*T).Run.func1()
	C:/workdir/go/src/testing/testing.go:1496 +0x2a fp=0xc0000a9fe0 sp=0xc0000a9fc0 pc=0x468faa
runtime.goexit()
	C:/workdir/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000a9fe8 sp=0xc0000a9fe0 pc=0x3b2301
created by testing.(*T).Run
	C:/workdir/go/src/testing/testing.go:1496 +0x35f

greplogs -l -e '##### maymorestack=mayMoreStackMove\n(.*\n)*reflect\.Value\.Call' --since=2022-01-01
2022-05-06T22:04:35-4e79f06/windows-amd64-longtest
2022-05-05T21:52:18-10d1189/windows-amd64-longtest
2022-05-01T00:05:20-edab07d/windows-amd64-longtest
2022-04-26T22:08:12-226346b/windows-amd64-longtest

(attn @golang/runtime)

@bcmills
Copy link
Member Author

@bcmills bcmills commented May 9, 2022

This is a release-blocker for Go 1.19 because windows/amd64 is a first-class port.

@bcmills bcmills added this to the Go1.19 milestone May 9, 2022
@heschi heschi added the NeedsFix label May 9, 2022
@bcmills bcmills added the NeedsInvestigation label May 9, 2022
@gopherbot gopherbot removed the NeedsFix label May 9, 2022
@gopherbot
Copy link

@gopherbot gopherbot commented May 20, 2022

Change https://go.dev/cl/407508 mentions this issue: reflect: store receiver in pointer slot for reflect call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation OS-Windows release-blocker
Projects
Status: Todo
Development

No branches or pull requests

3 participants