Bug 4648 - Trying to read from start_thread () frame gives ptrace errors
Summary: Trying to read from start_thread () frame gives ptrace errors
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2007-06-15 12:33 UTC by Mike Cvet
Modified: 2007-08-01 19:48 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
gcc -g -O0 -o tester2 -lpthread tester2.c (506 bytes, application/octet-stream)
2007-06-15 12:34 UTC, Mike Cvet
Details

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