// Ref: http://forum.java.sun.com/thread.jspa?threadID=584976
public class GoodbyeWorld {
public static double func1(){
double r = 0;
for (int i = 0; i < 1; i++)
r += func2();
return r;
}
public static double func2(){
double[] a = {0};
double r = 0;
for (int i = 0; i < 1; i++)
r = a[i];
return r;
}
public static void main(String[] argv) {
for (int i = 0; i < 1000; i++)
func1(); // System.out.println("i["+i+"]=" + func1());
}
}
The test case runs fine when using 1.4.2_05.
When run with 1.4.2_06 it crashes:
% java -client -showversion GoodbyeWorld
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
#
# Error ID: 43113F2652414D452D41503F491418160E435050005C
#
# Problematic Thread: prio=5 tid=0x0810a028 nid=0x9 runnable
#
Heap at VM Abort:
Heap
def new generation total 576K, used 136K [0xd2000000, 0xd20a0000, 0xd24e0000)
eden space 512K, 26% used [0xd2000000, 0xd2022030, 0xd2080000)
from space 64K, 0% used [0xd2080000, 0xd2080000, 0xd2090000)
to space 64K, 0% used [0xd2090000, 0xd2090000, 0xd20a0000)
tenured generation total 1408K, used 0K [0xd24e0000, 0xd2640000, 0xd6000000)
the space 1408K, 0% used [0xd24e0000, 0xd24e0000, 0xd24e0200, 0xd2640000)
compacting perm gen total 4096K, used 965K [0xd6000000, 0xd6400000, 0xda000000)
the space 4096K, 23% used [0xd6000000, 0xd60f1570, 0xd60f1600, 0xd6400000)
Abort (core dumped)
###@###.### 2005-1-07 19:48:03 GMT
public class GoodbyeWorld {
public static double func1(){
double r = 0;
for (int i = 0; i < 1; i++)
r += func2();
return r;
}
public static double func2(){
double[] a = {0};
double r = 0;
for (int i = 0; i < 1; i++)
r = a[i];
return r;
}
public static void main(String[] argv) {
for (int i = 0; i < 1000; i++)
func1(); // System.out.println("i["+i+"]=" + func1());
}
}
The test case runs fine when using 1.4.2_05.
When run with 1.4.2_06 it crashes:
% java -client -showversion GoodbyeWorld
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
#
# Error ID: 43113F2652414D452D41503F491418160E435050005C
#
# Problematic Thread: prio=5 tid=0x0810a028 nid=0x9 runnable
#
Heap at VM Abort:
Heap
def new generation total 576K, used 136K [0xd2000000, 0xd20a0000, 0xd24e0000)
eden space 512K, 26% used [0xd2000000, 0xd2022030, 0xd2080000)
from space 64K, 0% used [0xd2080000, 0xd2080000, 0xd2090000)
to space 64K, 0% used [0xd2090000, 0xd2090000, 0xd20a0000)
tenured generation total 1408K, used 0K [0xd24e0000, 0xd2640000, 0xd6000000)
the space 1408K, 0% used [0xd24e0000, 0xd24e0000, 0xd24e0200, 0xd2640000)
compacting perm gen total 4096K, used 965K [0xd6000000, 0xd6400000, 0xda000000)
the space 4096K, 23% used [0xd6000000, 0xd60f1570, 0xd60f1600, 0xd6400000)
Abort (core dumped)
###@###.### 2005-1-07 19:48:03 GMT
- duplicates
-
JDK-6239336 JVM internal error/EXCEPTION_ACCESS_VIOLATION, possibly memory related?
-
- Closed
-
- relates to
-
JDK-5009717 Internal Error (43113F2652414D452D41503F491418160E435050005C)
-
- Resolved
-
-
JDK-6232217 Regression: test for failing for 1.4.2_08 b02 but passes for 1.4.2_08 b01 on Cinnebar
-
- Closed
-
-
JDK-4917709 SEGV in MapLoops test
-
- Resolved
-
-
JDK-6231558 JVM outputs exceptions or crash with a program using Big interger in 1.4.2_08b2
-
- Closed
-