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.

{
#ifdef Q_OS_MAC
    
    appMenuBar = new QMenuBar();
#else
    
    appMenuBar = menuBar();
#endif
    
    QMenu *file = appMenuBar->addMenu(tr("&File"));
    if(walletFrame)
    {
        file->addAction(openAction);
        file->addAction(backupWalletAction);
        file->addAction(signMessageAction);
        file->addAction(verifyMessageAction);
        file->addSeparator();
        file->addAction(usedSendingAddressesAction);
        file->addAction(usedReceivingAddressesAction);
        file->addSeparator();
    }
    file->addAction(quitAction);
    QMenu *settings = appMenuBar->addMenu(tr("&Settings"));
    if(walletFrame)
    {