Java运行时环境10.0 + 46在macOS 10.13.4上崩溃

时间:2018-04-11 07:49:49

标签: java

在Django项目中运行Python包KoNLPy(KoNLPy.tags.Twitter)时,JRE崩溃并出现以下错误:

A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000011389ec3a, pid=12099, tid=18695
#
# JRE version: Java(TM) SE Runtime Environment (10.0+46) (build 10+46)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10+46, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C  [_jpype.cpython-35m-darwin.so+0xdc3a]  _ZN9JPJavaEnv9FindClassEPKc+0x2a
#
# No core dump will be written. 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/username/Documents/project/app/hs_err_pid12099.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Abort trap: 6

它只会在调用KoNLPy.tags.Twitter的大部分时间崩溃,但不是所有时间,这很奇怪。

我的macOS版本是10.13.4(High Sierra)

1 个答案:

答案 0 :(得分:1)

这个模块似乎与JRE 10不兼容。我切换到版本8,现在它工作正常。