[Bug 210800] hung process using ktrace with cloudabi

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 8 20:10:27 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210800

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ed
Date: Fri Jul  8 20:09:22 UTC 2016
New revision: 302448
URL: https://svnweb.freebsd.org/changeset/base/302448

Log:
  Don't forget to set sa->narg for CloudABI system calls.

  It turns out that this value is not used within the system call code
  under normal conditions, except when using tracing tools like ktrace.
  If we forget to set this value, it is set to random garbage. This may
  cause ktrace to hang indefinitely, making it impossible to kill.

  Reported by: Michael Plass
  PR: 210800
  MFC before: 11.0-RELEASE

Changes:
  head/sys/amd64/cloudabi64/cloudabi64_sysvec.c
  head/sys/arm64/cloudabi64/cloudabi64_sysvec.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list