qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1696773] Re: golang calls to exec crash user emulation


From: Peter Maydell
Subject: [Qemu-devel] [Bug 1696773] Re: golang calls to exec crash user emulation
Date: Thu, 25 Jul 2019 13:23:04 -0000

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/address@hidden/


** 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]