The 'qemucrash' test case problem seems to be because we were incorrectly implementing 'sigaltstack' as setting a process-wide signal stack. This is incorrect, as sigaltstack stacks are supposed to be per- thread, and the Go runtime relies on this. I've just sent a patch which seems to me to fix the qemucrash test case, at least:
https://patchew.org/QEMU/20190725131645.19501-1-peter.mayd...@linaro.org/ ** Changed in: qemu Status: Confirmed => Won't Fix ** Changed in: qemu Status: Won't Fix => In Progress -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1696773 Title: golang calls to exec crash user emulation Status in QEMU: In Progress Bug description: An example program can be found here: https://github.com/willnewton/qemucrash This code starts a goroutine (thread) and calls exec repeatedly. This works ok natively but when run under ARM user emulation it segfaults (usually, there are occasionally other failures). To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1696773/+subscriptions