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

OpenGL tests/apps crash on macOS 26 when using software GL backend (in a VM e.g.)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.10
    • GUI: OpenGL
    • None
    • macOS

    Description

      ********* Start testing of tst_QOpenGL *********
      Config: Using QtTest library 6.10.0, Qt 6.10.0 (arm64-little_endian-lp64 shared (dynamic) debug build; by Apple LLVM 17.0.0 (clang-1700.3.9.908)), macos 26.0
      PASS   : tst_QOpenGL::initTestCase()
      Assertion failed: (CABackStoreIsUpdating_ (b)), function CABackingStoreEndUpdate, file CABackingStore.cpp, line 1474.
      Received signal 6 (SIGABRT)
               sharedResourceCleanup function time: 173ms, total time: 174ms💣 Program crashed: Aborted at 0x00000001941825b0Platform: arm64 macOS 26.0 (25A5295e)Thread 0 crashed:  0 0x00000001941825b0 __pthread_kill + 8 in libsystem_kernel.dylib
        1 0x00000001940c1860 abort + 124 in libsystem_c.dylib
        2 0x00000001940c0a94 __assert_rtn + 284 in libsystem_c.dylib
        3 0x000000019de6a278 CABackingStoreEndUpdate + 280 in QuartzCore
        4 0x000000019abb5734 SLSUnlockWindowRectBits + 144 in SkyLight
        5 0x000000019abb5964 SLSUnlockWindowBits + 212 in SkyLight
        6 0x00000001f8ec1864 glsAssignDrawable + 2308 in GLRendererFloat
        7 0x00000001f8eb6d64 gldAttachDrawable + 136 in GLRendererFloat
        8 0x00000001f8d639d4 gliAttachDrawableWithOptions + 248 in GLEngine
        9 0x00000001f8b69ed0 <unknown> + 1084 in OpenGL
       10 0x00000001f8b6ddbc <unknown> + 84 in OpenGL
       11 0x00000001f8b6e170 CGLSetSurface + 360 in OpenGL
       12 0x00000001994dbe00 -[NSCGLSurface attachCGLContext:] + 84 in AppKit
       13 0x0000000198ef1398 NSOpenGLContextUpdateOffScreenViewSurface + 532 in AppKit
       14 0x000000019873e298 NSOpenGLContextAttachOffScreenViewSurface + 80 in AppKit
       15 0x0000000198ef071c __27-[NSOpenGLContext setView:]_block_invoke + 360 in AppKit
       16 0x000000019862ca74 NSPerformVisuallyAtomicChange + 108 in AppKit
       17 0x0000000198ef0550 -[NSOpenGLContext setView:] + 160 in AppKit
       18 QCocoaGLContext::setDrawable(QPlatformSurface*) + 1460 in libqcocoa.dylib at /Users/torarne/dev/qt/qtbase/src/plugins/platforms/cocoa/qcocoaglcontext.mm:425:5   423│
         424│     // Now we are ready to associate the view with the context
         425│     QT_IGNORE_DEPRECATIONS(m_context.view) = view;
            │     ▲
         426│     if (QT_IGNORE_DEPRECATIONS(m_context.view) != view) {
         427│         qCInfo(lcQpaOpenGLContext) << "Failed to set" << view << "as drawable for" << m_context; 19 QCocoaGLContext::makeCurrent(QPlatformSurface*) + 764 in libqcocoa.dylib at /Users/torarne/dev/qt/qtbase/src/plugins/platforms/cocoa/qcocoaglcontext.mm:322:10   320│     Q_ASSERT(surface->surface()->supportsOpenGL());
         321│
         322│     if (!setDrawable(surface))
            │          ▲
         323│         return false;
         324│ 20 QOpenGLContext::makeCurrent(QSurface*) + 472 in QtGui at /Users/torarne/dev/qt/qtbase/src/gui/kernel/qopenglcontext.cpp:680:32   678│     }
         679│
         680│     if (!d->platformGLContext->makeCurrent(surface->surfaceHandle()))
            │                                ▲
         681│         return false;
         682│
      

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes