JDK-4417528 : HS1.4.0: crashed or hunged up by test nsk/jdi/ReferenceType/classObject/classobj
  • Type: Bug
  • Component: vm-legacy
  • Sub-Component: jvmdi
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2001-02-21
  • Updated: 2001-10-31
  • Resolved: 2001-10-31
Related Reports
Relates :  
Description

Name: elR10090			Date: 02/21/2001



Java HotSpot VM (build 1.4.0-beta-b52) crashes or hungs up while running test

    nsk/jdi/ReferenceType/classObject/classobj002 

under all platforms: Solaris Sparc, Solaris Intel, Linux and Windows.

This test launches debugee that tries to unload class using a sort of
stress algorithm. First it creates class loader and loads class. 
Then it clears all references to class loader and to loaded class
and allocates memory blocks to enforce garbage collector to unload 
class loader and loaded class. 

During memory allocation Hotspot VM hungs up or crashes and prints 
the following error message:

debugee.out> #
debugee.out> # HotSpot Virtual Machine Error, Internal Error
debugee.out> # Please report this error at
debugee.out> # http://java.sun.com/cgi-bin/bugreport.cgi
debugee.out> #
debugee.out> # Error happened during: generation collection for allocation
debugee.out> #
debugee.out> # Error ID: 53414645504F494E540E4350500124 01
debugee.out> #
debugee.out> # Problematic Thread: prio=5 tid=0x964b0 nid=0x4 runnable 
debugee.out> #
 
If the test is executed against ladybird (build 1.3.1-beta-b16) it also hangs up
or crashes with another Error ID, described in bug #4397763. 

It should be noted that this failure occurs after finalization of class loader
has been performed. In the case when references to the class loader are not lost 
before memory allocation, this failure does not occur.

The test 'classobj002' may be found under the testbase_nsk/src 
directory. The testbase_nsk testbase location is:
    
    /net/sqesvr.eng/export/vsn/VM/merlin/testbase/testbase_nsk
        
The test full name is:

    nsk/jdi/ReferenceType/classObject/classobj002 

To reproduce the failure please use 'doit.sh' script found 
in the directory:
        
    /net/sqesvr.eng/export/vsn/GammaBase/Bugs/<this bug number>
            
Use:
    sh doit.ksh $JAVA_HOME

======================================================================

Comments
EVALUATION Not Reproducible. Please close this bug.
11-06-2004