Run `src/qt/bitcoin-qt --disablewallet=1`. 
Quitting after any amount of time will result in `Segmentation fault: 11`

0.14.0 branch at 861cb0c83db0571c2863f6b6276314e115c266ee , osx 10.12.3, Qt5.8
{
    QMainWindow::changeEvent(e);
#ifndef Q_OS_MAC 
    if(e->type() == QEvent::WindowStateChange)
    {
        if(clientModel && clientModel->getOptionsModel() && clientModel->getOptionsModel()->getMinimizeToTray())
        {
            QWindowStateChangeEvent *wsevt = static_cast<QWindowStateChangeEvent*>(e);
            if(!(wsevt->oldState() & Qt::WindowMinimized) && isMinimized())
            {
                QTimer::singleShot(0, this, SLOT(hide()));
                e->ignore();
            }
        }
    }
#endif
}
void BitcoinGUI::closeEvent(QCloseEvent *event)