runtime: SIGSEGV
via go test ./...
on Fedora linux/amd64 with go1.19.7
#59372
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No. Reproduced with go1.18.10 and go1.19.7
What operating system and processor architecture are you using (
go env
)?go env
(1.18.10) Outputgo env
(1.19.7) Outputgo env
(1.20.2) OutputWhat did you do?
Operating System
(1.19.7) go test -v ./...
I saw strange variable types when debugging the above problem.


I tried to write a minimal reproducible demo but failed. The example I wrote did not trigger the problem.
I got around this problem by renaming the same name type defined within the test function, but defining the same name type doesn't seem to necessarily trigger this problem.
This demo not trigger the problem
reproduced in github action
repo: https://github.com/nnnewb/battery
reproduced with go1.19.7
commit: 0dc97862b583962b1d6dd5fb3b8a66d115710b38
reproduced with go1.18.10
commit: d3ce412a6b676def603be24cc1c68a10e4a00ffb
What did you expect to see?
not panic.
What did you see instead?
The text was updated successfully, but these errors were encountered: