public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4249] New: ftrace -c /bin/true -- Exception in thread "Thread-1" java.lang.NullPointerException
@ 2007-03-21 22:45 cagney at redhat dot com
2007-05-04 20:02 ` [Bug general/4249] " swagiaal at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: cagney at redhat dot com @ 2007-03-21 22:45 UTC (permalink / raw)
To: frysk-bugzilla
$ ../bindir/ftrace -c /bin/true
Exception in thread "Thread-1" java.lang.NullPointerException
at frysk.util.Ftrace$1.update(ftrace)
at java.util.Observable.notifyObservers(libgcj.so.7)
at frysk.proc.Host$ObservableXXX.notify(ftrace)
at frysk.proc.Host.add(ftrace)
at frysk.proc.Proc.<init>(ftrace)
at frysk.proc.Proc.<init>(ftrace)
at frysk.proc.LinuxPtraceProc.<init>(ftrace)
at frysk.proc.LinuxPtraceHost$ProcChanges.update(ftrace)
at frysk.proc.LinuxPtraceHost$ProcChanges.update(ftrace)
at frysk.proc.LinuxPtraceHost$ProcChanges.update(ftrace)
at frysk.proc.LinuxPtraceHost$ProcChanges.update(ftrace)
at frysk.proc.LinuxPtraceHost.sendrecSelf(ftrace)
at frysk.proc.Host.getSelf(ftrace)
at frysk.proc.LinuxPtraceHost.sendCreateAttachedProc(ftrace)
at frysk.proc.LinuxPtraceHostState$1.handleCreateAttachedProc(ftrace)
at frysk.proc.Host$3.execute(ftrace)
at frysk.event.EventLoop.runEventLoop(ftrace)
at frysk.event.EventLoop.run(ftrace)
--
Summary: ftrace -c /bin/true -- Exception in thread "Thread-1"
java.lang.NullPointerException
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: cagney at redhat dot com
OtherBugsDependingO 2245
nThis:
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/4249] ftrace -c /bin/true -- Exception in thread "Thread-1" java.lang.NullPointerException
2007-03-21 22:45 [Bug general/4249] New: ftrace -c /bin/true -- Exception in thread "Thread-1" java.lang.NullPointerException cagney at redhat dot com
@ 2007-05-04 20:02 ` swagiaal at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: swagiaal at redhat dot com @ 2007-05-04 20:02 UTC (permalink / raw)
To: frysk-bugzilla
------- 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-04 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-21 22:45 [Bug general/4249] New: ftrace -c /bin/true -- Exception in thread "Thread-1" java.lang.NullPointerException cagney at redhat dot com
2007-05-04 20:02 ` [Bug general/4249] " swagiaal at redhat dot com
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).