Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jul 2016 20:10:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 210800] hung process using ktrace with cloudabi
Message-ID:  <bug-210800-6-Sff95k5QUw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210800-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210800-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210800

--- Comment #4 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210800-6-Sff95k5QUw>