JDK-6904025 : TEST_BUG com/sun/jdi/ResumeOneThreadTest.java fails
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 6u17
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2009-11-23
  • Updated: 2012-08-06
  • Resolved: 2011-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u17Resolved
Related Reports
Duplicate :  
Description
Testsuite name: regression
Test:  com/sun/jdi/ResumeOneThreadTest.java
JDK/JRE tested: 6u17b07 (test also fails on previous updates u16, u15, u14 )
OS/architecture: amd64 - solaris10
Reproducible: Always
Reproducible on machine: stt-41.russia

Is it a platform specific regression: N

Is it a Regression: N

Test run log location:

stt-41.russia:/export/JQA/regression/cleanup/cur/work/com/sun/jdi/ResumeOneThreadTest.jtr

------------------------------------------------
----------System.out:(9/354)----------
JVM version:1.6.0_17-rev
JDI version: 1.6
JVM description: Java Debug Interface (Reference Implementation) version 1.6 
Java Debug Wire Protocol (Reference Implementation) version 1.6
JVM Debug Interface version 1.1
JVM version 1.6.0_17-rev (Java HotSpot(TM) Server VM, mixed mode, sharing)
    Debuggee: Howdy!
    Debuggee: bkpt 2
    Debuggee: bkpt 1
----------System.err:(30/1695)----------
run args: [ResumeOneThreadTarg]
-- Got bkpt at: ResumeOneThreadTarg:45
-- Got bkpt at: ResumeOneThreadTarg:55
-- All threads suspended
-- t1sf0 args: ["Hello Alviso!"]
-- Did Resume on thread 2
FAILED: Could not get frames for thread 1: Exception: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
FAILED Got InvalidStackFrameException
FAILED: Exception occured in eventHandler: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.getArgumentValues(StackFrameImpl.java:304)
        at ResumeOneThreadTest.eventSetComplete(ResumeOneThreadTest.java:153)
        at TestScaffold$EventHandler.run(TestScaffold.java:261)
        at java.lang.Thread.run(Thread.java:619)
java.lang.Exception: ResumeOneThreadTest: failed
        at ResumeOneThreadTest.runTests(ResumeOneThreadTest.java:207)
        at TestScaffold.startTests(TestScaffold.java:406)
        at ResumeOneThreadTest.main(ResumeOneThreadTest.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
        at java.lang.Thread.run(Thread.java:619)

JavaTest Message: Test threw exception: java.lang.Exception: ResumeOneThreadTest: failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception: ResumeOneThreadTest: failed
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: ResumeOneThreadTest: failed


test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: ResumeOneThreadTest: failed

------------------------------------------------

Steps to reproduce: 

[stt-robot@stt-41]$ pwd
/export/JQA/regression/cleanup
[stt-robot@stt-41]$ ksh /net/vice/export/home0/regression/run/run.ksh -c /export/jdk/jdk1.6.0_17b07_j4b/ -p /export/jdk/jdk1.6.0_17b07_j4b/ -s true -n -b 64  -rc cur -rd pre --REG_JDK_UPDATE 1.6.0_17 -w /net/vice/export/home0/regression/workspaces/1.6.0/1.6.0_17b07_j4b/j2se -m list -nl list