The code was fine, even rolling back to previous backups will not prevent crash Also re-installed app..
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information: Assertion failed: (pfork != NULL), function SetBestChain, file src/main.cpp, line 1742.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x94295a6a __pthread_kill + 10 1 libsystem_c.dylib 0x93417b2f pthread_kill + 101 2 libsystem_c.dylib 0x9344e4ec abort + 168 3 libsystem_c.dylib 0x9345cd2b __assert_rtn + 326 4 com.yourcompany.Bitcoin-Qt 0x000d1656 SetBestChain(CValidationState&, CBlockIndex*) + 2454 5 com.yourcompany.Bitcoin-Qt 0x000d3526 ConnectBestBlock(CValidationState&) + 598 6 com.yourcompany.Bitcoin-Qt 0x0011cbd7 AppInit2() + 16839 7 com.yourcompany.Bitcoin-Qt 0x000229e3 main + 7603 8 com.yourcompany.Bitcoin-Qt 0x0001f921 start + 53