Bug 4881 - disassemble the inaccessible memory address causes error
Summary: disassemble the inaccessible memory address causes error
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
Depends on:
Blocks: 4685
  Show dependency treegraph
Reported: 2007-08-02 09:26 UTC by Zhao Shujing
Modified: 2007-08-02 09:26 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
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: