Unable to launch on mac

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Unable to launch on mac

Postby Nightmare » Tue Sep 08, 2020 6:36 am

Hello! I'm trying to launch hnh on a mac, but getting the same exception. It starts, downloads all necessary packages and right before login screen should appear it crashes. Does anybody know how to solve this? I'm a windows user and don't know mac very well....
Code: Select all
Process:               java [2586]
Path:                  /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
Identifier:            net.java.openjdk.cmd
Version:               1.0 (1.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
User ID:               501

Date/Time:             2020-09-08 08:27:27.950 +0300
OS Version:            Mac OS X 10.15.5 (19F101)
Report Version:        12
Anonymous UUID:        0C5AC76D-B6BA-41CD-A6C6-524BDD9D6B67

Sleep/Wake UUID:       D3709971-AE6C-42B8-939E-4B638AC31665

Time Awake Since Boot: 4600 seconds
Time Since Wake:       1500 seconds

System Integrity Protection: enabled

Crashed Thread:        27  Java: Haven main thread

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

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
abort() called
terminating with uncaught exception of type NSException
Thread 0:: AppKit Thread  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff67282dfa mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff67283170 mach_msg + 60
2   com.apple.CoreFoundation         0x00007fff2d2dff85 __CFRunLoopServiceMachPort + 247
3   com.apple.CoreFoundation         0x00007fff2d2dea52 __CFRunLoopRun + 1319
4   com.apple.CoreFoundation         0x00007fff2d2ddece CFRunLoopRunSpecific + 462
5   com.apple.HIToolbox              0x00007fff2bf0cabd RunCurrentEventLoopInMode + 292
6   com.apple.HIToolbox              0x00007fff2bf0c7d5 ReceiveNextEventCommon + 584
7   com.apple.HIToolbox              0x00007fff2bf0c579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8   com.apple.AppKit                 0x00007fff2a554829 _DPSNextEvent + 883
9   com.apple.AppKit                 0x00007fff2a553070 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
10  libosxapp.dylib                  0x0000000115e67ab8 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 121
11  com.apple.AppKit                 0x00007fff2a544d7e -[NSApplication run] + 658
12  libosxapp.dylib                  0x0000000115e678fd +[NSApplicationAWT runAWTLoopWithApp:] + 222
13  libawt_lwawt.dylib               0x0000000115dfbecd -[AWTStarter starter:] + 869
14  com.apple.Foundation             0x00007fff2f9b10dd __NSThreadPerformPerform + 204
15  com.apple.CoreFoundation         0x00007fff2d2dfde2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16  com.apple.CoreFoundation         0x00007fff2d2dfd81 __CFRunLoopDoSource0 + 103
17  com.apple.CoreFoundation         0x00007fff2d2dfb9b __CFRunLoopDoSources0 + 209
18  com.apple.CoreFoundation         0x00007fff2d2de8ca __CFRunLoopRun + 927
19  com.apple.CoreFoundation         0x00007fff2d2ddece CFRunLoopRunSpecific + 462
20  java                             0x000000010f6a6312 CreateExecutionEnvironment + 894
21  java                             0x000000010f6a283e JLI_Launch + 1886
22  java                             0x000000010f6a8c79 main + 68
23  libdyld.dylib                    0x00007fff67141cc9 start + 1

Thread 1:..........
Nightmare
 
Posts: 12
Joined: Sat Oct 24, 2009 2:54 pm

Re: Unable to launch on mac

Postby loftar » Wed Sep 09, 2020 12:12 am

I also have very little MacOS experience, but the error makes it sound vaguely as if this is some kind of AWT bug. Are you sure that you're running a version of Java that is compatible with your version of MacOS?

Nightmare wrote:Thread 1:..........

Does that mean you skipped the rest of the threads? It would probably be helpful if you posted the information about the thread that actually caused the crash.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 7925
Joined: Fri Apr 03, 2009 7:05 am

Re: Unable to launch on mac

Postby Nightmare » Wed Sep 09, 2020 5:24 am

loftar wrote:I also have very little MacOS experience, but the error makes it sound vaguely as if this is some kind of AWT bug. Are you sure that you're running a version of Java that is compatible with your version of MacOS?


I just downloaded the latest version of java from oracle (jre v8 u261 build 1.8.0_261-b12). It worked fine on Win10 but doesn't work on mac.

loftar wrote:Does that mean you skipped the rest of the threads? It would probably be helpful if you posted the information about the thread that actually caused the crash.


I thought that it makes no sense to lay out a wall of text until someone asks about it. Here is the complete log
Attachments
javalog.txt
(100.02 KiB) Downloaded 7 times
Nightmare
 
Posts: 12
Joined: Sat Oct 24, 2009 2:54 pm

Re: Unable to launch on mac

Postby loftar » Wed Sep 09, 2020 2:59 pm

Nightmare wrote:
Code: Select all
Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff2d35bbe7 __exceptionPreprocess + 250
1   libobjc.A.dylib                     0x00007fff65f9a5bf objc_exception_throw + 48
2   CoreFoundation                      0x00007fff2d3843dc -[NSException raise] + 9
3   AppKit                              0x00007fff2a582ddc -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310
4   AppKit                              0x00007fff2a56a842 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
5   AppKit                              0x00007fff2a56a2b3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
6   libnativewindow_macosx.jnilib       0x00000001485c377e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 382
7   ???                                 0x000000010b9d86c7 0x0 + 4489840327

Well, that seems to rather imply that the problem is with JOGL, which is perhaps less surprising. The JOGL version used by the client is getting pretty old at this point, so it's not the first bugfix that it's lacking. Unfortunately, JOGL still hasn't released a new version. It is my understanding that they have nightly builds lying around somewhere; I might have to start looking into that.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 7925
Joined: Fri Apr 03, 2009 7:05 am

Re: Unable to launch on mac

Postby Nightmare » Wed Sep 09, 2020 6:16 pm

Thanks for trying to help. I was wondering if there was a simple solution ...
Nightmare
 
Posts: 12
Joined: Sat Oct 24, 2009 2:54 pm

Re: Unable to launch on mac

Postby biiont » Sat Oct 31, 2020 7:39 am

biiont
 
Posts: 1
Joined: Wed Jul 29, 2015 6:38 am


Return to How do I?

Who is online

Users browsing this forum: Google [Bot], biiont and 1 guest