MacPorts-installed Bitcoin Core's version v0.12.1.0g9779e1e crashes on OSX when trying to open the debug window while the app is verifying the blocks at startup.

{
    
    unsubscribeFromCoreSignals();
    GUIUtil::saveWindowGeometry("nWindow", this);
    if(trayIcon) 
        trayIcon->hide();
#ifdef Q_OS_MAC
    delete appMenuBar;
    MacDockIconHandler::cleanup();
#endif
    delete rpcConsole;
}
void BitcoinGUI::createActions()