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

Crash in QSGRenderThread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 6.6.1
    • None
    • macOS 11.7.10 on 2013 Macbook Air (Intel HD 5000)
    • macOS

    Description

      As with all the crashes involving the GPU it's difficult to say if it's a glitch in the driver or a problem with Quick, nevertheless I decided to share. It's not reproducible so far. On another day, I had a glitch where part of the alphabet in Text fields was missing. Could it be that GPU fails to allocate textures sometimes and there are no fallbacks for such case in Quick?

      Crashed Thread:        5  QSGRenderThread
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       EXC_I386_GPFLT
      Exception Note:        EXC_CORPSE_NOTIFY
      Termination Signal:    Segmentation fault: 11
      Termination Reason:    Namespace SIGNAL, Code 0xb
      Terminating Process:   exc handler [41702]
      
      Thread 5 Crashed:: QSGRenderThread
      0   org.qt-project.QtQuick            0x000000010c5aa918 QSGTexture::setFiltering(QSGTexture::Filtering) + 8 (qsgtexture.cpp:481)
      1   org.qt-project.QtQuick            0x000000010c5f6ba8 QSGOpaqueTextureMaterialRhiShader::updateSampledImage(QSGMaterialShader::RenderState&, int, QSGTexture**, QSGMaterial*, QSGMaterial*) + 56 (qsgtexturematerial.cpp:53)
      2   org.qt-project.QtQuick            0x000000010c58843d QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManagerShader*, QSGMaterialShader::RenderState&, QSGMaterial*, QSGBatchRenderer::Batch const*, QSGBatchRenderer::Element*, int, int) + 1053 (qsgbatchrenderer.cpp:2861)
      3   org.qt-project.QtQuick            0x000000010c58ae60 QSGBatchRenderer::Renderer::prepareRenderUnmergedBatch(QSGBatchRenderer::Batch*, QSGBatchRenderer::Renderer::PreparedRenderBatch*) + 1520 (qsgbatchrenderer.cpp:3339)
      4   org.qt-project.QtQuick            0x000000010c58c64d QSGBatchRenderer::Renderer::prepareRenderPass(QSGBatchRenderer::Renderer::RenderPassContext*) + 2493 (qsgbatchrenderer.cpp:3770)
      5   org.qt-project.QtQuick            0x000000010c58bc07 QSGBatchRenderer::Renderer::render() + 39 (qsgbatchrenderer.cpp:3527)
      6   org.qt-project.QtQuick            0x000000010c5a390e QSGRenderer::renderScene() + 302 (qsgrenderer.cpp:147)
      7   org.qt-project.QtQuick            0x000000010c54f8c8 QQuickWindowPrivate::renderSceneGraph() + 936 (qquickwindow.cpp:654)
      8   org.qt-project.QtQuick            0x000000010c6fac68 QSGRenderThread::syncAndRender() + 1016 (qsgthreadedrenderloop.cpp:734)
      9   org.qt-project.QtQuick            0x000000010c6fbd51 QSGRenderThread::run() + 273 (qsgthreadedrenderloop.cpp:946)
      10  org.qt-project.QtCore             0x000000010dbb2e19 QThreadPrivate::start(void*)::$_0::operator()() const + 263 (qthread_unix.cpp:324) [inlined]
      11  org.qt-project.QtCore             0x000000010dbb2e19 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 263 (qthread_unix.cpp:260) [inlined]
      12  org.qt-project.QtCore             0x000000010dbb2e19 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:283)
      13  libsystem_pthread.dylib           0x00007fff203c58fc _pthread_start + 224
      14  libsystem_pthread.dylib           0x00007fff203c1443 thread_start + 15 

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            sadaszewski Stanislaw Adaszewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes