-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
x86, sparc
-
linux, solaris_7, solaris_8
Name: elR10090 Date: 08/14/2001
Merlin-b75 crashes on UNIX'es (both Solaris'es & Linux)
while trying to profile a trivial HelloWorld.java program
with Jcov. Namely, VM looks crashed while calling the
function JVM_IsSupportedJNIVersion()
This failure could not reproduce against earlier Merlin
binaries, because Jcov failed to start due to the known
JVMPI bug fixed just in b75:
4430109 HS1.4.0: JCOV error: "cannot enable JVMPI event : JVMPI_EVENT_INSTRUCTION_START"
Following is the crash log on Solaris/SPARC; similar crash
is observed on Solaris/x86 and on Linux/RedHat 6.2 (but the
test passes on Windows 2000):
>>> cat HelloWorld.java
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello world!");
}
}
>>> setenv JAVA_HOME /export/ld24/java/hotspot/jdk1.4/solsparc
>>> $JAVA_HOME/bin/java -version
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b75)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b75, mixed mode)
>>> $JAVA_HOME/bin/javac -Xjcov HelloWorld.java
>>> $JAVA_HOME/bin/java HelloWorld
Hello world!
>>> $JAVA_HOME/bin/java -XX:+EnableJVMPIInstructionStartEvent -Xrunjcov HelloWorld
Unexpected Signal : 11 occurred at PC=0xFE550710
Function=JVM_IsSupportedJNIVersion+0x30B30
Library=/export/ld54/java/dest/jdk1.4.0beta-b75/solsparc/jre/lib/sparc/client/libjvm.so
Current Java thread:
Dynamic libraries:
0x10000 /export/ld24/java/hotspot/jdk1.4/solsparc/bin/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-b75/solsparc/jre/lib/sparc/client/libjvm.so
0xff210000 /usr/lib/libCrun.so.1
0xff1f0000 /usr/lib/libsocket.so.1
0xff100000 /usr/lib/libnsl.so.1
0xff1c0000 /opt/SUNWspro/lib/libm.so.1
0xff240000 /usr/lib/libw.so.1
0xff0d0000 /usr/lib/libmp.so.2
0xff0a0000 /export/ld54/java/dest/jdk1.4.0beta-b75/solsparc/jre/lib/sparc/native_threads/libhpi.so
0xff070000 /export/ld54/java/dest/jdk1.4.0beta-b75/solsparc/jre/lib/sparc/libverify.so
0xff030000 /export/ld54/java/dest/jdk1.4.0beta-b75/solsparc/jre/lib/sparc/libjava.so
0xfe7e0000 /export/ld54/java/dest/jdk1.4.0beta-b75/solsparc/jre/lib/sparc/libzip.so
0xfe1e0000 /usr/lib/locale/ru.koi8-r/ru.koi8-r.so.2
0xfe1b0000 /export/ld54/java/dest/jdk1.4.0beta-b75/solsparc/jre/lib/sparc/libjcov.so
Local Time = Tue Aug 14 12:20:34 2001
Elapsed Time = 5
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002D7 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta_refresh-b75 mixed mode)
#
# An error report file has been saved as hs_err_pid6816.log.
# Please refer to the file for further information.
#
Abort
This bug affects the following testbase_nsk tests:
nsk/jvmpi/Jcov/jcov001
nsk/jvmpi/Jcov/jcov002
nsk/jvmpi/Jcov/jcov003
nsk/jvmpi/Jcov/jcov004
nsk/jvmpi/Jcov/jcov005
nsk/jvmpi/Jcov/jcov006
nsk/jvmpi/Jcov/jcov007
nsk/jvmpi/Jcov/jcov008
nsk/jvmpi/Jcov/jcov009
nsk/jvmpi/Jcov/jcov010
nsk/jvmpi/Jcov/jcov011
nsk/jvmpi/Jcov/jcov012
nsk/jvmpi/Jcov/jcov013
nsk/jvmpi/Jcov/jcov014
nsk/jvmpi/Jcov/jcov015
nsk/jvmpi/Jcov/jcov016
nsk/jvmpi/Jcov/jcov017
nsk/jvmpi/Jcov/jcov018
nsk/jvmpi/Jcov/jcov019
nsk/jvmpi/Jcov/jcov020
nsk/jvmpi/Jcov/jcov021
======================================================================
- duplicates
-
JDK-4492473 Seg fault in CodeEmitInfo::add_registers_to_oop_map() with NULL _local_mapping
-
- Closed
-
- relates to
-
CODETOOLS-7900362 HS1.4.0: JCOV error: "cannot enable JVMPI event : JVMPI_EVENT_INSTRUCTION_START"
-
- Closed
-