JDK-6644945 : "InvalidStackFrameException: Thread has been resumed" failure on Linux
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 6u24,7,9
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,linux
  • CPU: generic
  • Submitted: 2007-12-21
  • Updated: 2023-12-14
  • Resolved: 2016-11-04
Related Reports
Relates :  
Description
#Test Results (version 2)
#Sat Dec 01 06:01:58 PST 2007
#checksum:204c8fcee2a4bd56
#-----testdescription-----
$file=/export/local/common/testbase/jtreg/JDI_REGRESSION/test/com/sun/jdi/PopAsynchronousTest.java
$root=/export/local/common/testbase/jtreg/JDI_REGRESSION/test
author=Robert Field
keywords=bug4467564
run=USER_SPECIFIED build TestScaffold VMConnection TargetListener TargetAdapter\nUSER_SPECIFIED compile -g PopAsynchronousTest.java\nUSER_SPECIFIED main PopAsynchronousTest\n
source=PopAsynchronousTest.java
title=Test the popping of frames in an asynchronous context (that is, when suspended by the debugger at random points)

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

#-----testresult-----
description=file:///export/local/common/testbase/jtreg/JDI_REGRESSION/test/com/sun/jdi/PopAsynchronousTest.java
end=Sat Dec 01 06:01:58 PST 2007
environment=regtest
execStatus=Error. Program `/export/local/common/jdk/baseline/linux-i586/bin/java' interrupted! (timed out?)
javatestOS=Linux 2.6.18-8.el5 (i386)
javatestVersion=3.2.2_02
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile build main
start=Sat Dec 01 05:59:42 PST 2007
test=com/sun/jdi/PopAsynchronousTest.java
work=/export/local/3785.JDK7.NIGHTLY.VM+linux-i586_server_comp_JDI_REGRESSION/results/com/sun/jdi

#section:script_messages
----------messages:(5/310)----------
JDK under test: (/export/local/common/jdk/baseline/linux-i586)
java version "1.7.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.7.0-ea-fastdebug-b23)
Java HotSpot(TM) Server VM (build 12.0-b01-2007-10-31-184349.dcubed.service_hs_b23_merge-1-fastdebug, mixed mode)
Timeout signalled after 120 seconds

#section:build
----------messages:(3/197)----------
command: build TestScaffold VMConnection TargetListener TargetAdapter
reason: User specified action: run build TestScaffold VMConnection TargetListener TargetAdapter 
elapsed time (seconds): 0.051
result: Passed. All files up to date

#section:compile
----------messages:(3/216)----------
command: compile -g /export/local/common/testbase/jtreg/JDI_REGRESSION/test/com/sun/jdi/PopAsynchronousTest.java
reason: User specified action: run compile -g PopAsynchronousTest.java 
elapsed time (seconds): 16.569
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:build
----------messages:(3/105)----------
command: build PopAsynchronousTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0010
result: Passed. All files up to date

#section:main
----------messages:(3/127)----------
command: main PopAsynchronousTest
reason: User specified action: run main PopAsynchronousTest 
elapsed time (seconds): 120.027
----------System.out:(6/303)----------
JVM version:1.7.0-ea-fastdebug
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.7.0-ea-fastdebug (Java HotSpot(TM) Client VM, mixed mode, sharing)
----------System.err:(7/436)----------
run args: [PopAsynchronousTarg]
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
	at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:80)
	at com.sun.tools.jdi.StackFrameImpl.location(StackFrameImpl.java:89)
	at PopAsynchronousTest$HarassThread.run(PopAsynchronousTest.java:117)
TEST FAILURE: exception com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Harassment complete, count = 0
result: Error. Program `/export/local/common/jdk/baseline/linux-i586/bin/java' interrupted! (timed out?)


test result: Error. Program `/export/local/common/jdk/baseline/linux-i586/bin/java' interrupted! (timed out?)
This failure has been seen once:

New JDI_REGRESSION failures (from 2007.11.30)
    com/sun/jdi/PopAsynchronousTest.java
        This test failed due to "InvalidStackFrameException: Thread has
        been resumed" on Linux IA32 Server VM (machine jtg-i118).

The only reason this failure is worth filing a bug for is that
PopAsynchronousTest.java has been great for finding bugs in the
past. In particular, suspend/resume bugs!

Comments
This is not on our list of current priorities. If this changes, please reopen this issue.
04-11-2016