Skip to content

启动HMCL时,若有,提示上次运行时可能发生的 Java 虚拟机崩溃 - #6650

Open
Hylfrd wants to merge 3 commits into
HMCL-dev:mainfrom
Hylfrd:fix/hotspot-crash-warning
Open

启动HMCL时,若有,提示上次运行时可能发生的 Java 虚拟机崩溃#6650
Hylfrd wants to merge 3 commits into
HMCL-dev:mainfrom
Hylfrd:fix/hotspot-crash-warning

Conversation

@Hylfrd

@Hylfrd Hylfrd commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

当 HMCL 发生 JVM 崩溃时会直接终止进程,HMCL 无法在崩溃发生时显示错误窗口。用户重新打开启动器后,现有界面也不会提示上次异常,通常只能观察到启动器突然关闭(并在启动器子目录留下hs_err_pid 报告),难以判断原因并提供有效信息求助。

此 PR 在启动时识别上一轮 HMCL 运行产生的 hs_err_pid*.log,并显示警告,引导反复遇到问题的用户通过帮助页面求助。

QQ20260811-224134

注:I18N由AI完成翻译。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant