public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4947] New: testASMFramelessFunctionReturn(frysk.stepping.TestStepping)ptrace: Input/output error (pt 0x2, pid 15327, addr 0x1524c, data 0x0)
@ 2007-08-22  2:00 cagney at redhat dot com
  2007-08-22  2:48 ` [Bug general/4947] " cagney at redhat dot com
  2007-08-22 13:40 ` cagney at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2007-08-22  2:00 UTC (permalink / raw)
  To: frysk-bugzilla

On fc5, i386:

testASMFramelessFunctionReturn(frysk.stepping.TestStepping)ptrace: Input/output
error (pt 0x2, pid 15327, addr 0x1524c, data 0x0)
   at frysk.sys.Ptrace$AddressSpace.peek(TestRunner)
   at frysk.proc.live.AddressSpaceByteBuffer$PeeksRequest.peek(TestRunner)
   at frysk.proc.live.AddressSpaceByteBuffer$PeeksRequest.request(TestRunner)
   at frysk.proc.live.AddressSpaceByteBuffer.peek(TestRunner)
   at frysk.proc.live.LogicalMemoryBuffer.peek(TestRunner)
   at inua.eio.ByteBuffer.peekFully(TestRunner)
   at inua.eio.ByteBuffer.get(TestRunner)
   at frysk.stack.UnwindAddressSpace.accessMem(TestRunner)
   at lib.unwind.UnwindX86.isSignalFrame(TestRunner)
   at lib.unwind.Cursor.isSignalFrame(TestRunner)
   at frysk.stack.RemoteFrame.getAdjustedAddress(TestRunner)
   at frysk.stack.FrameDecorator.getAdjustedAddress(TestRunner)
   at frysk.debuginfo.DebugInfoFrame.getInlinedSubprograms(TestRunner)
   at
frysk.debuginfo.DebugInfoStackFactory.createVirtualDebugInfoStackTrace(TestRunner)
   at frysk.debuginfo.DebugInfoStackFactory.createDebugInfoStackTrace(TestRunner)
   at frysk.stepping.TestStepping.testASMFramelessFunctionReturn(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

(in fact, all the assembler stepping tests).  I traced it back to this change:

2007-08-21  Sami Wagiaalla  <swagiaal@redhat.com>

        * TestFrameDebugInfo.java (testFrameDebugInfoStackTrace): New passes number
        of frames to printStackTrace.
        * DebugInfoStackFactory.java (printStackTrace): Now takes a number frames
        arguement.

-- 
           Summary: testASMFramelessFunctionReturn(frysk.stepping.TestSteppi
                    ng)ptrace: Input/output error (pt 0x2, pid 15327, addr
                    0x1524c, data 0x0)
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com
                CC: mcvet at redhat dot com,swagiaal at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4947

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/4947] testASMFramelessFunctionReturn(frysk.stepping.TestStepping)ptrace: Input/output error (pt 0x2, pid 15327, addr 0x1524c, data 0x0)
  2007-08-22  2:00 [Bug general/4947] New: testASMFramelessFunctionReturn(frysk.stepping.TestStepping)ptrace: Input/output error (pt 0x2, pid 15327, addr 0x1524c, data 0x0) cagney at redhat dot com
@ 2007-08-22  2:48 ` cagney at redhat dot com
  2007-08-22 13:40 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2007-08-22  2:48 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2007-08-22 02:48 -------
Work-around for now:

Index: frysk-core/frysk/bindir/ChangeLog
2007-08-21  Andrew Cagney  <cagney@redhat.com>

	* TestFhd.java (testFhpdVirtualStackTrace): Move to
	frysk.hpd.TestStackCommands.

Index: frysk-core/frysk/debuginfo/ChangeLog
2007-08-21  Andrew Cagney  <cagney@redhat.com>

	* DebugInfoStackFactory.java: Revert enabling of virtual stack
	backtraces by default for now.  Bug 4947.

Index: frysk-core/frysk/hpd/ChangeLog
2007-08-21  Andrew Cagney  <cagney@redhat.com>

	* TestStackCommands.java (testFhpdVirtualStackTrace): Moved to
	here from frysk.bindir.TestFhd.  Disable for now.  Bug 4947.

Index: frysk-core/frysk/testbed/ChangeLog
2007-08-21  Andrew Cagney  <cagney@redhat.com>

	* CoreFileAtSignal.java (constructCore(File)): New.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4947

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/4947] testASMFramelessFunctionReturn(frysk.stepping.TestStepping)ptrace: Input/output error (pt 0x2, pid 15327, addr 0x1524c, data 0x0)
  2007-08-22  2:00 [Bug general/4947] New: testASMFramelessFunctionReturn(frysk.stepping.TestStepping)ptrace: Input/output error (pt 0x2, pid 15327, addr 0x1524c, data 0x0) cagney at redhat dot com
  2007-08-22  2:48 ` [Bug general/4947] " cagney at redhat dot com
@ 2007-08-22 13:40 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2007-08-22 13:40 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2007-08-22 13:40 -------
This more selectively enables the virtual stack backtrace
(createNonVirtualDebugInfoStackTrace gets confusing as a name), and lets the new
work continue.  It should probably be enabled in a few more places (but not the
stepping engine tests).

The underlying problem (or the real bug), looking at the stack backtrace is
likely either in libunwind or its binding.  The question <<is this a signal
frame>> shouldn't result in an exception.

Index: frysk-core/frysk/debuginfo/ChangeLog
2007-08-22  Andrew Cagney  <cagney@redhat.com>

	* DebugInfoStackFactory.java (createDebugInfoStackTrace)
	(createVirtualStackTrace): Rename
	createVirtualDebugInfoStackTrace.
	* TestFrameDebugInfo.java: Update.

Index: frysk-core/frysk/hpd/ChangeLog
2007-08-22  Andrew Cagney  <cagney@redhat.com>

	* CLI.java: Use DebugInfoStackFactory.createVirtualStackTrace.
	* CoreCommand.java: Ditto.
	* TestStackCommands.java (testFhpdVirtualStackTrace): Remove
	unresolved 4947.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4947

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-22 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-22  2:00 [Bug general/4947] New: testASMFramelessFunctionReturn(frysk.stepping.TestStepping)ptrace: Input/output error (pt 0x2, pid 15327, addr 0x1524c, data 0x0) cagney at redhat dot com
2007-08-22  2:48 ` [Bug general/4947] " cagney at redhat dot com
2007-08-22 13:40 ` cagney at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).