truss

Mikolaj Golub trociny at freebsd.org
Mon Sep 19 12:58:07 UTC 2011


On Mon, 19 Sep 2011 12:13:56 +0000 (UTC) Anton Yuzhaninov wrote to Mikolaj Golub:

 AY> On Sun, 18 Sep 2011 16:46:01 +0300, Mikolaj Golub wrote:
 MG>> Could you please run ktrace with -i option? The behavior is like if
 MG>> ptrace(PT_TRACE_ME) failed in the child by some reason. Unfortunately, truss
 MG>> does not check this.

 AY> ktrace -i for truss sleep 5
 AY> http://dl.dropbox.com/u/8798217/tmp/truss_ktrace2.txt

Although ptrace(PT_TRACE_ME,0,0,0) returned 0 the process did not stop after
execve() and wait4() in parent (which was actually waiting for this stop)
returned only after the child exit. No I idea why so far :-).

-- 
Mikolaj Golub


More information about the freebsd-current mailing list