daylen/stockfish-mac

Can't open stockfish

jtsdad opened this issue · 4 comments

Stockfish crashed when there was nothing to import from clipboard. I've uninstalled and reinstalled with no success. I think that I've deleted all stockfish related files. Can anyone help?System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [77834]

Application Specific Information:
Crashing on exception: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

My SIP is off, yet SF started crashing on me upon open too. I am on 10.13. I have probably successfully opened it in 2019 though, I see it was last updated in 2018. Will be compiling myself to see what's up!

Hmm, I've just realized this is the first time I am tinkering with a signed project, and not very clear what are the best practices. Probably I should fork and get my own credentials in the fork, and then pull requests for whatever bits and pieces are promising. Anyway, I cannot immediately compile because of a missing Fabric.h, I can see Fabric is itself undergoing changes, is it going to stay with us for the long run or should it be removed? I can also see some warning for things that were deprecated in 10.12 and may soon stop working!

It looks like like the Fabric installer gave me my own API keys to insert in Build Phases, but somehow still missing Crashlytics.h . At least it gives me hope that somebody received our crash reports!

I was surprised that the missing Fabric and Crashlytics frameworks are not in gitignore, have they been removed with rm -rf? I believe the project may need a couple of touches to become compilable again!

@reppolice This project doesn't use a package manager, so you have to manually install Fabric and Crashlytics if you want.
But if you just want to do a quick build, it's easier to just comment out the imports and line :18 in Stockfish/SFMApplicationDelegate.m.

This is certainly something that needs to be improved.