Bug 4252 - Exception in thread "Thread-1" java.lang.RuntimeException: Negative syscall number: -1
Summary: Exception in thread "Thread-1" java.lang.RuntimeException: Negative syscall n...
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1524 2245
  Show dependency treegraph
 
Reported: 2007-03-21 22:59 UTC by Andrew Cagney
Modified: 2007-03-22 10:09 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2007-03-21 22:59:04 UTC
$ ../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)
Comment 1 Mark Wielaard 2007-03-22 10:08:46 UTC
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)