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

Qt application crashes during open gl context creation on MacOS High Sierra

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.9.0, 5.9.1, 5.9.2
    • GUI: OpenGL
    • None
    • MacBook Pro (Retina, 13-inch, Late 2013) on MacOS 10.13, Ubuntu
    • macOS

    Description

      Hi, I am getting a below crash when launching an app on MacOS 10.13. It was working fine on 10.12, and there was virtually no change to the sources in the meantime (I've checked repo to working changeset to be sure). I've tried 5.9, 5.9.1, and 5.9.2 with the same result, we were using 5.9 on 10.12. I've attached full crash report in debug configuration on 10.13 with Qt 5.9.2 (unfortunately the app is using QtWebEngine so it is too large to attach it here), but you can download previous working version (also crashing in the same way) here https://bitbucket.org/krojew/evernus/downloads/Evernus-2.9.dmg and inspect the sources at the repository. Please let me know if you need additional info.

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 org.qt-project.QtGui 0x0000000107fe662a QOpenGLContext::shareHandle() const + 26
      1 libqcocoa.dylib 0x000000010a486b21 0x10a474000 + 76577
      2 org.qt-project.QtGui 0x0000000107fe6a3b QOpenGLContext::create() + 59
      3 org.qt-project.QtWidgets 0x0000000101ad7449 QWidgetPrivate::shareContext() const + 185
      4 org.qt-project.QtWidgets 0x0000000101aa3416 0x101a89000 + 107542
      5 org.qt-project.QtWidgets 0x0000000101aa379f 0x101a89000 + 108447
      6 org.qt-project.QtWidgets 0x0000000101aa8271 0x101a89000 + 127601
      7 org.qt-project.QtWidgets 0x0000000101ad314c QWidget::event(QEvent*) + 2700
      8 org.qt-project.QtWidgets 0x0000000101bfeb2c QMainWindow::event(QEvent*) + 1660
      9 org.qt-project.QtWidgets 0x0000000101a9abad QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
      10 org.qt-project.QtWidgets 0x0000000101a9d47c QApplication::notify(QObject*, QEvent*) + 5852
      11 org.qt-project.QtCore 0x0000000108676a24 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
      12 org.qt-project.QtCore 0x0000000108677770 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 560
      13 libqcocoa.dylib 0x000000010a4a519e 0x10a474000 + 201118
      14 libqcocoa.dylib 0x000000010a4a5a61 0x10a474000 + 203361
      15 com.apple.CoreFoundation 0x00007fff48f8b6c1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      16 com.apple.CoreFoundation 0x00007fff490452cc __CFRunLoopDoSource0 + 108
      17 com.apple.CoreFoundation 0x00007fff48f6e160 __CFRunLoopDoSources0 + 208
      18 com.apple.CoreFoundation 0x00007fff48f6d5dd __CFRunLoopRun + 1293
      19 com.apple.CoreFoundation 0x00007fff48f6ce43 CFRunLoopRunSpecific + 483
      20 com.apple.HIToolbox 0x00007fff4828c866 RunCurrentEventLoopInMode + 286
      21 com.apple.HIToolbox 0x00007fff4828c4df ReceiveNextEventCommon + 366
      22 com.apple.HIToolbox 0x00007fff4828c354 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      23 com.apple.AppKit 0x00007fff4658a44f _DPSNextEvent + 2085
      24 com.apple.AppKit 0x00007fff46d1f508 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
      25 com.apple.AppKit 0x00007fff467bca23 -[NSApplication _doModalLoop:peek:] + 476
      26 com.apple.AppKit 0x00007fff469a25c9 __33-[NSApplication runModalSession:]_block_invoke_2 + 69
      27 com.apple.AppKit 0x00007fff469a2571 __33-[NSApplication runModalSession:]_block_invoke + 83
      28 com.apple.AppKit 0x00007fff46e4e7dc _NSTryRunModal + 100
      29 com.apple.AppKit 0x00007fff469a2462 -[NSApplication runModalSession:] + 133
      30 libqcocoa.dylib 0x000000010a4a481a 0x10a474000 + 198682
      31 org.qt-project.QtCore 0x0000000108672661 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
      32 org.qt-project.QtWidgets 0x0000000101c9d369 QDialog::exec() + 377
      33 org.qt-project.QtWidgets 0x0000000101cdb3c7 0x101a89000 + 2433991
      34 Evernus 0x0000000100c378fb main + 15979
      35 libdyld.dylib 0x00007fff704ce145 start + 1

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            neos3452 Michal Debski
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes