public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "swagiaal at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/4249] ftrace -c /bin/true -- Exception in thread "Thread-1" java.lang.NullPointerException
Date: Fri, 04 May 2007 20:02:00 -0000	[thread overview]
Message-ID: <20070504200242.9026.qmail@sourceware.org> (raw)
In-Reply-To: <20070321224526.4249.cagney@redhat.com>


------- Additional Comments From swagiaal at redhat dot com  2007-05-04 21:02 -------
fixed with:


2007-05-04  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* TestFtrace.java: New file.
	
	2007-05-04  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* 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  <swagiaal@redhat.com>
	
	* 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  <swagiaal@redhat.com>
	
	* 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 <SYSCALL> brk (NULL) 21682.21682 = 158056448
21682.21682 <SYSCALL> mmap2 (NULL,4096,3,34,-1,-38) 21682.21682 = 0xb7f91000
21682.21682 <SYSCALL> access ("/etc/ld.so.preload",4) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/tls/i...",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib/tls/i...",0xbfa6e038) 21682.21682
= -1 ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/tls/i...",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib/tls/i...",0xbfa6e038) 21682.21682
= -1 ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/tls/s...",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib/tls/s...",0xbfa6e038) 21682.21682
= -1 ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/tls/l...",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib/tls",0xbfa6e038) 21682.21682 = -1
ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/i686/...",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib/i686/...",0xbfa6e038) 21682.21682
= -1 ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/i686/...",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib/i686",0xbfa6e038) 21682.21682 = -1
ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/sse2/...",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib/sse2",0xbfa6e038) 21682.21682 = -1
ERRNO=2
21682.21682 <SYSCALL> open ("/usr/local/lib/libc....",0,0) 21682.21682 = -1 ERRNO=2
21682.21682 <SYSCALL> stat64 ("/usr/local/lib",0xbfa6e038) 21682.21682 = 0
21682.21682 <SYSCALL> open ("/etc/ld.so.cache",0,0) 21682.21682 = 3
21682.21682 <SYSCALL> fstat64 (3,0xbfa6dfc4) 21682.21682 = 0
21682.21682 <SYSCALL> mmap2 (NULL,107146,1,2,3,-38) 21682.21682 = 0xb7f76000
21682.21682 <SYSCALL> close (3) 21682.21682 = 0
21682.21682 <SYSCALL> open ("/lib/libc.so.6",0,-1079582556) 21682.21682 = 3
21682.21682 <SYSCALL> read (3,0xbfa6e118,512) 21682.21682 = 512
21682.21682 <SYSCALL> fstat64 (3,0xbfa6e028) 21682.21682 = 0
21682.21682 <SYSCALL> mmap2 (0x491000,1295780,5,2050,3,-38) 21682.21682 = 0x491000
21682.21682 <SYSCALL> mmap2 (0x5c8000,12288,3,2066,3,-38) 21682.21682 = 0x5c8000
21682.21682 <SYSCALL> mmap2 (0x5cb000,9636,3,50,-1,-38) 21682.21682 = 0x5cb000
21682.21682 <SYSCALL> close (3) 21682.21682 = 0
21682.21682 <SYSCALL> mmap2 (NULL,4096,3,34,-1,-38) 21682.21682 = 0xb7f75000
21682.21682 <SYSCALL> set_thread_area (0xbfa6e510) 21682.21682 = 0
21682.21682 <SYSCALL> mprotect (0x5c8000,8192,1) 21682.21682 = 0
21682.21682 <SYSCALL> mprotect (0x48d000,4096,1) 21682.21682 = 0
21682.21682 <SYSCALL> munmap (0xb7f76000,107146) 21682.21682 = 0
21682.21682 <SYSCALL> brk (NULL) 21682.21682 = 158056448
21682.21682 <SYSCALL> brk (0x96dd000) 21682.21682 = 158191616
21682.21682 <SYSCALL> open ("/usr/lib/locale/loca...",32768,1) 21682.21682 = 3
21682.21682 <SYSCALL> fstat64 (3,0x5caaa0) 21682.21682 = 0
21682.21682 <SYSCALL> mmap2 (NULL,2097152,1,2,3,-38) 21682.21682 = 0xb7d75000
21682.21682 <SYSCALL> close (3) 21682.21682 = 0
21682.21682 <SYSCALL> close (1) 21682.21682 = 0
21682.21682 <SYSCALL> 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.


      reply	other threads:[~2007-05-04 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21 22:45 [Bug general/4249] New: " cagney at redhat dot com
2007-05-04 20:02 ` swagiaal at redhat dot com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070504200242.9026.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=frysk-bugzilla@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).