Bug 3167

Summary: ftrace goes into an infinite loop if you try ftrace strace ftrace
Product: frysk Reporter: Eugene Teo <eteo>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2245    

Description Eugene Teo 2006-09-02 03:51:57 UTC
In frysk - as built from CVS head on 20060630 - ftrace goes into an infinite
loop if you do the following:

[eteo@kerndev ~]$ ftrace strace ftrace
ftrace.main() Proc.getPid() 14376
ftrace.main() Proc.getPid() /usr/bin/strace
14376.14376 <SYSCALL> brk (NULL) = 142213120
14376.14376 <SYSCALL> access ("/etc/ld.so.preload",4) = -1 ERRNO=2
14376.14376 <SYSCALL> open ("/etc/ld.so.cache",0,0) = 3
14376.14376 <SYSCALL> fstat64 (3,0xbf91b7cc) = 0
14376.14376 <SYSCALL> mmap (NULL,78638,1,2,3,-38) = 0xb7fcc000
14376.14376 <SYSCALL> close (3) = 0
14376.14376 <SYSCALL> open ("/lib/libc.so.6",0,78638) = 3
14376.14376 <SYSCALL> read (3,0xbf91b928,512) = 512
...
Comment 1 Sami Wagiaalla 2007-09-18 19:21:37 UTC
Cannot reproduce with current frysk HEAD.