ATM9 mac m1 crash upon creating new world
wildmanjuljul opened this issue · 8 comments
When I create a new world I get an instance crash with error code 6. Got this from the logs
Java 17.0.8
Problematic frame
Stubroutines SafeFetch32
edit: I’m using curseforge not prism
I'm on Apple M1 PRO and removing the Spark mod fixes the problem! (Before I was getting many crashes with fault code 6). Hope this helps and happy playing guys.
Macbook pro M1.
The same error after upgrading to 0.1.0+ (including 0.1.3). Before 0.1.0 it was working.
Did you get the same thing from the logs? I am inexperienced in Java but that’s what I gathered.
hs_err_pid69800.log
Looks exactly like mine. Had 5 crashes and they all looked like this. Regardless of Javan version. Tried 8, tried 17, also tried 20.
Heads up, I've managed to solve this on my Apple M2 Pro by deleting the Spark profiling mod. I tried disabling it first and it still crashed with Error Code 6, then I deleted it and game loaded up.
Presumably there is a Java + macOS bug, but it might be fixed in newer Java. Someone in the PrismLauncher community was able to fix this issue:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x0000000115a514e4, pid=6915, tid=248335
#
# JRE version: Java(TM) SE Runtime Environment (17.0.7+8) (build 17.0.7+8-LTS-224)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.7+8-LTS-224, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# v ~StubRoutines::SafeFetch32
[...]
Compiled method (c1) 62955 41678 3 java.math.BigInteger::oddModPow (795 bytes)
total in heap [0x000000011156c310,0x00000001115709a8] = 18072
relocation [0x000000011156c468,0x000000011156c8d8] = 1136
[...]
Compiled method (c1) 62955 41678 3 java.math.BigInteger::oddModPow (795 bytes)
total in heap [0x000000011156c310,0x00000001115709a8] = 18072
[...]
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Process crashed with exitcode 6.
By updating to Java 17.0.11+9