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

QQuickWidget crash while reparenting

    XMLWordPrintable

    Details

    • Commits:
      qtbase: bde755558cbe4587ed0756524ce1b97caf675d0d, qtdeclarative: e823bb5aee09c8a9f4a11bfd9ab6c68d2a77e93e, 14b4747b17d522fe57f3a5f21738c5a89323b5e2

      Description

      1. Run the demo app on Mac.
      2. Click "File->Create QuickView"
      3. In a newly created window click "Dock"
      4. Rsize the window

      Crash trace:
      0 None None
      1 QOpenGLFunctions::glUniformMatrix4fv(int, int, unsigned char, float const*) qopenglfunctions.h 2025 0x25a66b3
      2 QOpenGLShaderProgram::setUniformValue(int, QMatrix4x4 const&) qopenglshaderprogram.cpp 2475 0x25a2c38
      3 QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) qsgtexturematerial.cpp 106 0x120eba
      4 QSGTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) qsgtexturematerial.cpp 370 0x12144a
      5 QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) qsgbatchrenderer.cpp 2068 0xefb3d
      6 QSGBatchRenderer::Renderer::renderBatches() qsgbatchrenderer.cpp 2276 0xf197a
      7 QSGBatchRenderer::Renderer::render() qsgbatchrenderer.cpp 2433 0xf3e8c
      8 QSGRenderer::renderScene(QSGBindable const&) qsgrenderer.cpp 261 0x110288
      9 QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) qsgcontext.cpp 354 0x132084
      10 QQuickWindowPrivate::renderSceneGraph(QSize const&) qquickwindow.cpp 386 0x1a2d44
      11 QQuickRenderControl::render() QQuickRenderControl::render() 0x1b79f4
      12 QQuickWidgetPrivate::renderSceneGraph() QQuickWidgetPrivate::renderSceneGraph() 0x1a112
      13 QQuickWidget::timerEvent(QTimerEvent*) QQuickWidget::timerEvent(QTimerEvent*) 0x1c266
      14 QObject::event(QEvent*) qobject.cpp 1233 0x19e3a0d
      15 QWidget::event(QEvent*) qwidget.cpp 8371 0x2d0668b
      16 QQuickWidget::event(QEvent*) QQuickWidget::event(QEvent*) 0x1cfd7
      17 QApplicationPrivate::notify_helper(QObject*, QEvent*) qapplication.cpp 3522 0x2c9eed1
      18 QApplication::notify(QObject*, QEvent*) qapplication.cpp 3487 0x2ca46fb
      19 QCoreApplication::notifyInternal(QObject*, QEvent*) qcoreapplication.cpp 935 0x1990677
      ... <More>

      The issue's related to QTBUG-40435. I applied change 0b0bb319578bb2e2eced3a80ce3876a4408b72a7, it solves the problem for QTBUG-40435, but a new crash appears now.

      The issue should go to Laszlo Agocs.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            klochkov.kirill Klochkov Kirill
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: