JDK-4463818 : Stress test jck12a012 crashes or hangs HotSpot VM
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0,5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris
  • CPU: generic
  • Submitted: 2001-05-29
  • Updated: 2012-10-01
  • Resolved: 2002-02-21
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.
Other
1.4.1 hopperFixed
Related Reports
Relates :  
Relates :  
Description
 	D:\WINNT\System32\IMM32.dll
0x77A50000 - 0x77B45000 	D:\WINNT\system32\ole32.dll
0x6D1B0000 - 0x6D1FF000 	E:\hs_run\jdk1.4b65\jre\bin\fontmanager.dll
0x6D350000 - 0x6D357000 	E:\hs_run\jdk1.4b65\jre\bin\nio.dll
0x75030000 - 0x75044000 	D:\WINNT\System32\WS2_32.dll
0x75020000 - 0x75028000 	D:\WINNT\System32\WS2HELP.DLL
0x6D340000 - 0x6D34E000 	E:\hs_run\jdk1.4b65\jre\bin\net.dll
0x75050000 - 0x75058000 	D:\WINNT\System32\WSOCK32.dll
0x77840000 - 0x7784C000 	D:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 	D:\WINNT\System32\DNSAPI.DLL
0x777E0000 - 0x777E8000 	D:\WINNT\System32\winrnr.dll
0x77950000 - 0x77979000 	D:\WINNT\system32\WLDAP32.DLL
0x72800000 - 0x72846000 	D:\WINNT\System32\DDRAW.dll
0x728A0000 - 0x728A6000 	D:\WINNT\System32\DCIMAN32.dll
0x10000000 - 0x10023000 	D:\WINNT\System32\anvglnt.dll
0x09730000 - 0x0976A000 	D:\WINNT\System32\anvioctl.dll
0x09B80000 - 0x09C14000 	D:\WINNT\A5355s._0a
0x09D30000 - 0x09E7E000 	D:\WINNT\System32\anvglnt.lrc
0x6E420000 - 0x6E426000 	D:\WINNT\System32\INDICDLL.dll
0x6D160000 - 0x6D182000 	E:\hs_run\jdk1.4b65\jre\bin\dcpr.dll
0x77920000 - 0x77942000 	D:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 	D:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 	D:\WINNT\System32\PSAPI.DLL

Local Time = Sat May 26 11:21:13 2001
Elapsed Time = 454
#
# HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002D7
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 compiled mode)
#
# An error report file has been saved as hs_err_pid2720.log.
# Please refer to the file for further information.
#

server VM on Windows in -Xcomp mode
===================================

#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error happened during: generation collection for allocation
#
# Error ID: 434F444523414348450E43505000C6
#
# Problematic Thread: prio=5 tid=0x00A3D490 nid=0x1f14 runnable 
#

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


Name: elR10090			Date: 05/29/2001



Java Hotspot VM (build 1.4.0-beta-b65) is crashed of hunged by 
testbase_nsk stress test:

    nsk/stress/jck12a/jck12a012
 
This failure is observed intermittently on all platforms for
different VM modes.

This stress test executes large bunch of JCK 1.2a tests simultaneously,
each in its own thread. Success or failure of each JCK test execution 
is ingnored by the stress test. If VM does not crash, test passes forever.

This stress test can execute JCK tests simultaneously or consequtively.
When tests are executed consequtively, they may pass or fail, but VM is 
never observed to be crashed or hanged. When JCK tests are executed 
simultaneously, one of JCK tests crashes VM or VM is hanged. Which one 
of JCK tests affects this and what is particular crash depend on VM mode 
and platform the test is executed on. Most of crashes are related to 
native methods of sun.awt.font.NativeFontWrapper.

This test belongs to testbase_nsk located here:

    /net/sqesvr.eng/export/vsn/VM/testbase/testbase_nsk.v14

To reproduce the failure run 'doit.sh' scripts from here:

    /net/sqesvr.eng/export/vsn/GammaBase/Bugs/<this bug number>

Use:
    sh doit1.sh $JDK12a $JAVA_HOME <VM options>  - for simultatneous 
execution
    sh doit2.sh $JDK12a $JAVA_HOME <VM options>  - for consequtive execution
    
Where:
    $JCK12a      - points to JCK-1.2a
    $JAVA_HOME   - points to JDK-1.4 (b65) for particular platform
    <VM options> - VM mode options such as -d64, -server, -Xmixed, etc.

Make sure, that DISPLAY variable is set properly in your environment,
because this variable is used by some JCK tests.

Script 'doit1.sh' executes test in a simultaneous mode in an infinite loop, 
until VM crashes. Script 'doit2.sh' executes test only once on the assumtion 
that in a consequtive mode test passes forever. Be partient while test 
execution, 
because each execution takes several minutes.

Following is sample crash diagnosctics for particular VM crashes on different 
platforms: 

