From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9124 invoked by alias); 4 May 2007 20:02:59 -0000 Received: (qmail 9027 invoked by uid 48); 4 May 2007 20:02:42 -0000 Date: Fri, 04 May 2007 20:02:00 -0000 Message-ID: <20070504200242.9026.qmail@sourceware.org> From: "swagiaal at redhat dot com" To: frysk-bugzilla@sourceware.org In-Reply-To: <20070321224526.4249.cagney@redhat.com> References: <20070321224526.4249.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4249] ftrace -c /bin/true -- Exception in thread "Thread-1" java.lang.NullPointerException X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00194.txt.bz2 List-Id: ------- Additional Comments From swagiaal at redhat dot com 2007-05-04 21:02 ------- fixed with: 2007-05-04 Sami Wagiaalla * TestFtrace.java: New file. 2007-05-04 Sami Wagiaalla * TestTaskSyscallObserver.java: Added a syscall cache. Replaced SyscallEventInfo.arg() with Syscall.getArguments(). Replaced SyscallEventInfo.returnCode() with Syscall.getReturnCode(). * SyscallEventInfo.java (arg): Removed. (returnCode): Removed. * Syscall.java: Changed all calls to SyscallEventInfo.args() to this.getArgument(). Changed all calls to SyscallEventInfo.returnCode() to this.getReturnCode(). * LinuxIa32Syscall.java: Changed second argument of write system call to a string. * LinuxX8664Syscall.java: Ditto. * LinuxPowerPCSyscall.java: Ditto. 2007-05-04 Sami Wagiaalla * StracePrinter.java: Removed SyscallEventInfo argument. Removed when argument. Split the handle function into handleEnter and handleExit. * SyscallHandler.java: Ditto. * Ftrace.java: Added forkObserver for properly following forked children. Stoped use of Refresh for finding forked children. Added procObserver to newly added Procs. Added tasksObserver to procs executed by ftrace; fix for bz 2916. 2007-05-04 Sami Wagiaalla * observers/SysCallUtilyInfo.java: Replaced use of SyscallEventInfo.arg() with Syscall.getArgument(). Replaced use of SyscallEventInfo.returnCode() with Syscall.getReturnCode(). [swagiaal@toner frysk-core]$ ftrace -c /bin/true Ftrace.main() Proc.getPid() 21682 Ftrace.main() Proc.getExe() /bin/true 21682.21682 brk (NULL) 21682.21682 = 158056448 21682.21682 mmap2 (NULL,4096,3,34,-1,-38) 21682.21682 = 0xb7f91000 21682.21682 access ("/etc/ld.so.preload",4) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/tls/i...",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib/tls/i...",0xbfa6e038) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/tls/i...",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib/tls/i...",0xbfa6e038) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/tls/s...",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib/tls/s...",0xbfa6e038) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/tls/l...",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib/tls",0xbfa6e038) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/i686/...",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib/i686/...",0xbfa6e038) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/i686/...",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib/i686",0xbfa6e038) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/sse2/...",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib/sse2",0xbfa6e038) 21682.21682 = -1 ERRNO=2 21682.21682 open ("/usr/local/lib/libc....",0,0) 21682.21682 = -1 ERRNO=2 21682.21682 stat64 ("/usr/local/lib",0xbfa6e038) 21682.21682 = 0 21682.21682 open ("/etc/ld.so.cache",0,0) 21682.21682 = 3 21682.21682 fstat64 (3,0xbfa6dfc4) 21682.21682 = 0 21682.21682 mmap2 (NULL,107146,1,2,3,-38) 21682.21682 = 0xb7f76000 21682.21682 close (3) 21682.21682 = 0 21682.21682 open ("/lib/libc.so.6",0,-1079582556) 21682.21682 = 3 21682.21682 read (3,0xbfa6e118,512) 21682.21682 = 512 21682.21682 fstat64 (3,0xbfa6e028) 21682.21682 = 0 21682.21682 mmap2 (0x491000,1295780,5,2050,3,-38) 21682.21682 = 0x491000 21682.21682 mmap2 (0x5c8000,12288,3,2066,3,-38) 21682.21682 = 0x5c8000 21682.21682 mmap2 (0x5cb000,9636,3,50,-1,-38) 21682.21682 = 0x5cb000 21682.21682 close (3) 21682.21682 = 0 21682.21682 mmap2 (NULL,4096,3,34,-1,-38) 21682.21682 = 0xb7f75000 21682.21682 set_thread_area (0xbfa6e510) 21682.21682 = 0 21682.21682 mprotect (0x5c8000,8192,1) 21682.21682 = 0 21682.21682 mprotect (0x48d000,4096,1) 21682.21682 = 0 21682.21682 munmap (0xb7f76000,107146) 21682.21682 = 0 21682.21682 brk (NULL) 21682.21682 = 158056448 21682.21682 brk (0x96dd000) 21682.21682 = 158191616 21682.21682 open ("/usr/lib/locale/loca...",32768,1) 21682.21682 = 3 21682.21682 fstat64 (3,0x5caaa0) 21682.21682 = 0 21682.21682 mmap2 (NULL,2097152,1,2,3,-38) 21682.21682 = 0xb7d75000 21682.21682 close (3) 21682.21682 = 0 21682.21682 close (1) 21682.21682 = 0 21682.21682 exit_group (0) -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=4249 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.