$ ../bindir/ftrace -o /tmp/o ../../TestRunner Running testBadArguments(frysk.bindir.TestFcore) ...open (old controlling terminal): No such device or address PASS Running testBadConsoleParameter(frysk.bindir.TestFcore) ...open (old controlling terminal): No such device or address PASS ... Running testAbandonAndAbandon(frysk.proc.TestAbandon) ...PASS Running testHitAndRun(frysk.proc.TestBreakpoints) ...PASS Running testSteppingtestHitAndRun(frysk.proc.TestBreakpoints) ...Exception in thread "Thread-1" java.lang.RuntimeException: Negative syscall number: -1 at frysk.proc.Syscall.syscallByNum(ftrace) at frysk.proc.LinuxIa32Syscall.syscallByNum(ftrace) at frysk.proc.LinuxIa32$1.getSyscall(ftrace) at frysk.util.StracePrinter.handle(ftrace) at frysk.util.Ftrace$SyscallObserver.updateSyscallExit(ftrace) at frysk.proc.Task.notifySyscallExit(ftrace) at frysk.proc.LinuxPtraceTaskState$Running.handleSyscalledEvent(ftrace) at frysk.proc.Task.processSyscalledEvent(ftrace) at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld$5.syscallEvent(ftrace) at frysk.sys.Wait.waitAllNoHang(ftrace) at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld.execute(ftrace) at frysk.event.EventLoop.runEventLoop(ftrace) at frysk.event.EventLoop.run(ftrace)
This is related to the various syscall discussions in the past: - http://sources.redhat.com/ml/frysk/2006-q1/msg00091.html (About system call handling in Frysk) - http://sources.redhat.com/ml/frysk/2006-q3/msg00305.html (get syscall num in updateSyscallExit) - http://sourceware.org/ml/frysk/2006-q3/msg00510.html (System call number cached with help from SyscallObserver) - bug #3185 (ftrace printing deficiencies)