The part in the cpu server triggering it appears to be the go func doing io.Copy(f, s).
How?
I cannot exactly tell. This appears to happen on file transfer. However, it is okay with small files (say some lines of a shell script).
When I attempt a kexec, or even just copy over a file cpu qemu /bbin/cp ./10-meg-file /tmp/, the crash occurs.
What?
In a QEMU RISC-V,
cpud
may get a runtime error when processing commands:which is defined in https://go.dev/src/runtime/lfstack.go
The part in the
cpu
server triggering it appears to be the go func doingio.Copy(f, s)
.How?
I cannot exactly tell. This appears to happen on file transfer. However, it is okay with small files (say some lines of a shell script). When I attempt a
kexec
, or even just copy over a filecpu qemu /bbin/cp ./10-meg-file /tmp/
, the crash occurs.see also https://go-review.googlesource.com/c/go/+/409055 (thanks @dramforever for finding this)
Stacktrace