On this x86 FC5 box, 'ftrace' will randomly fail: opsy. ./frysk/bindir/ftrace ../Closer ftrace.main() Proc.getPid() 1388 ftrace.main() Proc.getPid() /home/tromey/gnu/frysk/build/Closer Exception in thread "Thread-1" java.lang.NullPointerException at frysk.proc.Register.get(ftrace) at frysk.proc.LinuxIa32$1.number(ftrace) at frysk.proc.Task.notifySyscallEnter(ftrace) at frysk.proc.TaskState$SyscallRunning.handleSyscalledEvent(ftrace) at frysk.proc.Task.processSyscalledEvent(ftrace) at frysk.proc.LinuxHost$PollWaitOnSigChld$2.syscallEvent(ftrace) at frysk.sys.Wait.waitAllNoHang(ftrace) at frysk.proc.LinuxHost$PollWaitOnSigChld.execute(ftrace) at frysk.event.EventLoop.runEventLoop(ftrace) at frysk.event.EventLoop.run(ftrace)
Hi, Tom , I could not reproduce this problem on my desktop. Could you post your test case "Close" here? Thanks!
It is very simple: #include <stdio.h> #include <unistd.h> int main() { close(72); close(73); close(74); } Note that the problem is hard to reproduce. I can't do it reliably... I'd say it fails only once in every 20 runs.
I cannot reproduce this. please reopen it if the crash turns up again.