client VM on Solaris/sparc in -Xmixed mode
==========================================

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xFF27060C
Function=memcpy+0x1C
Library=/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1

Current Java thread:
	at sun.awt.font.NativeFontWrapper.initializeFont(Native Method)
	at java.awt.Font.initializeFont(Font.java:282)
	at java.awt.Font.<init>(Font.java:310)
	at 
sun.java2d.SunGraphicsEnvironment.getAllFonts(SunGraphicsEnvironment.java:247
)
	at sun.awt.font.FontResolver.<init>(FontResolver.java:55)
	at sun.awt.font.FontResolver.getInstance(FontResolver.java:179)
	at java.awt.font.TextLayout.singleFont(TextLayout.java:418)
	at java.awt.font.TextLayout.<init>(TextLayout.java:384)
	at 
javasoft.sqe.tests.api.java.awt.java2d.font.TextLayout.ConstructorTest.testCa
se2(ConstructorTest.java:131)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
	at 
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.
java:48)
	at java.lang.reflect.Method.invoke(Method.java:306)
	at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:137)
	at 
javasoft.sqe.stresstest.StressTest$TestThread.run(StressTest.java:829)

Dynamic libraries:
0x10000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../bin/sparc
/native_threads/java
0xff360000 	/usr/lib/libthread.so.1
0xff3a0000 	/usr/lib/libdl.so.1
0xff280000 	/usr/lib/libc.so.1
0xff270000 	/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
0xfe400000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/hotspot/libjvm
.so
0xff210000 	/usr/lib/libCrun.so.1
0xff1f0000 	/usr/lib/libsocket.so.1
0xff100000 	/usr/lib/libnsl.so.1
0xff0d0000 	/usr/lib/libm.so.1
0xff240000 	/usr/lib/libw.so.1
0xff0b0000 	/usr/lib/libmp.so.2
0xff080000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/native_threads
/libhpi.so
0xff050000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libverify.so
0xfe7c0000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libjava.so
0xff030000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libzip.so
0xfca10000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libnio.so
0xfc960000 	/usr/lib/libposix4.so.1
0xfc930000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../jre/lib/s
parc/libnet.so
0xfc910000 	/usr/lib/libaio.so.1
0xfa480000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libawt.so
0xf3f80000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../jre/lib/s
parc/libmlib_image.so
0xfc810000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/motif21/libmaw
t.so
0xf3d00000 	/usr/dt/lib/libXm.so.4
0xfa410000 	/usr/openwin/lib/libXt.so.4
0xfa7d0000 	/usr/openwin/lib/libXext.so.0
0xfa7a0000 	/usr/openwin/lib/libXtst.so.1
0xf3c00000 	/usr/openwin/lib/libX11.so.4
0xfa6a0000 	/usr/openwin/lib/libdps.so.5
0xfa5e0000 	/usr/openwin/lib/libSM.so.6
0xfa5b0000 	/usr/openwin/lib/libICE.so.6
0xf3b00000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libfontmanager
.so
0xf43e0000 	/usr/lib//liblayout.so
0xf42d0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../jre/lib/s
parc/libsunwjdga.so
0xf42a0000 	/usr/openwin/lib/libdga.so.1
0xf3f30000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libdcpr.so
0xf2d80000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../jre/lib/s
parc/libmlib_image_v.so

Local Time = Sat May 26 01:47:12 2001
Elapsed Time = 56
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 mixed mode)
#
# An error report file has been saved as hs_err_pid4385.log.
# Please refer to the file for further information.
#

client VM on Solaris/sparc in -Xcomp mode
=========================================

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xF3B0FAB4
Function=Java_sun_awt_font_NativeFontWrapper_getFontMetrics+0x30C
Library=/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libfon
tmanager.so

Current Java thread:
	at sun.awt.font.NativeFontWrapper.getFamilyName(Native Method)
	at java.awt.Font.getFamily(Font.java:516)
	at java.awt.Font.getFamily_NoClientCode(Font.java:492)
	at java.awt.Font.getFamily(Font.java:484)
	at java.awt.Font.toString(Font.java:900)
	at java.lang.String.valueOf(String.java:2039)
	at java.lang.StringBuffer.append(StringBuffer.java:372)
	- locked <f4aa9ed0> (a java.lang.StringBuffer)
	at 
javasoft.sqe.tests.api.java.awt.Font.FieldsTests.Font2008(FieldsTests.java:69
)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
	at 
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.
java:48)
	at java.lang.reflect.Method.invoke(Method.java:306)
	at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:137)
	at 
javasoft.sqe.stresstest.StressTest$TestThread.run(StressTest.java:829)

