fatal error running MethodHandlesTest
Stephen Bannasch
stephen.bannasch at deanbrook.org
Mon Apr 18 15:35:12 PDT 2011
I'm getting a fatal error running MethodHandlesTest.java -- all the other jdk/test/java/lang/invoke test now pass.
The log generated: JTwork/scratch/hs_err_pid72957.log is here: https://gist.github.com/926394
$ jtreg -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic -jdk:build/bsd-amd64/j2sdk-image -verbose:all
jdk/test/java/lang/invoke/MethodHandlesTest.java
--------------------------------------------------
TEST: java/lang/invoke/MethodHandlesTest.java
JDK under test: (build/bsd-amd64/j2sdk-image)
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-stephen_2011_04_18_18_00-b00)
OpenJDK 64-Bit Server VM (build 21.0-b07, mixed mode)
ACTION: compile -- Passed. Compilation successful
REASON: User specified action: run compile -source 7 -target 7 MethodHandlesTest.java
TIME: 1.572 seconds
messages:
command: compile -source 7 -target 7 /Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java
reason: User specified action: run compile -source 7 -target 7 MethodHandlesTest.java
elapsed time (seconds): 1.572
STDOUT:
OpenJDK 64-Bit Server VM warning: Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag
STDERR:
Note: /Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java uses unchecked or unsafe
operations.
Note: Recompile with -Xlint:unchecked for details.
ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME: 1.489 seconds
messages:
command: build test.java.lang.invoke.MethodHandlesTest
reason: Named class compiled on demand
elapsed time (seconds): 1.489
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 1.488 seconds
messages:
command: compile /Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.488
STDOUT:
OpenJDK 64-Bit Server VM warning: Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag
STDERR:
Note: /Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java uses unchecked or unsafe
operations.
Note: Recompile with -Xlint:unchecked for details.
ACTION: junit -- Failed. Unexpected exit from test [exit code: 134]
REASON: User specified action: run junit/othervm test.java.lang.invoke.MethodHandlesTest
TIME: 26.22 seconds
messages:
command: junit test.java.lang.invoke.MethodHandlesTest
reason: User specified action: run junit/othervm test.java.lang.invoke.MethodHandlesTest
elapsed time (seconds): 26.22
STDOUT:
OpenJDK 64-Bit Server VM warning: Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000102814ed4, pid=72957, tid=4409290752
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (21.0-b07 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# j test.java.lang.invoke.ValueConversions.array(Ljava/lang/Object;)[Ljava/lang/Object;+1
#
# Core dump written. Default location: /Users/stephen/dev/java/src/mlvm/sources/JTwork/scratch/core or core.72957
#
# An error report file with more information is saved as:
# /Users/stephen/dev/java/src/mlvm/sources/JTwork/scratch/hs_err_pid72957.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
STDERR:
TEST RESULT: Failed. Unexpected exit from test [exit code: 134]
More information about the mlvm-dev
mailing list