-
Bug
-
Resolution: Fixed
-
P3
-
hs14, hs16
-
b01
-
sparc
-
solaris
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2183192 | 7 | Tom Rodriguez | P3 | Closed | Fixed | b72 |
JDK-2189998 | 6u21 | Tom Rodriguez | P3 | Resolved | Fixed | b01 |
JDK-2182813 | 6u18 | Tom Rodriguez | P3 | Resolved | Fixed | b02 |
JDK-2182300 | hs16 | Tom Rodriguez | P3 | Closed | Fixed | b09 |
========= TesterSmall.java ===========
class TesterSmall_Class_0 {
static long var_1 = -1;
public TesterSmall_Class_0()
{
long var_2 = TesterSmall_Class_0.var_1 * 1;
var_2 &= (long)(new byte[(byte)1E10])[(byte)~var_2];
}
}
public class TesterSmall {
public static void main(String[] args)
{
try {
TesterSmall_Class_0 t = new TesterSmall_Class_0();
} catch (Throwable e) {
System.out.println("Got exception " + e);
}
}
}
======================================
crashes with SIGSEGV with latest hs14b10/jdk7b43 product jvm
JDK7b43/java -client -Xcomp -XX:CompileOnly=TesterSmall_Class_0 TesterSmall
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xfe97ebd8, pid=9059, tid=2
#
# JRE version: 7.0-b43
# Java VM: Java HotSpot(TM) Client VM (14.0-b10 compiled mode solaris-sparc )
# Problematic frame:
# V [libjvm.so+0x17ebd8]
and crashes with following assertion with fastdebug jvm
JDK7b43/java -client -Xcomp -XX:CompileOnly=TesterSmall_Class_0 TesterSmall
=============== DEBUG MESSAGE: assert(is an array klass) ================
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_sparc.cpp:1982
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/export2/BUILD_AREA/jdk7/hotspot/src/cpu/sparc/vm/assembler_sparc.cpp:1982), pid=13376, tid=2
# Error: assert(false,"error")
#
# JRE version: 7.0-b43
# Java VM: Java HotSpot(TM) Client VM (14.0-b10-fastdebug compiled mode solaris-sparc )
--------------- T H R E A D ---------------
Current thread (0x0003e000): JavaThread "main" [_thread_in_Java, id=2, stack(0xfd300000,0xfd380000)]
Stack: [0xfd300000,0xfd380000], sp=0xfd37f5c0, free space=509k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xe0837c]
V [libjvm.so+0x4b50e4]
V [libjvm.so+0x16b224]
v ~StubRoutines::stop_subroutine
v ~RuntimeStub::new_type_array Runtime1 stub
v ~RuntimeStub::new_type_array Runtime1 stub
j TesterSmall.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub
V [libjvm.so+0x640b1c]
V [libjvm.so+0x677214]
V [libjvm.so+0x69eab4]
C [libjli.so+0x24d4] JavaMain+0x2e8
The problem is not reproduced with server compiler and on other platforms.
- backported by
-
JDK-2182813 Crash in assembler_sparc.cpp with client compiler on solaris-sparc
-
- Resolved
-
-
JDK-2189998 Crash in assembler_sparc.cpp with client compiler on solaris-sparc
-
- Resolved
-
-
JDK-2182300 Crash in assembler_sparc.cpp with client compiler on solaris-sparc
-
- Closed
-
-
JDK-2183192 Crash in assembler_sparc.cpp with client compiler on solaris-sparc
-
- Closed
-
- duplicates
-
JDK-6875794 Client compiler crashes with "exception happened outside interpreter, nmethods and vtable stubs (1)"
-
- Closed
-
- relates to
-
JDK-6879943 CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029
-
- Closed
-
-
JDK-2182614 fix for 6795465 broke exception handler cloning
-
- Closed
-