Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

Qt 5.12.0 and 5.12.1 crashing intermittently on Mac



  • I had various problems with Qt releases on Mac:
    https://successfulsoftware.net/2018/11/02/qt-is-broken-on-macos-right-now/

    So I was glad to see that the Qt 5.12.0 release fixed these problems.

    However users have been reporting intermittent crashes of my software built with Qt 5.12.0 on Mac. So I switched to 5.12.1. But this doesn't seem to have helped at all.

    The crash pretty much always happens here:

    0   org.qt-project.QtCore         	0x000000010d138fe8 QMetaObject::cast(QObject*) const + 24
    1   org.qt-project.QtWidgets      	0x000000010c47674b QWidget::isActiveWindow() const + 283
    2   org.qt-project.QtWidgets      	0x000000010c486aad QWidget::initPainter(QPainter*) const + 45
    3   org.qt-project.QtGui          	0x000000010cc508dd QPainter::begin(QPaintDevice*) + 781
    4   org.qt-project.QtGui          	0x000000010cc505c2 QPainter::QPainter(QPaintDevice*) + 242
    5   org.qt-project.QtWidgets      	0x000000010c479937 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const
    

    But I am not able to reproduce it here. Which makes it very hard to fix.

    I have also noticed that switching focus from a QComboBox menu and back again can cause the drop-down menu to blank.

    0_1551726273990_focus.png

    Identical code running on Qt 5.11.0 on Windows is rock solid.

    Any ideas?

    Andy Brice
    https://www.perfecttableplan.com/



  • Made no progress on this. Reverting to Qt 5.11.0. :0(


Log in to reply