Bug 3167 - ftrace goes into an infinite loop if you try ftrace strace ftrace
Summary: ftrace goes into an infinite loop if you try ftrace strace ftrace
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2245
  Show dependency treegraph
 
Reported: 2006-09-02 03:51 UTC by Eugene Teo
Modified: 2007-09-18 19:21 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.