Bug 4751 - testASMSingleStep(frysk.rt.TestStepping)java.lang.ArrayIndexOutOfBoundsException: 0 and execvp: Too many open files
Summary: testASMSingleStep(frysk.rt.TestStepping)java.lang.ArrayIndexOutOfBoundsExcept...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 4757 4758 4759
  Show dependency treegraph
 
Reported: 2007-07-09 09:19 UTC by Mark Wielaard
Modified: 2007-07-09 21:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2007-07-09 09:19:48 UTC
1)
testASMSingleStep(frysk.rt.TestStepping)java.lang.ArrayIndexOutOfBoundsException: 0
   at frysk.dwfl.DwflFactory.doDwfl(TestRunner)
   at frysk.dwfl.DwflFactory.createDwfl(TestRunner)
   at frysk.dwfl.DwflFactory.createDwfl(TestRunner)
   at frysk.stack.RemoteFrame.getLines(TestRunner)
   at frysk.rt.TestStepping.assertions(TestRunner)
   at frysk.rt.TestStepping$1.execute(TestRunner)
   at frysk.event.EventLoop.runEventLoop(TestRunner)
   at frysk.event.EventLoop.runPolling(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.rt.TestStepping.testASMSingleStep(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

Additionally after this failure lots of other tests are experiencing:
execvp: Too many open files
Comment 1 Mark Wielaard 2007-07-09 09:28:58 UTC
The above report is for 2.6.21-1.3228.fc7 x86 SMP

On 2.6.20-1.2962.fc6 x86_64 SMP the failure mode is different:

1) testASMSingleStep(frysk.rt.TestStepping)junit.framework.AssertionFailedError:
event loop run explictly stopped (Attempting to add attachedObserver)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.rt.TestStepping.testASMSingleStep(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

And no execvp errors afterwards.
Comment 2 Andrew Cagney 2007-07-09 16:13:53 UTC
2007-07-09  Andrew Cagney  <cagney@redhat.com>

        * TestDwflCache.java: New file.

        * DwflFactory.java (dwflMap, tsakMap): Delete.
        (createDwfl(Proc), createDwfl(Task)): Delete.
        (clearDwfl(Proc), clearDwfl(Task), clear): Delete.
        (createDwfl): Rename doDwfl.
        * DwflCache.java: New file.

        * DwflFactory.java: Re-indent.

Comment 3 Andrew Cagney 2007-07-09 20:48:12 UTC
I've broken this bug into separate and more specific problems.
Comment 4 Andrew Cagney 2007-07-09 21:10:29 UTC
bugzilla ate the blockers