I too still get the same crash on launch
bitprobe
4
Posts
A member registered Feb 05, 2017
Recent community posts
MewnBase community · Replied to Cairn4 in macOS — Game launches and immediately closes (no screen visible, just immediately crashes)
I get the following error:
java(3906,0x7fff99cea340) malloc: *** error for object 0x123b69140: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[1] 3906 abort java -XstartOnFirstThread -jar desktop-1.0.jar
Here's the Java version on my machine
java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
MewnBase community · Posted in macOS — Game launches and immediately closes (no screen visible, just immediately crashes)
Trying to run the jar directly also crashes, but with a different error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1647)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:442)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:391)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:379)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:108)
at com.cairn4.moonbase.desktop.DesktopLauncher.main(DesktopLauncher.java:41)
Caused by: java.lang.IllegalStateException: GLFW windows may only be created on the main thread and that thread must be the first thread in the process. Please run the JVM with -XstartOnFirstThread. For offscreen rendering, make sure another window toolkit (e.g. AWT or JavaFX) is initialized before GLFW.
at org.lwjgl.glfw.EventLoop$OffScreen.<clinit>(EventLoop.java:37)
... 6 more
AL lib: (EE) alc_cleanup: 1 device not closed
MewnBase community · Posted in macOS — Game launches and immediately closes (no screen visible, just immediately crashes)