You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

升级Ventura 13.3.1 (a)后启动Java 8项目时JVM触发致命错误求助

升级Ventura 13.3.1 (a)后启动Java 8项目时JVM触发致命错误求助

各位大佬好,我最近遇到个头疼的问题想请教下:刚把MacBook从Big Sur升级到Ventura系统,现在用Eclipse启动Java 8项目时,JVM直接触发致命错误崩溃了——之前在Big Sur上运行完全正常,所有问题都是系统升级后才冒出来的。

JVM抛出的致命错误详情:

A fatal error has been detected by the Java Runtime Environment:

 SIGSEGV (0xb) at pc=0x00007ff811489d8b, pid=20099, tid=0x0000000000000103

JRE version: Java(TM) SE Runtime Environment (8.0_371) (build 1.8.0_371-b11)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.371-b11 mixed mode bsd-amd64 compressed oops)
Problematic frame:
C  [libobjc.A.dylib+0x1ad8b]  -[NSObject superclass]+0x11

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:
/Applications/Eclipse.app/Contents/MacOS/hs_err_pid20099.log

The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

我查了Oracle的文档,发现错误帧开头的C表示这是原生代码层面的错误。之后我给JVM加了-Xcheck:jni参数,日志里开始反复出现以下警告:

WARNING: JNI local refs: 385, exceeds capacity: 33
WARNING: JNI local refs: 385, exceeds capacity: 33
WARNING: JNI local refs: 385, exceeds capacity: 33

不确定这个JNI本地引用超标是不是问题根源,我已经试过换了好几个不同版本的JDK 8,但崩溃问题依然没解决。每次崩溃后,系统还会自动向Apple提交崩溃报告,提示“Java quit unexpectedly”,同时Eclipse也生成了hs_err_pid20099.log日志文件,里面应该有更多细节。

有没有大佬遇到过类似的情况?求指点,谢谢大家!

备注:内容来源于stack exchange,提问作者Mahmoud Mansour

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 12:04:32