Bug 4881

Summary: disassemble the inaccessible memory address causes error
Product: frysk Reporter: Zhao Shujing <pearly.zhao>
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: 4685    

Description Zhao Shujing 2007-08-02 09:26:49 UTC
$cat /proc/24749/maps
... ...
00400000-004b1000 r-xp 00000000 08:06 3989990                            /bin/bash
006b1000-006bb000 rw-p 000b1000 08:06 3989990                            /bin/bash
006bb000-006c0000 rw-p 006bb000 00:00 0 
008ba000-008c2000 rw-p 000ba000 08:06 3989990                            /bin/bash
008c2000-00904000 rw-p 008c2000 00:00 0                                  [heap]
3336600000-333661a000 r-xp 00000000 08:06 7489242                       
333681a000-333681b000 r--p 0001a000 08:06 7489242                       

The address from 0x33365ffff0 to 0x3336600000 are not accessible for process
24749. Disassemble this section of memory causes the following error:

(fhpd) disassemble 0x33365ffff0 0x3336600000
Dump of assembler code from 0x33365ffff0 to 0x3336600000:
ptrace: Input/output error (pt 0x2, pid 24749, addr 0x33365ffff0, data 0x0)
   at frysk.sys.Ptrace$AddressSpace.peek(fhpd)
   at frysk.proc.live.AddressSpaceByteBuffer$PeekRequest.execute(fhpd)
   at frysk.event.Request$Handler.execute(fhpd)
   at frysk.event.EventLoop.runEventLoop(fhpd)
   at frysk.event.EventLoop.run(fhpd)
Internal debugger error: