public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4728] New: testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336
@ 2007-07-03 15:06 mark at klomp dot org
  2007-07-03 15:08 ` [Bug general/4728] " pmuldoon at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at klomp dot org @ 2007-07-03 15:06 UTC (permalink / raw)
  To: frysk-bugzilla

> Log message:
>       2007-07-02  Phil Muldoon  <pmuldoon@redhat.com>
>       
>       * LinuxTask.java (LinuxTask): Take FP Register data as a
>       parameter.
>       (sendrecRegisterBanks): Rewrite to either present a blank
>       page or actual register data.
>       * LinuxProc.java (sendRefresh):Account for two different
>       optimizations in floating point note data.
>       * TestLinuxCore.java (testLinuxCoreFileMaps) Remove runPending()
>       and requestRefresh calls.
>       (testLinuxCoreFileStackTrace): Ditto.
>       (testLinuxHostPopulation): Ditto.
>       (testLinuxProcPopulation): Ditto.
>       (testLinuxProcAuxV): Ditto.
>       (testLinuxTaskMemory): Ditto.
>       (testLinuxTaskPopulation): Ditto.

It looks like this introduced 2 failures on my setup (FC6 x86_64 SMP):

There were 2 errors:
1)
testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException:
336
   at inua.eio.ArrayByteBuffer.peek(TestRunner)
   at inua.eio.ByteBuffer.peek(TestRunner)
   at inua.eio.ByteBuffer.peekFully(TestRunner)
   at inua.eio.ByteBuffer.peekLittle(TestRunner)
   at inua.eio.ByteBuffer.peekLittle(TestRunner)
   at inua.eio.ByteOrdered$2.peekInt(TestRunner)
   at inua.eio.ByteBuffer.getInt(TestRunner)
   at lib.elf.ElfPrstatus.<init>(TestRunner)
   at lib.elf.ElfPrstatus.decode(TestRunner)
   at frysk.proc.dead.LinuxProc.sendRefresh(TestRunner)
   at frysk.proc.dead.LinuxHost.sendRefresh(TestRunner)
   at frysk.proc.dead.LinuxHost.<init>(TestRunner)
   at frysk.proc.dead.TestLinuxCore.testLinuxCoreFileMaps(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
2)
testLinuxCoreFileStackTrace(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException:
336
   at inua.eio.ArrayByteBuffer.peek(TestRunner)
   at inua.eio.ByteBuffer.peek(TestRunner)
   at inua.eio.ByteBuffer.peekFully(TestRunner)
   at inua.eio.ByteBuffer.peekLittle(TestRunner)
   at inua.eio.ByteBuffer.peekLittle(TestRunner)
   at inua.eio.ByteOrdered$2.peekInt(TestRunner)
   at inua.eio.ByteBuffer.getInt(TestRunner)
   at lib.elf.ElfPrstatus.<init>(TestRunner)
   at lib.elf.ElfPrstatus.decode(TestRunner)
   at frysk.proc.dead.LinuxProc.sendRefresh(TestRunner)
   at frysk.proc.dead.LinuxHost.sendRefresh(TestRunner)
   at frysk.proc.dead.LinuxHost.<init>(TestRunner)
   at frysk.proc.dead.TestLinuxCore.testLinuxCoreFileStackTrace(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

-- 
           Summary: testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java
                    .lang.ArrayIndexOutOfBoundsException: 336
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: mark at klomp dot org


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

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


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

* [Bug general/4728] testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336
  2007-07-03 15:06 [Bug general/4728] New: testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336 mark at klomp dot org
@ 2007-07-03 15:08 ` pmuldoon at redhat dot com
  2007-07-03 18:25 ` mark at klomp dot org
  2007-07-03 18:36 ` pmuldoon at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2007-07-03 15:08 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From pmuldoon at redhat dot com  2007-07-03 15:08 -------
Created an attachment (id=1912)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1912&action=view)
Patch to correct alignment

Can you test this patch, mark. Looks like I was aligning to a word size right
before a int read, and on x86_64 this would overflow the buffer

-- 


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

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


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

* [Bug general/4728] testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336
  2007-07-03 15:06 [Bug general/4728] New: testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336 mark at klomp dot org
  2007-07-03 15:08 ` [Bug general/4728] " pmuldoon at redhat dot com
@ 2007-07-03 18:25 ` mark at klomp dot org
  2007-07-03 18:36 ` pmuldoon at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2007-07-03 18:25 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  2007-07-03 18:25 -------
(In reply to comment #1)
> Created an attachment (id=1912)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1912&action=view)
> Patch to correct alignment
> 
> Can you test this patch, mark. Looks like I was aligning to a word size right
> before a int read, and on x86_64 this would overflow the buffer

Yes, removing those 4 lines make the 2 tests PASS again on my x86_64 setup.

-- 


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

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


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

* [Bug general/4728] testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336
  2007-07-03 15:06 [Bug general/4728] New: testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336 mark at klomp dot org
  2007-07-03 15:08 ` [Bug general/4728] " pmuldoon at redhat dot com
  2007-07-03 18:25 ` mark at klomp dot org
@ 2007-07-03 18:36 ` pmuldoon at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2007-07-03 18:36 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From pmuldoon at redhat dot com  2007-07-03 18:36 -------
2007-07-03  Phil Muldoon  <pmuldoon@redhat.com>

        * ElfPrstatus.java (ElfPrStatus): Remove alignment.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

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


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

end of thread, other threads:[~2007-07-03 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03 15:06 [Bug general/4728] New: testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore)java.lang.ArrayIndexOutOfBoundsException: 336 mark at klomp dot org
2007-07-03 15:08 ` [Bug general/4728] " pmuldoon at redhat dot com
2007-07-03 18:25 ` mark at klomp dot org
2007-07-03 18:36 ` pmuldoon 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).