Skip to content

导出崩溃日志时附带崩溃报告文件 #4103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

zkitefly
Copy link
Member

@zkitefly zkitefly commented Jul 22, 2025

Close #4101

minecraft-exported-crash-info-2025-07-25T01-59-14.zip

=== HMCL Game Crash Report ===
Generation Time: 2025-07-25T01-59-14
Exit Type: APPLICATION_ERROR

== HMCL Information ==
HMCL Version: 3.6.SNAPSHOT
Current Directory: /media/zkitefly/500/github/HMCL
HMCL Global Directory: /home/zkitefly/.local/share/hmcl
HMCL Current Directory: /media/zkitefly/500/github/HMCL/.hmcl
HMCL Jar Path: /media/zkitefly/500/github/HMCL/HMCL/build/libs/HMCL-3.6.SNAPSHOT.jar
HMCL Log File: /media/zkitefly/500/github/HMCL/.hmcl/logs/2025-07-25T01-58-55.log
JVM Max Memory: 1970 MiB
Java Architecture: x86-64
Java Version: 24.0.2, BellSoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), BellSoft
Java Home: /usr/lib/jvm/bellsoft-java24-amd64

== System Information ==
Operating System: Ubuntu 24.04.2 LTS (Linux 6.14.0-24-generic)
System Architecture: x86-64
Native Encoding: UTF-8
JNU Encoding: UTF-8
XDG Session Type: x11
XDG Current Desktop: ubuntu:GNOME
Total Memory: 7873.54 MiB

== Hardware Information ==
CPU: Intel Core i5-6500 (4 Cores)
GPU: Intel HD Graphics 530 [Discrete]
Memory: 6.42 GiB / 7.69 GiB (83%)

== Java Information ==
Game Java Version: 1.8.0_462
Game Java Path: /home/zkitefly/.local/share/hmcl/java/linux-x86_64/zulu-8.0.462-jre/bin/java
Game Min Memory: null
Game Max Memory: 1920

== Game Information ==
Game Version: 1.4.2
IsModpack: false
Game RunDirectory: /media/zkitefly/500/minecraft/.minecraft
Game VersionJson: /media/zkitefly/500/minecraft/.minecraft/versions/1.4.2/1.4.2.json
Game VersionJar: /media/zkitefly/500/minecraft/.minecraft/versions/1.4.2/1.4.2.jar
Game AssetDirectory: /media/zkitefly/500/minecraft/.minecraft/assets/virtual/pre-1.6
Game AssetIndexUrl: https://launchermeta.mojang.com/v1/packages/3d8e55480977e32acd9844e545177e69a52f594b/pre-1.6.json
Game MainClass: net.minecraft.launchwrapper.Launch
ServerIP: 
EnvironmentVariables: {}
Fullscreen: false
WindowWidth: 854
WindowHeight: 480
PreLaunchCommand: 
PostExitCommand: 
isUseNativeOpenAL: false
isUseNativeGLFW: false

== Available Java Runtimes ==
JDK 24.0.2 (x86-64, BellSoft): /usr/lib/jvm/bellsoft-java24-amd64/bin/java
JDK 21.0.8 (x86-64, BellSoft): /usr/lib/jvm/bellsoft-java21-full-amd64/bin/java
JRE 1.8.0_462 (x86-64, Azul Systems, Inc.): /home/zkitefly/.local/share/hmcl/java/linux-x86_64/zulu-8.0.462-jre/bin/java
JRE 17.0.15 (x86-64, Ubuntu): /usr/lib/jvm/java-17-openjdk-amd64/bin/java

== Mod Loader Information ==
game: 1.4.2

== HMCL Crash Analysis ==
原因未知。请点击日志按钮查看详细信息。


== Game Mod Directory Structure ==
Filesystem structure of: /media/zkitefly/500/minecraft/.minecraft/mods
| <nonexistent path>


== Game Resourcepacks Directory Structure ==
Filesystem structure of: /media/zkitefly/500/minecraft/.minecraft/resourcepacks
| <nonexistent path>


== Game Shaderpacks Directory Structure ==
Filesystem structure of: /media/zkitefly/500/minecraft/.minecraft/shaderpacks
| <nonexistent path>


== Game Config Directory Structure ==
Filesystem structure of: /media/zkitefly/500/minecraft/.minecraft/config
| <nonexistent path>

@burningtnt
Copy link
Member

不要把这一内容塞入 String 中。未来我们将降低分配给 HMCL 的最低内存,这将非常容易 OOM

@zkitefly
Copy link
Member Author

不要把这一内容塞入 String 中。未来我们将降低分配给 HMCL 的最低内存,这将非常容易 OOM

换成 BufferedWriter 了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 导出崩溃信息时,将硬件和本次启动游戏的信息单独导出至一个文件
2 participants