JDK-4678424 : Reg-test PopSynchronousTest.java Failing
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.4.1
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2002-05-02
  • Updated: 2002-05-30
  • Resolved: 2002-05-13
Related Reports
Duplicate :  
Description

Name: as83306			Date: 05/01/2002

Regression test com/sun/jdi/PopSynchronousTest.java fails with Hopper build 10 on SuSe Linux 7.1, 
host-seahund, desktop-KDE, JVM-32bit and hotspot-server.  
 For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Wed Apr 24 01:20:17 PDT 2002
#checksum:2f8bbcc434cf532e
#-----testdescription-----
$file=/export0/regression/jdk1.4.1Tests/b10/com/sun/jdi/PopSynchronousTest.java
$root=/export0/regression/jdk1.4.1Tests/b10
author=Robert Field
keywords=bug4467564
run=USER_SPECIFIED build TestScaffold VMConnection TargetListener TargetAdapter\nUSER_SPECIFIED compile -g 
PopSynchronousTest.java\nUSER_SPECIFIED main PopSynchronousTest\n
source=PopSynchronousTest.java
title=Test the popping of frames in synchronous context (that is, when stopped at an event)

#-----environment-----

#-----testresult-----
description=file:///export0/regression/jdk1.4.1Tests/b10/com/sun/jdi/PopSynchronousTest.java
end=Wed Apr 24 01:20:17 PDT 2002
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: com.sun.jdi.IncompatibleThreadStateException: Thread not current or 
suspended
javatestOS=Linux 2.2.18 (i386)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile build main
start=Wed Apr 24 01:20:10 PDT 2002
status=Failed. Execution failed: `main' threw exception: com.sun.jdi.IncompatibleThreadStateException: Thread not current or 
suspended
test=com/sun/jdi/PopSynchronousTest.java
work=/export0/results/regression/hopper/b10/seahund2.2.18-jthb10-jdk141b10.04-23.20.13-ALL/com/sun/jdi

#section:script_messages
----------messages:(4/202)----------
JDK under test: (/export0/java/jdk141b10)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b10)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b10, mixed mode)

#section:build
----------messages:(3/158)----------
command: build TargetAdapter 
reason: User specified action: run build TestScaffold VMConnection TargetListener TargetAdapter 
elapsed time (seconds): 0.0080
result: Passed. No need to compile: TargetAdapter.java

#section:compile
----------messages:(3/193)----------
command: compile /export0/regression/jdk1.4.1Tests/b10/com/sun/jdi/PopSynchronousTest.java 
reason: User specified action: run compile -g PopSynchronousTest.java 
elapsed time (seconds): 3.422
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:build
----------messages:(3/105)----------
command: build PopSynchronousTest 
reason: Named class compiled on demand
elapsed time (seconds): 0.0010
result: Passed. No need to compile: PopSynchronousTest.java

#section:main
----------messages:(3/123)----------
command: main PopSynchronousTest
reason: User specified action: run main PopSynchronousTest 
elapsed time (seconds): 4.277
----------System.out:(6/278)----------
JVM version:1.4.1-beta
JDI version: 1.4
JVM description: Java Debug Interface (Reference Implementation) version 1.4 
Java Debug Wire Protocol (Reference Implementation) version 1.4
JVM Debug Interface version 1.2
JVM version 1.4.1-beta (Java HotSpot(TM) Client VM, mixed mode)
----------System.err:(23/1295)----------
run args: [PopSynchronousTarg]
TEST pop from 'a' to 'a'
Current value: (<[@]>)
TEST pop from 'a' to 'b'
com.sun.jdi.IncompatibleThreadStateException: Thread not current or suspended
	at com.sun.tools.jdi.StackFrameImpl.pop(StackFrameImpl.java:318)
	at com.sun.tools.jdi.ThreadReferenceImpl.popFrames(ThreadReferenceImpl.java:450)
	at PopSynchronousTest.pop(PopSynchronousTest.java:193)
	at PopSynchronousTest.reenter(PopSynchronousTest.java:200)
	at PopSynchronousTest.runTests(PopSynchronousTest.java:229)
	at TestScaffold.startTests(TestScaffold.java:328)
	at PopSynchronousTest.main(PopSynchronousTest.java:90)
	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:324)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:536)

JavaTest Message: Test threw exception: com.sun.jdi.IncompatibleThreadStateException: Thread not current or suspended
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: com.sun.jdi.IncompatibleThreadStateException: Thread not current or suspended
result: Failed. Execution failed: `main' threw exception: com.sun.jdi.IncompatibleThreadStateException: Thread not current or 
suspended

test result: Failed. Execution failed: `main' threw exception: com.sun.jdi.IncompatibleThreadStateException: Thread not current or 
suspended
======================================================================

Comments
PUBLIC COMMENTS .
10-06-2004

EVALUATION ###@###.### 2002-05-02 Also fails on tmi.sfbay (RedHat 6.1) using build 1.4.1-beta-b10 com.sun.jdi.IncompatibleThreadStateException: Thread not current or suspended ###@###.### 2002-05-02 PopSynchronousTest.java passes on tmi.sfbay (RedHat 6.1), build 1.4.1-beta-b10, when run with "-XX:+UseForcedSuspension", as follows: /net/jano.sfbay/export/disk20/serviceability/bin/runregress.sh -jdk $JAVA_HOME -d "-XX:+UseForcedSuspension" PopSynchronousTest.java -------------------------------------------- revert to use forced suspension on threads running native code. This change is tracked as 4678415 ###@###.### 2002-05-13
13-05-2002