USDX
USDX copied to clipboard
Fresh compiled USDX crashing on start in MacOS 10.15 (Catalina)
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
- Build App using instructions in https://github.com/Ultrastar-Deluxe/USDX#compiling-on-macos-high-sierra-and-above
- run open UltraStarDeluxe.app
Details
Provide some additional information:
- USDX version: latest in master branch
- Operating System + version: MacOS 10.15.2
Do you get more output if you directly run the ultrastardx executable from the Contents/MacOS folder of the bundle?
I get this:
An unhandled exception occurred at $0000000100026759: EInOutError: Invalid file handle $0000000100026759 $000000010006602C
Please configure with --enable-debug to increase the usefulness of this output.
I can't reproduce your problem. If you don't help us perform tests, we can't fix this.
@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.
@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
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
you'll have to recompile the game and add the --enable-debug
for the ./configure
step
Run ./configure --enable-debug Run make macosx-standalone-app Run ultrastardx from inside Contents
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
@s09bQ5 any idea how to get the compile result on macOS with debug symbols / line numbers and so on?
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 ultrastardx
TEXTGL_$$_SETFONTSIZE$REAL + 105 ultrastardx
TEXTGL_$$_SETFONTSIZE$REAL: 0x1000cfd49 <+105>: movq (%rax), %rax 0x1000cfd4c <+108>: callq *0x180(%rax) 0x1000cfd52 <+114>: leave
0x1000cfd53 <+115>: retq
Target 0: (ultrastardx) stopped.
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 ultrastardx
TEXTGL_$$_SETFONTSIZE$REAL + 105 ultrastardx
TEXTGL_$$_SETFONTSIZE$REAL: 0x1000cfd49 <+105>: movq (%rax), %rax 0x1000cfd4c <+108>: callq *0x180(%rax) 0x1000cfd52 <+114>: leave 0x1000cfd53 <+115>: retq Target 0: (ultrastardx) stopped.
Getting the same error here, using Mac OS 10.15.6
I get the exact same error on Linux if fonts/fonts.ini can't be found or is empty.
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.