runtime: cannot run go file using qemu-arm when I disable core 0 in docker #37945
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. I have tested it with g1.14.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
package main
func main(){
for i:=0; i<1000; i++ {
println("Hello world")
}
}
What did you expect to see?
Hello world
Hello world
Hello world
... (997 times more)
What did you see instead?
bash-3.2# go run test.go
fatal error: schedule: holding locks
panic during panic
SIGILL: illegal instruction
PC=0xc9ec4c m=3 sigcode=2
goroutine 122 [runnable]:
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
bash-3.2#
Hello!
I figure out that sometimes simple go application is not working.
I am using docker + qemu-arm + go( for armv7l).
These are version info below.
root@VDBS1535:~# docker -v
Docker version 17.09.1-ce, build 19e2cf6
bash-3.2# qemu-arm --version
qemu-arm version 2.7.0, Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
This issue is come only when I disable core 0 using a command below.
please check "--cpuset-cpus=1-55" option.
sudo docker run --privileged -d -i -t --cpuset-cpus=1-55 --mount type=bind,source="/home/dw83kim/mnt",destination="/mnt" --network host --name="ubuntu_core1" ubuntu:xenial-20200212
The text was updated successfully, but these errors were encountered: