JetBrains / jdk8u

GNU General Public License v2.0
122 stars 35 forks source link

Fatal error when using fastdebug jvm #14

Open Boreas-y opened 6 years ago

Boreas-y commented 6 years ago

I built a fastdebug version jvm on macOS 10.13.6 with source code and the following command

export MACOSX_DEPLOYMENT_TARGET=10.13
bash configure --with-xcode-path=/Applications/Xcode.app --with-freetype=/opt/X11 --with-freetype-include=/usr/X11/include/freetype2 --enable-debug --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/
make COMPILER_WARNINGS_FATAL=false all

running java with this jvm will cause a fatal error

openjdk version "1.8.0-internal-fastdebug"
OpenJDK Runtime Environment (build 1.8.0-internal-fastdebug-boreas_2018_09_03_10_26-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00-fastdebug, mixed mode)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x000000010fb60d6b, pid=59101, tid=0x0000000000002403
#
# JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-fastdebug-boreas_2018_09_03_10_26-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.71-b00-fastdebug mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0x760d6b]  PerfDataManager::destroy()+0xab
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/boreas/work/jdk8u/hs_err_pid59101.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

[error occurred during error reporting , id 0x4]

Here is the log

build env:

source code tag : jb8u152-b1327
OS:macOS 10.13.6
boot jdk: 1.8.0_171 / 1.8.0_45 (both of them can reproduce the fatal error)
Xcode: 9.4.1 (os version not support Xcode 4)
XQuartz: 2.7.8

Any idea about this?

Thanks

avu commented 5 years ago

Hello, thanks for reporting the issue! It seems to be fixed now. Could you verify with the latest sources?