Dynamic libraries:
0x10000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../bin/sparc
/native_threads/java
0xff360000 	/usr/lib/libthread.so.1
0xff3a0000 	/usr/lib/libdl.so.1
0xff280000 	/usr/lib/libc.so.1
0xff270000 	/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
0xfe400000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/hotspot/libjvm
.so
0xff210000 	/usr/lib/libCrun.so.1
0xff1f0000 	/usr/lib/libsocket.so.1
0xff100000 	/usr/lib/libnsl.so.1
0xff0d0000 	/usr/lib/libm.so.1
0xff240000 	/usr/lib/libw.so.1
0xff0b0000 	/usr/lib/libmp.so.2
0xff080000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/native_threads
/libhpi.so
0xff050000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libverify.so
0xfe7c0000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libjava.so
0xff030000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libzip.so
0xfc960000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libnio.so
0xfc940000 	/usr/lib/libposix4.so.1
0xfc910000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../jre/lib/s
parc/libnet.so
0xfc860000 	/usr/lib/libaio.so.1
0xfa480000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libawt.so
0xf3f80000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solsparc/bin/../jre/lib/s
parc/libmlib_image.so
0xfa790000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/motif21/libmaw
t.so
0xf3d00000 	/usr/dt/lib/libXm.so.4
0xfa410000 	/usr/openwin/lib/libXt.so.4
0xfc830000 	/usr/openwin/lib/libXext.so.0
0xfa6e0000 	/usr/openwin/lib/libXtst.so.1
0xf3c00000 	/usr/openwin/lib/libX11.so.4
0xfa5a0000 	/usr/openwin/lib/libdps.so.5
0xfa6c0000 	/usr/openwin/lib/libSM.so.6
0xfa690000 	/usr/openwin/lib/libICE.so.6
0xf3b00000 	
/export/ld54/java/dest/jdk1.4.0beta-b65/solsparc/jre/lib/sparc/libfontmanager
.so
0xf43d0000 	/usr/lib//liblayout.so

Local Time = Sat May 19 23:21:45 2001
Elapsed Time = 66
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 compiled mode)
#
# An error report file has been saved as hs_err_pid14484.log.
# Please refer to the file for further information.
#


server VM on Solaris/x86 in -Xcomp mode
=======================================

Unexpected Signal : 11 occurred at PC=0xDED1161E
Function=+0x26E
Library=/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i3
86/server/libjvm.so

Dynamic libraries:
0x8050000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/bin/../bin/i386/na
tive_threads/java
0xdfb80000 	/usr/lib/libthread.so.1
0xdfbc0000 	/usr/lib/libdl.so.1
0xdfac0000 	/usr/lib/libc.so.1
0xdec90000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/serve
r/libjvm.so
0xdfa60000 	/usr/lib/libCrun.so.1
0xdfa40000 	/usr/lib/libsocket.so.1
0xdf990000 	/usr/lib/libnsl.so.1
0xdf970000 	/usr/lib/libm.so.1
0xdfa80000 	/usr/lib/libw.so.1
0xdf940000 	/usr/lib/libmp.so.2
0xdf910000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/nativ
e_threads/libhpi.so
0xdf8d0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/libve
rify.so
0xdf8a0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/libja
va.so
0xdf870000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/libzi
p.so
0xdb0d0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/libni
o.so
0xdb0b0000 	/usr/lib/libposix4.so.1
0xdb080000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/bin/../jre/lib/i38
6/libnet.so
0xdb060000 	/usr/lib/libaio.so.1
0xd29a0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/libaw
t.so
0xd2930000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/bin/../jre/lib/i38
6/libmlib_image.so
0xd28d0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/motif
21/libmawt.so
0xd2710000 	/usr/dt/lib/libXm.so.4
0xd26b0000 	/usr/openwin/lib/libXt.so.4
0xdb010000 	/usr/openwin/lib/libXext.so.0
0xd2690000 	/usr/openwin/lib/libXtst.so.1
0xd2610000 	/usr/openwin/lib/libX11.so.4
0xd25c0000 	/usr/openwin/lib/libdps.so.5
0xd2590000 	/usr/openwin/lib/libSM.so.6
0xd2570000 	/usr/openwin/lib/libICE.so.6
0xd2540000 	/usr/openwin/lib/libdga.so.1
0xd24b0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/libfo
ntmanager.so
0xd2420000 	/usr/lib//liblayout.so
0xd22a0000 	
/net/novo172/export/home/java/dest/jdk1.4.0beta-b65/solx86/jre/lib/i386/libdc
pr.so

Local Time = Sun May 20 05:33:12 2001
Elapsed Time = 1013
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002D7
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.0-beta-b65 compiled mode)
#
# An error report file has been saved as hs_err_pid2001.log.
# Please refer to the file for further information.
#


client VM on Windows in -Xcomp mode
===================================

Java HotSpot(TM) Client VM warning: GenCollectedHeap::mem_allocate_work 
retries 42 times
Java HotSpot(TM) Client VM warning: GenCollectedHeap::mem_allocate_work 
retries 42 times
<...>
Java HotSpot(TM) Client VM warning: GenCollectedHeap::mem_allocate_work 
retries 42 times

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D433471
Function=JVM_DisableCompiler+0x11A65
Library=E:\hs_run\jdk1.4b65\jre\bin\hotspot\jvm.dll

Current Java thread:
	at sun.awt.font.NativeFontWrapper.getGlyphInfo(Native Method)
	at 
sun.awt.font.StandardGlyphVector.getGlyphInfo(StandardGlyphVector.java:1045)
	at 
sun.awt.font.ExtendedTextSourceLabel.createCharinfo(ExtendedTextSourceLabel.j
ava:492)
	at 
sun.awt.font.ExtendedTextSourceLabel.getCharinfo(ExtendedTextSourceLabel.java
:420)
	at 
sun.awt.font.ExtendedTextSourceLabel.caretAtOffsetIsValid(ExtendedTextSourceL
abel.java:415)
	at java.awt.font.TextLine.caretAtOffsetIsValid(TextLine.java:410)
	at java.awt.font.TextLayout.caretIsValid(TextLayout.java:1254)
	at java.awt.font.TextLayout.getNextLeftHit(TextLayout.java:1360)
	at java.awt.font.TextLayout.getNextLeftHit(TextLayout.java:1392)
	at 
javasoft.sqe.tests.api.java.awt.java2d.font.TextLayout.GetCaretTest.testCase1
4(GetCaretTest.java:730)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
	at 
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.
java:48)
	at java.lang.reflect.Method.invoke(Method.java:306)
	at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:137)
	at 
javasoft.sqe.stresstest.StressTest$TestThread.run(StressTest.java:829)

Dynamic libraries:
0x00400000 - 0x00405000 	E:\hs_run\jdk1.4b65\bin\java.exe
0x77F80000 - 0x77FF9000 	D:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0A000 	D:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F36000 	D:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DAF000 	D:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000 	D:\WINNT\system32\MSVCRT.dll
0x6D400000 - 0x6D503000 	E:\hs_run\jdk1.4b65\jre\bin\hotspot\jvm.dll
0x77E10000 - 0x77E75000 	D:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 	D:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000 	D:\WINNT\System32\WINMM.dll
0x6D200000 - 0x6D207000 	E:\hs_run\jdk1.4b65\jre\bin\hpi.dll
0x6D3D0000 - 0x6D3DD000 	E:\hs_run\jdk1.4b65\jre\bin\verify.dll
0x6D240000 - 0x6D255000 	E:\hs_run\jdk1.4b65\jre\bin\java.dll
0x6D3F0000 - 0x6D3FD000 	E:\hs_run\jdk1.4b65\jre\bin\zip.dll
0x6D010000 - 0x6D0FB000 	E:\hs_run\jdk1.4b65\jre\bin\awt.dll
0x77800000 - 0x7781D000 	D:\WINNT\System32\WINSPOOL.DRV
0x75E60000 - 0x75E7A000

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper FIXED IN: hopper INTEGRATED IN: hopper
14-06-2004

EVALUATION Gary.Collins@east suggested assigning this to AWT because of the recent problems with GlobalWeakReferences found in AWT and 2D code. I looked at the list of tests being run here: net/sqesvr.eng/export/vsn/VM/testbase/testbase_nsk.v14/src/nsk/stress/jck12a/jck12a012 and it appears that there is a mixture of AWT and 2D tests. Since the crashes in the Description seem to be in the 2D font tests, I will reassign to 2D for further investigation. eric.hawkes@eng 2001-05-29 ============================== I was able to re-produce this easily on merlin b65 and merlin b82. I managed to get one good debugging stack trace which clearly showed that a JNI call to create a new float array was returning NULL. The only plausible reason for this is that Java heap had reached its maximum even after a GC. This heap exhaustion happens a lot in this stress test. which in other cases reportsa java.lang.OutOfMemoryError and carries on. But when it occurs at this particular site the crash happens because the native code uses the returned array object without checking for a null return value. Adding that check cured the problem. I did still see crashes but they happen much less quickly and are in completely different VM GC code and not apparently related at all to this bug. A VM/GC bug 4511812 is filed on it. But you can't reach that bug though without fixing this font code bug first. ###@###.### 2001-10-07 ============================ Name: elR10090 Date: 04/21/2003 The crash looks intermittantly reproducible against Tiger-b04. ======================================================================
11-06-2004

SUGGESTED FIX ------- GlyphVector.cpp ------- 1350c1350,1352 < fEnv->SetFloatArrayRegion(result, 0, resultlen, bufp); --- > if (result != NULL) { > fEnv->SetFloatArrayRegion(result, 0, resultlen, bufp); > }
11-06-2004