Bug 5839

Summary: terminating process causes panic
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 5829    

Description Andrew Cagney 2008-03-03 21:08:48 UTC
For instance:

(fhpd) go
Running process 8818
(fhpd) Task 8818 is terminating from signal SIGSEGV(11)
Exception in thread "main" lib.dwfl.ElfFileException: open: Permission denied
(file /proc/8818/exe) (errno 13)
   at lib.dwfl.Elf.getDescriptor(fhpd)
   at lib.dwfl.Elf.<init>(fhpd)
   at frysk.proc.live.IsaFactory.getIsa(fhpd)
   at frysk.proc.live.LinuxPtraceTask.getIsaFIXME(fhpd)
   at frysk.proc.live.LinuxPtraceTask.sendStepInstruction(fhpd)
   at frysk.proc.live.LinuxPtraceTaskState$Running.sendContinue(fhpd)
   at frysk.proc.live.LinuxPtraceTaskState$Running.handleTerminatingEvent(fhpd)
   at frysk.proc.live.LinuxPtraceTask.processTerminatingEvent(fhpd)
   at frysk.proc.live.LinuxWaitBuilder.exitEvent(fhpd)
   at frysk.sys.Wait.wait(fhpd)
   at frysk.sys.Wait.wait(fhpd)
   at frysk.event.WaitEventLoop.block(fhpd)
   at frysk.event.EventLoop.runEventLoop(fhpd)
   at frysk.event.EventLoop.run(fhpd)
   at frysk.bindir.fhpd.main(fhpd)
Caused by: frysk.sys.Errno: open: Permission denied (file /proc/8818/exe) (errno 13)
   at frysk.sys.FileDescriptor.open(fhpd)
   at frysk.sys.FileDescriptor.<init>(fhpd)
   at lib.dwfl.Elf.getDescriptor(fhpd)
   ...14 more
$