Bug 4648

Summary: Trying to read from start_thread () frame gives ptrace errors
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633    
Attachments: gcc -g -O0 -o tester2 -lpthread tester2.c

Description Mike Cvet 2007-06-15 12:33:36 UTC
I will attach a test program in a minute to demonstrate - on x86_64, loading 
this program into the source window, and then attempting to read information 
from the start_thread frame (which shows up as the second [unknown] frame in 
the second thread) reliably prints out ptrace errors each time the frame is 
clicked, resulting in no information in the window.

ptrace: Input/output error (pt 0x2, pid 11167, addr 0x555555998540, data 0x0)
   at frysk.sys.Ptrace$AddressSpace.peek(FryskGui)
   at frysk.proc.ptrace.AddressSpaceByteBuffer$PeekRequest.execute(FryskGui)
   at frysk.event.Request$Handler.execute(FryskGui)
   at frysk.event.EventLoop.runEventLoop(FryskGui)
   at frysk.event.EventLoop.run(FryskGui)
   at frysk.gui.Gui$4.run(FryskGui)
   at java.lang.Thread.run(libgcj.so.7rh)
Comment 1 Mike Cvet 2007-06-15 12:34:22 UTC
Created attachment 1891 [details]
gcc -g -O0 -o tester2 -lpthread tester2.c
Comment 2 Mike Cvet 2007-06-15 13:47:42 UTC
I should mention this is FC6
Comment 3 Rick Moseley 2007-08-01 19:48:43 UTC
Fixed.