Bug 6045

Summary: <<$ ferror -- /bin/ls foo >> gives NPE
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Sami Wagiaalla <swagiaal>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 5861    

Description Andrew Cagney 2008-04-07 18:14:22 UTC
Downstream: https://bugzilla.redhat.com/show_bug.cgi?id=436245

$ ferror -- /bin/ls fake
Tracing 2477.2477
/bin/ls: Exception in thread "main" java.lang.NullPointerException
   at frysk.bindir.ferror$1.updateSyscallEnter(ferror)
   at frysk.proc.live.LinuxPtraceTask.notifySyscallEnter(ferror)
   at frysk.proc.live.LinuxPtraceTaskState$Running.handleSyscalledEvent(ferror)
   at frysk.proc.live.LinuxPtraceTask.processSyscalledEvent(ferror)
   at frysk.proc.live.LinuxWaitBuilder.syscallEvent(ferror)
   at frysk.sys.Wait.wait(ferror)
   at frysk.sys.Wait.wait(ferror)
   at frysk.event.WaitEventLoop.block(ferror)
   at frysk.event.EventLoop.runEventLoop(ferror)
   at frysk.event.EventLoop.run(ferror)
   at frysk.util.ProcRunUtil.start(ferror)
   at frysk.util.ProcFollowUtil.start(ferror)
   at frysk.bindir.ferror.main(ferror)
cannot access fake: No such file or directory