bin/131369: truss -f fails to attach to child processes
Diomidis Spinellis
dds at FreeBSD.org
Wed Feb 4 09:10:02 PST 2009
>Number: 131369
>Category: bin
>Synopsis: truss -f fails to attach to child processes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 04 17:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Diomidis Spinellis
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
AUEB
>Environment:
System: FreeBSD icarian.dmst.aueb.gr 8.0-CURRENT FreeBSD 8.0-CURRENT #4 r188112M: Wed Feb 4 10:58:38 EET 2009 dds at icarian.dmst.aueb.gr:/usr/obj/usr/home/dds/src/fbsd-svn/base/head/sys/ICARIAN i386
>Description:
The truss(1) command provides a -f flag to trace child processes of
the process being traced. This doesn't work: the child process isn't
traced and a child of truss(1) is left spinning in the background.
If the command is short-lived, then no child truss is left behind,
and truss reports:
truss: can not attach to target process: No such process
>How-To-Repeat:
truss -f sh -c 'jot 100000 >foo'
truss -f sh -c /bin/echo hi
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list