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

Crash in QtRhi with QQuickWidget

    XMLWordPrintable

Details

    • Linux/Wayland
    • cc4fbbc5e (dev), 999f56b0f (6.6), 935c60a93 (6.5)

    Description

      I'm getting the following crash in plasma system settings with Qt 6.5.0 but not Qt 6.4, which hint that this might be an issue with Qt.

       

      #5  QRhiResourceUpdateBatch::merge (this=this@entry=0x19d47f0, other=0xffffffffffffffff) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/gui/rhi/qrhi.cpp:5953
      #6  0x00007ff3e42e9151 in QSGRhiTextureGlyphCache::commitResourceUpdates (this=this@entry=0x20574f0, mergeInto=0x19d47f0) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/qsgrhitextureglyphcache.cpp:222
      #7  0x00007ff3e42b0bfa in QSGTextMaskRhiShader::updateUniformData (this=<optimized out>, state=..., newMaterial=newMaterial@entry=0x27e56b0, oldMaterial=oldMaterial@entry=0x0) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp:131
      #8  0x00007ff3e42b1023 in QSG24BitTextMaskRhiShader::updateUniformData (this=<optimized out>, state=..., newMaterial=0x27e56b0, oldMaterial=0x0) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp:212
      #9  0x00007ff3e4272e8f in QSGBatchRenderer::Renderer::updateMaterialDynamicData (this=this@entry=0x2661db0, sms=sms@entry=0x3124070, renderState=..., material=material@entry=0x27e56b0, batch=batch@entry=0x232bab0, e=e@entry=0x26669c0, ubufOffset=0, ubufRegionSize=156) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:2835
      #10 0x00007ff3e42745da in QSGBatchRenderer::Renderer::prepareRenderMergedBatch (this=0x2661db0, batch=0x232bab0, renderBatch=0x7ffc9903a660) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3134
      #11 0x00007ff3e4276615 in QSGBatchRenderer::Renderer::prepareRenderPass (this=this@entry=0x2661db0, ctx=ctx@entry=0x26620f8) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3769
      #12 0x00007ff3e4278447 in QSGBatchRenderer::Renderer::render (this=0x2661db0) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3525
      #13 QSGBatchRenderer::Renderer::render (this=0x2661db0) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3518
      #14 0x00007ff3e428fa08 in QSGRenderer::renderScene (this=0x2661db0) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/coreapi/qsgrenderer.cpp:140
      #15 QSGRenderer::renderScene (this=0x2661db0) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/scenegraph/coreapi/qsgrenderer.cpp:115
      #16 0x00007ff3e42360c5 in QQuickWindowPrivate::renderSceneGraph (this=0x12c6120) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/items/qquickwindow.cpp:659
      #17 0x00007ff3e41cb5b2 in QQuickRenderControl::render (this=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quick/items/qquickrendercontrol.cpp:434
      #18 0x00007ff3e1b7ea6d in QQuickWidgetPrivate::render (this=this@entry=0x1053870, needsSync=needsSync@entry=true) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quickwidgets/qquickwidget.cpp:365
      #19 0x00007ff3e1b7ec74 in QQuickWidgetPrivate::renderSceneGraph (this=0x1053870) at /usr/src/debug/qt6-qtdeclarative-6.5.0-1.fc38.x86_64/src/quickwidgets/qquickwidget.cpp:404
      #20 0x00007ff3e22952cf in QObject::event (this=0x113f850, e=0x7ffc9903aa30) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qobject.cpp:1413
      #21 0x00007ff3e48a29c8 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x113f850, e=0x7ffc9903aa30) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qapplication.cpp:3284
      #22 0x00007ff3e2241fc8 in QCoreApplication::notifyInternal2 (receiver=0x113f850, event=0x7ffc9903aa30) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1115
      #23 0x00007ff3e22421cd in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1533
      #24 0x00007ff3e23c5863 in QTimerInfoList::activateTimers (this=0xe70d50) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qtimerinfo_unix.cpp:613
      #25 0x00007ff3e24e4a79 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:149
      #26 0x00007ff3e13c839c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
      #27 0x00007ff3e1426438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
      #28 0x00007ff3e13c5a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
      #29 0x00007ff3e24e4d7f in QEventDispatcherGlib::processEvents (this=0xe3dd50, flags=...) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #30 0x00007ff3e224eac3 in QEventLoop::exec (this=this@entry=0x7ffc9903acf0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/global/qflags.h:34
      #31 0x00007ff3e224a76d in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/global/qflags.h:74
      #32 0x0000000000411d89 in main (argc=1, argv=0x7ffc9903bc88) at /home/carl/kde6/src/systemsettings/app/main.cpp:188 

      Attachments

        Issue Links

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

          Activity

            People

              davidedmundson David Edmundson
              carl Carl Schwan
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes