|
Description
|
Sunone Appserver 7 fails to start with latest hotspot debug/fastdebug binaries
I tried the latest two putbacks from archive pages:
----
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b12)
Java HotSpot(TM) Server VM (build 20030115110541.steved.main_baseline-product, mixed mode)
----
Both crash at the same location:typeArrayOop.hpp:44
Log:
[16/Jan/2003:12:05:23] INFO ( 6086): WEB0100: Loading web module [adminapp:adminapp.war] in virtual server [admin-server] at [/web1]
[16/Jan/2003:12:05:25] INFO ( 6086): WEB0100: Loading web module [admingui:adminGUI.war] in virtual server [admin-server] at [/admin]
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # To suppress the following error report, specify this argument
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # after -XX: or in .hotspotrc: SuppressErrorAt=/typeArrayOop.hpp:44
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: #
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # HotSpot Virtual Machine Error, assertion failure
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # Please report this error at
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # http://java.sun.com/cgi-bin/bugreport.cgi
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: #
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # Java VM: Java HotSpot(TM) Server VM (20030114131733.jmasa.main_baseline_4802112-fastdebug-debug
mixed mode)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: #
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # assert(is_within_bounds(which), "index out of bounds")
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: #
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # Error ID: /export/imgr_home/ws/20030114131733.jmasa.main_baseline_4802112/src/share/vm/oops/typ
eArrayOop.hpp, 44 [ Patched ]
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: #
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: # Problematic Thread: prio=5 tid=0x0020bbe8 nid=0x1 runnable
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: #
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: Heap at VM Abort:
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: Heap
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: def new generation total 2112K, used 500K [0xeb800000, 0xeba20000, 0xee2a0000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: eden space 2048K, 21% used [0xeb800000, 0xeb86d0d8, 0xeba00000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: from space 64K, 100% used [0xeba00000, 0xeba10000, 0xeba10000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: to space 64K, 0% used [0xeba10000, 0xeba10000, 0xeba20000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: tenured generation total 4104K, used 3771K [0xee2a0000, 0xee6a2000, 0xf3800000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: the space 4104K, 91% used [0xee2a0000, 0xee64efc8, 0xee64f000, 0xee6a2000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: compacting perm gen total 16384K, used 11999K [0xf3800000, 0xf4800000, 0xf7800000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: the space 16384K, 73% used [0xf3800000, 0xf43b7ed8, 0xf43b8000, 0xf4800000)
[16/Jan/2003:12:05:32] WARNING ( 6086): CORE3283: stderr: Dumping core....
|
|
Evaluation
|
xxxxx@xxxxx 2003-01-22
I am changing the subcategory to runtime_system since Madhava
confirms that this assertion also fails with -client. I've asked
Madhava to generate core files when he encounters this assertion
failure so that we can investigate the stack trace. In addition,
I've asked him to run the appserver using -XX:SupressErrorAt=/typeArrayOop.hpp:44
to look for later assertion failures.
----- -----
xxxxx@xxxxx 2003-02-06
Commiting this for tiger. Since fastdebug binaries are not shipped,
this does not meet mantis beta/fcs criteria.
The problem (from the comments) is that the JNI Get<Type>ArrayElements
methods fail (in non-product debug builds) when the array length is zero.
----- -----
xxxxx@xxxxx 2003-02-06
There is a plan to ship fastdebug binaries in mantis. Since this assertion
failure occurs early in execution of a major product it should be fixed.
In addition, the fix would be a low-risk.
----- -----
-----------------------------------------------------------------
xxxxx@xxxxx 2003-02-07
Attached simple test case.
Fixed.
-----------------------------------------------------------------
|