USDX icon indicating copy to clipboard operation
USDX copied to clipboard

Fresh compiled USDX crashing on start in MacOS 10.15 (Catalina)

Open vladox opened this issue 5 years ago • 14 comments

Please, do not create duplicate issues

Actual behaviour

After building and configuring USDX in MacOS 10.15 when I try to start the app it crashes leaving only this in the console:

com.apple.xpc.launchd[1] (org.ultrastardeluxe.ultrastardeluxe.6720[40284]): Service exited with abnormal code: 217

Expected behaviour

App opens without crashing

Steps to reproduce

  1. Build App using instructions in https://github.com/Ultrastar-Deluxe/USDX#compiling-on-macos-high-sierra-and-above
  2. run open UltraStarDeluxe.app

Details

Provide some additional information:

  • USDX version: latest in master branch
  • Operating System + version: MacOS 10.15.2

vladox avatar Jan 01 '20 12:01 vladox

Do you get more output if you directly run the ultrastardx executable from the Contents/MacOS folder of the bundle?

s09bQ5 avatar Jan 03 '20 13:01 s09bQ5

I get this:

An unhandled exception occurred at $0000000100026759: EInOutError: Invalid file handle $0000000100026759 $000000010006602C

vladox avatar Jan 05 '20 22:01 vladox

Please configure with --enable-debug to increase the usefulness of this output.

s09bQ5 avatar Jan 06 '20 00:01 s09bQ5

I can't reproduce your problem. If you don't help us perform tests, we can't fix this.

s09bQ5 avatar Jan 16 '20 21:01 s09bQ5

Having the same problem, ran through the same steps.

Error.Log File added. Error.log

onchestus avatar Feb 21 '20 11:02 onchestus

@onchestus Please configure with --enable-debug to increase the usefulness of this output. The relevant output should appear when starting the game from the console.

basisbit avatar Feb 21 '20 11:02 basisbit

@onchestus Please configure with --enable-debug to increase the usefulness of this output. The relevant output should appear when starting the game from the console.

Run with: ultrastardx --enable-debug

Error.log

Terminal Output: Sorry, an error ocurred! Please report this error to the game-developers. Also check the Error.log file in the game folder. Stacktrace: Exception class: EAccessViolation Message: Access violation $00000001000CFD49 $000000010005CEF8 $0000000100059125 $0000000100059252 $00000001000683C8 $0000000100066E2F $000000010006C5A9

console output.docx

onchestus avatar Feb 21 '20 12:02 onchestus

you'll have to recompile the game and add the --enable-debug for the ./configure step

basisbit avatar Feb 21 '20 12:02 basisbit

Run ./configure --enable-debug Run make macosx-standalone-app Run ultrastardx from inside Contents

Error.log

console output.docx

Terminal Output: Sorry, an error ocurred! Please report this error to the game-developers. Also check the Error.log file in the game folder. Stacktrace: Exception class: EAccessViolation Message: Access violation $00000001000CFD49 $000000010005CEF8 $0000000100059125 $0000000100059252 $00000001000683C8 $0000000100066E2F $000000010006C5A9

onchestus avatar Feb 21 '20 12:02 onchestus

@s09bQ5 any idea how to get the compile result on macOS with debug symbols / line numbers and so on?

basisbit avatar Feb 21 '20 12:02 basisbit

Is this what you are after?

Run lldb ultrastardx

Terminal: Process 43520 launched: '/Users/Adam/USDX/UltraStarDeluxe.app/Contents/MacOS/ultrastardx' (x86_64) 2020-02-21 23:40:41.076652+1100 ultrastardx[43520:1306918] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x104635ff0> F8BB1C28-BAE8-11D6-9C31-00039315CD46 2020-02-21 23:40:41.098186+1100 ultrastardx[43520:1306918] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine 2020-02-21 23:40:41.098526+1100 ultrastardx[43520:1306918] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine Process 43520 stopped

  • thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001000cfd49 ultrastardxTEXTGL_$$_SETFONTSIZE$REAL + 105 ultrastardxTEXTGL_$$_SETFONTSIZE$REAL: 0x1000cfd49 <+105>: movq (%rax), %rax 0x1000cfd4c <+108>: callq *0x180(%rax) 0x1000cfd52 <+114>: leave
    0x1000cfd53 <+115>: retq
    Target 0: (ultrastardx) stopped.

Error.log

onchestus avatar Feb 21 '20 12:02 onchestus

Is this what you are after?

Run lldb ultrastardx

Terminal: Process 43520 launched: '/Users/Adam/USDX/UltraStarDeluxe.app/Contents/MacOS/ultrastardx' (x86_64) 2020-02-21 23:40:41.076652+1100 ultrastardx[43520:1306918] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x104635ff0> F8BB1C28-BAE8-11D6-9C31-00039315CD46 2020-02-21 23:40:41.098186+1100 ultrastardx[43520:1306918] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine 2020-02-21 23:40:41.098526+1100 ultrastardx[43520:1306918] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine Process 43520 stopped

  • thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001000cfd49 ultrastardxTEXTGL_$$_SETFONTSIZE$REAL + 105 ultrastardxTEXTGL_$$_SETFONTSIZE$REAL: 0x1000cfd49 <+105>: movq (%rax), %rax 0x1000cfd4c <+108>: callq *0x180(%rax) 0x1000cfd52 <+114>: leave 0x1000cfd53 <+115>: retq Target 0: (ultrastardx) stopped.

Error.log

Getting the same error here, using Mac OS 10.15.6

rubinhos avatar Sep 04 '20 18:09 rubinhos

I get the exact same error on Linux if fonts/fonts.ini can't be found or is empty.

s09bQ5 avatar Sep 04 '20 21:09 s09bQ5

Please try the findingfontsinfo branch and provide the generated Error.log file after the crash. Also please search for the NotoSans-Regular.ttf file that should have been installed by UltraStar Deluxe and tell me where you found it.

s09bQ5 avatar Sep 13 '20 13:09 s09bQ5