4.2.1 - Crash on first run, Mac OS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lonadar
    Rookie
    • Nov 2019
    • 12

    4.2.1 - Crash on first run, Mac OS

    Just downloaded the 4.2.1 MacOS X package (after realizing it existed). I've tried three times to run it, with the same results. Nothing appears, as far as of the app. Just the CrashReporter.

    Code:
    Process:               angband [52523]
    Path:                  /Applications/Angband.app/Contents/MacOS/angband
    Identifier:            org.rephial.angband
    Version:               4.2.1 (???)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           angband [52523]
    Date/Time:             2020-07-28 23:08:52.456 -0400
    OS Version:            Mac OS X 10.13.6 (17G14019)
    Report Version:        12
    
    Time Awake Since Boot: 1000000 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    
    Exception Type:        EXC_CRASH (SIGABRT)
    Exception Codes:       0x0000000000000000, 0x0000000000000000
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Reason:    DYLD, [0x4] Symbol missing
    
    Dyld Error Message:
      Symbol not found: ____chkstk_darwin
      Referenced from: /Applications/Angband.app/Contents/MacOS/angband
      Expected in: /usr/lib/libSystem.B.dylib
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   dyld                          	0x000000011679c256 __abort_with_payload + 10
    1   dyld                          	0x000000011679bbc8 abort_with_payload_wrapper_internal + 89
    2   dyld                          	0x000000011679bbf5 abort_with_payload + 9
    3   dyld                          	0x000000011676f482 dyld::halt(char const*) + 354
    4   dyld                          	0x000000011676f5a9 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 170
    5   libdyld.dylib                 	0x00007fff7e8a2292 dyld_stub_binder + 282
    6   ???                           	0x000000010c4bb000 0 + 4501254144
    7   org.rephial.angband           	0x000000010c479709 text_out + 169
    8   org.rephial.angband           	0x000000010c439637 ui_enter_init + 375
    9   org.rephial.angband           	0x000000010c3af63c event_signal + 44
    10  org.rephial.angband           	0x000000010c3cd76e init_angband + 14
    11  org.rephial.angband           	0x000000010c490c65 -[AngbandAppDelegate beginGame] + 693
    12  org.rephial.angband           	0x000000010c49288b -[AngbandAppDelegate applicationDidFinishLaunching:] + 27
    13  com.apple.CoreFoundation      	0x00007fff5689939c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    14  com.apple.CoreFoundation      	0x00007fff5689926a _CFXRegistrationPost + 458
    15  com.apple.CoreFoundation      	0x00007fff56898fa1 ___CFXNotificationPost_block_invoke + 225
    16  com.apple.CoreFoundation      	0x00007fff56857b32 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826
    17  com.apple.CoreFoundation      	0x00007fff56856bc3 _CFXNotificationPost + 659
    18  com.apple.Foundation          	0x00007fff58985047 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
    19  com.apple.AppKit              	0x00007fff53f43206 -[NSApplication _postDidFinishNotification] + 313
    20  com.apple.AppKit              	0x00007fff53f42e4f -[NSApplication _sendFinishLaunchingNotification] + 220
    21  com.apple.AppKit              	0x00007fff53e15a7b -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 562
    22  com.apple.AppKit              	0x00007fff53e156b1 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 690
    23  com.apple.Foundation          	0x00007fff589c7ef4 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 287
    24  com.apple.Foundation          	0x00007fff589c7d72 _NSAppleEventManagerGenericHandler + 102
    25  com.apple.AE                  	0x00007fff5799ff08 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 1788
    26  com.apple.AE                  	0x00007fff5799f7af dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 41
    27  com.apple.AE                  	0x00007fff5799f69d aeProcessAppleEvent + 383
    28  com.apple.HIToolbox           	0x00007fff55b734a0 AEProcessAppleEvent + 55
    29  com.apple.AppKit              	0x00007fff53e10cfa _DPSNextEvent + 2788
    30  com.apple.AppKit              	0x00007fff545a6e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
    31  com.apple.AppKit              	0x00007fff53e0584d -[NSApplication run] + 764
    32  com.apple.AppKit              	0x00007fff53dd4a3a NSApplicationMain + 804
    33  org.rephial.angband           	0x000000010c492dd9 main + 9
    34  libdyld.dylib                 	0x00007fff7e8a2015 start + 1
    
    Thread 1:
    0   libsystem_kernel.dylib        	0x00007fff7e9f328a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff7ebba009 _pthread_wqthread + 1035
    2   libsystem_pthread.dylib       	0x00007fff7ebb9be9 start_wqthread + 13
    
    Thread 2:
    0   libsystem_kernel.dylib        	0x00007fff7e9f328a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff7ebba009 _pthread_wqthread + 1035
    2   libsystem_pthread.dylib       	0x00007fff7ebb9be9 start_wqthread + 13
    
    Thread 3:
    0   libsystem_kernel.dylib        	0x00007fff7e9f328a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff7ebba20e _pthread_wqthread + 1552
    2   libsystem_pthread.dylib       	0x00007fff7ebb9be9 start_wqthread + 13
    
    Thread 4:
    0   libsystem_kernel.dylib        	0x00007fff7e9f328a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff7ebba20e _pthread_wqthread + 1552
    2   libsystem_pthread.dylib       	0x00007fff7ebb9be9 start_wqthread + 13
    
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000002000209  rbx: 0x0000000000000004  rcx: 0x00007ffee3867148  rdx: 0x00007ffee38675c0
      rdi: 0x0000000000000006  rsi: 0x0000000000000004  rbp: 0x00007ffee38671a0  rsp: 0x00007ffee3867148
       r8: 0x00007ffee38671c0   r9: 0x0000000000000000  r10: 0x0000000000000072  r11: 0x0000000000000246
      r12: 0x0000000000000072  r13: 0x00007ffee38675c0  r14: 0x0000000000000006  r15: 0x0000000000000000
      rip: 0x000000011679c256  rfl: 0x0000000000000246  cr2: 0x000000010e704000
      
    Logical CPU:     0
    Error Code:      0x02000209
    Trap Number:     133
    
    
    Binary Images:
           0x10c395000 -        0x10c4baffb +org.rephial.angband (4.2.1 - ???) <DFAD675C-ECD5-3631-9A2C-EB7850F38C8A> /Applications/Angband.app/Contents/MacOS/angband
  • lonadar
    Rookie
    • Nov 2019
    • 12

    #2
    I'm seeing some things that suggest this is an issue with compiling under more current versions of MacOS, then trying to run the results under 10.13.6 (or earlier, I presume).

    Comment

    • luneya
      Swordsman
      • Aug 2015
      • 279

      #3
      Originally posted by lonadar
      I'm seeing some things that suggest this is an issue with compiling under more current versions of MacOS, then trying to run the results under 10.13.6 (or earlier, I presume).
      Perhaps. I'm encountering the same problem, also on MacOS 10.13.6. Attached is the log from running the current nightly (686384f55); I get similar results on the release version. To be clear, both cases are the precompiled downloads from Rephial; I don't want to have to deal with compiler issues.
      Attached Files

      Comment

      • lonadar
        Rookie
        • Nov 2019
        • 12

        #4
        I was able to pull the latest source code last night and manually compile it and have successfully run it, which suggests either they've fixed the issue (which I doubt because I don't believe it's code based) or the issue is in fact not setting certain compiler flags while compiling under a newer version of the MacOS. I'd be happy to do that to 4.2.1, if I knew how to distribute it once I had.

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9647

          #5
          I think this is now (very recently) fixed by backwardsEric in the nightly builds.
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • luneya
            Swordsman
            • Aug 2015
            • 279

            #6
            Originally posted by Nick
            I think this is now (very recently) fixed by backwardsEric in the nightly builds.
            I've downloaded the new nightly (81dfed316) and it does indeed run under MacOS 10.13.6, so I agree that the issue is fixed.

            Comment

            • lonadar
              Rookie
              • Nov 2019
              • 12

              #7
              I was able to compile and run from the nightly build as well. Whether that's because I built it under 10.13.6, or because something has change with the compiler flags, I don't know. Would it be of any benefit for me to try to compile the base 4.2.1 under 10.13.6 so the current distribution works under more systems, or is 4.2.x eminent?

              Comment

              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