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

Crash on QSGTexture::comparisonKey()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 5.14.2
    • Quick: SceneGraph
    • None
    • macOS 10.15.4, macOS 10.13.6
    • macOS

    Description

      There are a lot of such crashes according to Fabric/Firebase Crashlitics on users side

      Most probably it happens when new QML child window appears.
       
       

      Crashed: CrBrowserMain
      0 QtQuick 0x1132653ec QSGTexture::comparisonKey() const + 12
      1 QtQuick 0x113273dbd QSGBatchRenderer::Renderer::nodeChanged(QSGNode*, QFlags<QSGNode::DirtyStateBit>) + 829
      2 QtQuick 0x113266048 QSGNode::markDirty(QFlags<QSGNode::DirtyStateBit>) + 136
      3 QtQuick 0x1132b7deb QSGBasicInternalImageNode::setTexture(QSGTexture*) + 43
      4 QtQuick 0x1133cabac QQuickImage::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) + 2588
      5 QtQuick 0x11334274e QQuickWindowPrivate::updateDirtyNode(QQuickItem*) + 2878
      6 QtQuick 0x113330e13 QQuickWindowPrivate::updateDirtyNodes() + 995
      7 QtQuick 0x11333081e QQuickWindowPrivate::syncSceneGraph() + 318
      8 QtQuick 0x1132bc620 QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) + 6272
      9 QtQuick 0x1132bce95 QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) + 8437
      10 QtGui 0x1142f6cbe QWindow::event(QEvent*) + 1006
      11 QtQuick 0x113338b3b QQuickWindow::event(QEvent*) + 827
      12 QtWidgets 0x113d0a66d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
      13 QtWidgets 0x113d0baa5 QApplication::notify(QObject*, QEvent*) + 581
      14 QtCore 0x11cdb44f4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
      15 QtGui 0x1142ead81 QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 305
      16 QtGui 0x1142c6e03 bool QWindowSystemInterfacePrivate::handleWindowSystemEvent<QWindowSystemInterface::SynchronousDelivery>(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 115
      17 QtGui 0x1142ceb39 void QWindowSystemInterface::handleExposeEvent<QWindowSystemInterface::SynchronousDelivery>(QWindow*, QRegion const&) + 185
      18 libqcocoa.dylib 0x11ecbc655 qt_plugin_instance + 96069
      19 libqcocoa.dylib 0x11ecc4b62 qt_plugin_instance + 130130
      20 QuartzCore 0x7fff38f37b84 -[CALayer display] + 180
      21 AppKit 0x7fff2a85d2fa -[_NSBackingLayer display] + 537
      22 AppKit 0x7fff2a7bede7 -[_NSViewBackingLayer display] + 800
      23 QuartzCore 0x7fff38f37469 CA::Layer::display_if_needed(CA::Transaction*) + 757
      24 QuartzCore 0x7fff38f15716 CA::Context::commit_transaction(CA::Transaction*, double) + 334
      25 QuartzCore 0x7fff38f14304 CA::Transaction::commit() + 644
      26 AppKit 0x7fff2a873a01 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 266
      27 AppKit 0x7fff2af92950 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
      28 CoreFoundation 0x7fff2d4564f5 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
      29 CoreFoundation 0x7fff2d456427 __CFRunLoopDoObservers + 457
      30 CoreFoundation 0x7fff2d4559c5 __CFRunLoopRun + 874
      31 CoreFoundation 0x7fff2d454ffe CFRunLoopRunSpecific + 462
      32 HIToolbox 0x7fff2c088abd RunCurrentEventLoopInMode + 292
      33 HIToolbox 0x7fff2c0886f4 ReceiveNextEventCommon + 359
      34 HIToolbox 0x7fff2c088579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      35 AppKit 0x7fff2a6d3c99 _DPSNextEvent + 883
      36 AppKit 0x7fff2a6d24e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
      37 AppKit 0x7fff2a6c41ee -[NSApplication run] + 658
      38 libqcocoa.dylib 0x11ecd3618 qt_plugin_instance + 190216
      39 QtCore 0x11cdb066f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      40 QtCore 0x11cdb4b42 QCoreApplication::exec() + 130
      
      

       

      Sorry, I have no more details or reproducible example.

      Attachments

        Issue Links

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

          Activity

            People

              janichol Andy Nichols
              studiosus Vladimir Belyavsky
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes