betacraftuk / betacraft-launcher

A launcher for Minecraft focused on legacy versions of the game
https://betacraft.uk
GNU General Public License v3.0
309 stars 39 forks source link

[BUG] Launching any version on macOS Catalina fails. (The game crashes as soon as it starts) #338

Open theoliveoli opened 3 months ago

theoliveoli commented 3 months ago

Describe the bug When trying to start any version with the BetaCraft launcher on macOS 10.15, the game crashes when trying to start. (Similar to https://github.com/betacraftuk/betacraft-launcher/issues/215)

Here's BetaCraft's Console output: (23:21:22) Java version: Oracle Corporation, Java(TM) SE Runtime Environment, 1.8.0_411-b09 (23:21:22) System: mac os x, 10.15.7, x86_64 (23:21:23) Loaded in: 404819935 ns (23:21:23) Error in LSRegisterURL: -10811 (23:21:28) [Beta Evolutions] Authenticated with 0 nodes (23:21:28) (23:21:28) Classpath: (23:21:28) /Users/oli/Library/Application Support/betacraft/versions/b1.1_02.jar (23:21:28) /Users/oli/Library/Application Support/betacraft/bin/lwjgl.jar (23:21:28) /Users/oli/Library/Application Support/betacraft/bin/jinput.jar (23:21:28) /Users/oli/Library/Application Support/betacraft/bin/lwjgl_util.jar (23:21:28) (23:21:28) (23:21:28) Loading addons: (23:21:28) (23:21:28) Client asked for parameter: fullscreen (23:21:28) Client asked for parameter: username (23:21:28) Client asked for parameter: sessionid (23:21:28) Client asked for parameter: username (23:21:28) Client asked for parameter: sessionid (23:21:28) Setting user: TheOliveOli, - (23:21:28) Client asked for parameter: mppass (23:21:28) Client asked for parameter: loadmap_user (23:21:28) Client asked for parameter: server (23:21:28) # (23:21:28) # A fatal error has been detected by the Java Runtime Environment: (23:21:28) # (23:21:28) # SIGILL (0x4) at pc=0x00007fff362f800c, pid=792, tid=0x000000000000dd0b (23:21:28) # (23:21:28) # JRE version: Java(TM) SE Runtime Environment (8.0_411) (build 1.8.0_411-b09) (23:21:28) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.411-b09 mixed mode bsd-amd64 compressed oops) (23:21:28) # Problematic frame: (23:21:28) # C [AppKit+0x3e500c] -[NSOpenGLContext setView:]+0xe5 (23:21:28) # (23:21:28) # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again (23:21:28) # (23:21:28) # An error report file with more information is saved as: (23:21:28) # /Users/oli/Library/Application Support/betacraft/default instance/hs_err_pid792.log (23:21:28) # (23:21:28) # If you would like to submit a bug report, please visit: (23:21:28) # http://bugreport.java.com/bugreport/crash.jsp (23:21:28) # The crash happened outside the Java Virtual Machine in native code. (23:21:28) # See problematic frame for where to report the bug. (23:21:28) # (23:21:28) Client closed.

And here is macOS's Error Reporter output (shortened): Process: java [792] Path: /Library/Internet Plug-Ins/JavaAppletPlugIn.plugin/Contents/Home/bin/java Identifier: com.oracle.java.8u411.java Version: 1.0 (1.8.0_411) Code Type: X86-64 (Native) Parent Process: java [789] Responsible: Jar Launcher [788] User ID: 501

Date/Time: 2024-05-16 23:21:28.523 +0200 OS Version: Mac OS X 10.15.7 (19H2026) Report Version: 12 Anonymous UUID: C29D8858-4C34-4F1C-A5A4-99872751D66B

Time Awake Since Boot: 1300 seconds

System Integrity Protection: disabled

Crashed Thread: 28 Java: Minecraft main thread

Exception Type: EXC_BAD_INSTRUCTION (SIGABRT) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information: -[NSOpenGLContext setView:] must be called from the main thread.

Thread 0:: Dispatch queue: com.apple.main-thread [...]

To Reproduce Steps to reproduce the behavior:

  1. Open the Launcher on macOS 10.15
  2. Choose any Minecraft version.
  3. Boot up the game.

Expected behavior The game should boot up normally without crashing.

Desktop:

Additional context I tried to use different Java versions, but it doesn't make any difference.

J8RW commented 3 months ago

mine straight up doesnt load after installing java 1.8.0_411 im using kali-linux

Moresteck commented 3 months ago

OP, what's your Mac model?