Crashing on Mac

The worst monsters in the Hearthlands warp the fabric of space and time...

Crashing on Mac

Postby yozzik111 » Thu Jun 09, 2022 2:31 pm

So, official client started crashing on start on my Mac at some point. I wasn't updating neither my Java, nor anything else.

Spec: Mac M1, Java 8.

Error:
Code: Select all
ava.lang.UnsatisfiedLinkError: Can't load library: /var/folders/l7/6q_2b2zs6ybdrtmgg5bhrtcr0000gn/T/jogamp_0000/file_cache/jln6865230023925548769/jln17854562600382779608/natives/macosx-universal/libgluegen_rt.dylib
   at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2393)
   at java.base/java.lang.Runtime.load0(Runtime.java:755)
   at java.base/java.lang.System.load(System.java:1953)
   at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:604)
   at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
   at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:107)
   at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:488)
   at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:427)
   at com.jogamp.common.os.Platform$1.run(Platform.java:321)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
   at com.jogamp.common.os.Platform.<clinit>(Platform.java:290)
   at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:154)
   at haven.JOGLPanel.mkcaps(JOGLPanel.java:74)
   at haven.JOGLPanel.<init>(JOGLPanel.java:94)
   at haven.MainFrame.<init>(MainFrame.java:172)
   at haven.MainFrame.main2(MainFrame.java:386)
   at haven.MainFrame.lambda$main$0(MainFrame.java:422)
   at java.base/java.lang.Thread.run(Thread.java:833)
Wengdalf, gurbibal master, drunken hunter, the thief of Constantinopol, he who never died of man`s hand, son of Severin, grandson of Yozz, Yozzik. Also an owl.

P.S. More nice hats please!
User avatar
yozzik111
 
Posts: 254
Joined: Thu Dec 22, 2011 10:30 am

Re: Crashing on Mac

Postby loftar » Thu Jun 09, 2022 4:26 pm

It's a bit hard for me to tell since Apple issues can't really be reproduced without owning their hardware, but seeing as how it's failing to load the native JOGL library, could it be that it somehow switched to using native ARM Java instead of x86 Java under emulation? That would explain the crash since JOGL doesn't yet have native ARM glue libraries.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am

Re: Crashing on Mac

Postby yozzik111 » Thu Jun 09, 2022 10:02 pm

Somehow simply installing JDK for x64 from here solved the issue. Thanks for the clue, Loftar.
Wengdalf, gurbibal master, drunken hunter, the thief of Constantinopol, he who never died of man`s hand, son of Severin, grandson of Yozz, Yozzik. Also an owl.

P.S. More nice hats please!
User avatar
yozzik111
 
Posts: 254
Joined: Thu Dec 22, 2011 10:30 am


Return to Bugs

Who is online

Users browsing this forum: Ahrefs [Bot] and 9 guests