Bug 5314

Summary: break abort
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Tim Moore <timoore>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Andrew Cagney 2007-11-12 23:07:30 UTC
$ ./frysk-core/frysk/bindir/fhpd `pgrep fhpd`
Attached to process 29272
(fhpd) break abort
breakpoint 2breakpoint 0breakpoint 1
(fhpd) Exception in thread "Thread-1" ptrace: Input/output error (op 0x2 (PTRACE
_PEEKDATA), pid 29272, addr 0x0, data 0x0)
   at frysk.sys.Ptrace$AddressSpace.peek(fhpd)
   at frysk.proc.live.AddressSpaceByteBuffer$PeekRequest.request(fhpd)
   at frysk.proc.live.AddressSpaceByteBuffer.peek(fhpd)
   at inua.eio.ByteBuffer.getByte(fhpd)
   at frysk.proc.IA32InstructionParser.parse(fhpd)
   at frysk.proc.IsaIA32.getInstruction(fhpd)
   at frysk.proc.Breakpoint.set(fhpd)
   at frysk.proc.Breakpoint.install(fhpd)
   at frysk.proc.Proc$BreakpointAction.run(fhpd)
   at frysk.proc.TaskObservation.add(fhpd)
   at frysk.proc.live.LinuxTaskState$BlockedSignal.handleAddObservation(fhpd)
   at frysk.proc.Task.handleAddObservation(fhpd)
   at frysk.proc.TaskObservation.handleAdd(fhpd)
   at frysk.proc.live.LinuxProcState$3.handleAddObservation(fhpd)
   at frysk.proc.Proc.handleAddObservation(fhpd)
   at frysk.proc.Proc$12.execute(fhpd)
   at frysk.event.EventLoop.runEventLoop(fhpd)
   at frysk.event.EventLoop.run(fhpd)
Comment 1 Tim Moore 2008-01-14 09:26:59 UTC
Check against null values for breakpoints in revision
9feb25bcf5110af8f27e0125b6fa1bcc3fd10577