Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 12:28:05 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        rwatson@FreeBSD.org, freebsd-bugs@FreeBSD.org, rwatson@FreeBSD.org
Subject:   Re: kern/94278: Crash with FIFOs and ktrace
Message-ID:  <200603141228.k2ECS5Io063107@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

Synopsis: Crash with FIFOs and ktrace

Responsible-Changed-From-To: freebsd-bugs->rwatson
Responsible-Changed-By: rwatson
Responsible-Changed-When: Tue Mar 14 12:26:08 UTC 2006
Responsible-Changed-Why: 

Grab ownership, since I've also been looking at this.  David, feel free to
grab it if you'd prefer.

My reading was that actually, the fifo code is at fault for not checking
if the fdidx argument to vop_open() is -1, which implies there isn't a
file descriptor in use, and that fifos there fore can't hook up to it.
This error path may require some tweaking -- I tried having Kris add a
patch along these lines, and he reported problems that I haven't yet
investigated.

Being able to feed ktrace data to a fifo is a useful thing, but will be
difficult to re-add in the world of vnode bypass, something we might want
to add a todo item for sometime.


http://www.freebsd.org/cgi/query-pr.cgi?pr=94278



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603141228.k2ECS5Io063107>