runtime: SIGSEGV in mapaccess2_faststr #71994
Labels
BugReport
Issues describing a possible bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
Go version
go1.24.0 linux_amd64
Output of
go env
in your module/workspace:What did you do?
When using a single goroutine to call a map, a panic occurs when accessing the contents of the map
What did you see happen?
unexpected fault address 0x7f5571e74e6f
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7f5571e74e6f pc=0x4067d9]
goroutine 329 gp=0xc0009028c0 m=15 mp=0xc000481808 [running]:
runtime.throw({0x148d732?, 0x6e127487bfb8?})
/root/tools/go1.24.0/src/runtime/panic.go:1096 +0x48 fp=0xc5307ab1b0 sp=0xc5307ab180 pc=0x479ea8
runtime.sigpanic()
/root/tools/go1.24.0/src/runtime/signal_unix.go:939 +0x26c fp=0xc5307ab210 sp=0xc5307ab1b0 pc=0x47be2c
memeqbody()
/root/tools/go1.24.0/src/internal/bytealg/equal_amd64.s:115 +0xe9 fp=0xc5307ab218 sp=0xc5307ab210 pc=0x4067d9
runtime.mapaccess2_faststr(0x12e1860, 0xc82bd0bb30, {0xc004210420, 0x10})
/root/tools/go1.24.0/src/internal/runtime/maps/runtime_faststr_swiss.go:204 +0x215 fp=0xc5307ab298 sp=0xc5307ab218 pc=0x40c5f5
What did you expect to see?
Successfully returned data.
The text was updated successfully, but these errors were encountered: