Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72182

setUpdatesEnabled causes OSX 10.14 Mojave kernel panic on an Intel GPU

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.6.3
    • None
    • OSX 10.14, OSX 10.14.1
    • macOS

    Description

      Please run the the attached project. It's simply a QWebEngineView inside a QWidget.

      #include <QtGui>
      #include <QtWidgets>
      #include <QtWebEngineWidgets>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          QWidget widget;
      
          QVBoxLayout *layout = new QVBoxLayout(&widget);
      
          QWebEngineView *view = new QWebEngineView;
          layout->addWidget(view);
      
          view->setUpdatesEnabled(false); // bang!
      
          widget.show();
      
          return a.exec();
      }
      

      If setUpdatesEnabled(false) is called on the QWebEngineView running on Mojave, and the Mac has an intel integrated GPU, the OS will kernel panic in the intel driver.

      If setUpdatesEnabled(false) is replaced with hide(), it does not panic.

      If the Mac has a dedicated GPU, it does not panic.

      I also couldn't reproduce the panic when built with Qt 5.11.2 but it definitely happens with Qt 5.6.3 and most likely newer versions in between.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            danny77uk Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes