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

QOpenGLWindowPrivate::initialize - bad error handling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.12.2
    • GUI: OpenGL
    • None
    • macOS 10.13.x, 10.14.x
    • macOS

    Description

      Our application has been using QOpenGL 1.1 since 4.x days without issues. With Qt 5.12, the following crash occurs about 25% of times upon opening the app:

      #0 0x10d2f6568 in QOpenGLContext::format() const (QtGui:x86_64+0x78568)
       #1 0x10d5dbffc in QOpenGLFunctions_1_1::initializeOpenGLFunctions() (QtGui:x86_64+0x35dffc)
       #2 0x10a4d959f in MirVenueWidget::initializeGL() mirvenuewidget.cpp:523
       #3 0x10d2fb63e in QOpenGLWindowPrivate::initialize() (QtGui:x86_64+0x7d63e)
       #4 0x10d2fc475 in QOpenGLWindow::resizeEvent(QResizeEvent*) (QtGui:x86_64+0x7e475)
       #5 0x10d2c16d1 in QWindow::event(QEvent*) (QtGui:x86_64+0x436d1)
       #6 0x10a4df027 in MirVenueWidget::event(QEvent*) mirvenuewidget.cpp:1074
       #7 0x10cceb8ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) (QtWidgets:x86_64+0x108ec)
       #8 0x10cceccf1 in QApplication::notify(QObject*, QEvent*) (QtWidgets:x86_64+0x11cf1)
       #9 0x10db4aef3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (QtCore:x86_64+0x1e8ef3)
       #10 0x10d2b4a92 in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) (QtGui:x86_64+0x36a92)
       #11 0x10d2b51e8 in QGuiApplicationPrivate::processWindowScreenChangedEvent(QWindowSystemInterfacePrivate::WindowScreenChangedEvent*) (QtGui:x86_64+0x371e8)
       #12 0x10d294512 in bool QWindowSystemInterfacePrivate::handleWindowSystemEvent<QWindowSystemInterface::SynchronousDelivery>(QWindowSystemInterfacePrivate::WindowSystemEvent*) (QtGui:x86_64+0x16512)
       #13 0x1133a35ca in QCocoaWindow::createNSWindow(bool) (libqcocoa.dylib:x86_64+0x1b5ca)
       #14 0x11339d1b1 in QCocoaWindow::recreateWindowIfNeeded() (libqcocoa.dylib:x86_64+0x151b1)
       #15 0x11339cc3a in QCocoaWindow::initialize() (libqcocoa.dylib:x86_64+0x14c3a)
       #16 0x10d2bddbb in QWindowPrivate::create(bool, unsigned long long) (QtGui:x86_64+0x3fdbb)
       #17 0x10a4d7185 in MirVenueWidget::MirVenueWidget(MirEngine&, QWidget*) mirvenuewidget.cpp:103

       

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            marsal marsal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes