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

Choosing Available Fonts in quick/text example crashes with Metal

    XMLWordPrintable

Details

    • 83a61c9f69a4c5571b9994de1696df264d403df4 (qt/qtdeclarative/5.15)

    Description

      Tested 5.14 beta 2 on macOS 10.14.6. With QSG_RHI=1 (rendering via QRhi and Metal), selecting Available Fonts in the text examples crashes.

      Does not happen with the default, OpenGL rendering path.

      Does not happen on Windows with D3D or Vulkan either.

       

      * thread #8, name = 'QSGRenderThread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
          frame #0: 0x00000001001dba36 QtQuick`___lldb_unnamed_symbol2762$$QtQuick + 246
          frame #1: 0x00000001001dbe4c QtQuick`___lldb_unnamed_symbol2768$$QtQuick + 28
        * frame #2: 0x00000001001979f1 QtQuick`QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManager::Shader*, QSGMaterialRhiShader::RenderState&, QSGMaterial*, QVarLengthArray<QRhiShaderResourceBinding, 8>*, QSGBatchRenderer::Batch const*, int, int) + 129
          frame #3: 0x0000000100198642 QtQuick`QSGBatchRenderer::Renderer::prepareRenderMergedBatch(QSGBatchRenderer::Batch*, QSGBatchRenderer::Renderer::PreparedRenderBatch*) + 962
          frame #4: 0x000000010019af65 QtQuick`QSGBatchRenderer::Renderer::renderBatches() + 1205
          frame #5: 0x000000010019d896 QtQuick`QSGBatchRenderer::Renderer::render() + 3350
          frame #6: 0x0000000100183c7d QtQuick`QSGRenderer::renderScene(QSGBindable const&) + 541
          frame #7: 0x0000000100183a4a QtQuick`QSGRenderer::renderScene(unsigned int) + 58
          frame #8: 0x000000010024a881 QtQuick`QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) + 961
          frame #9: 0x00000001001f57e7 QtQuick`___lldb_unnamed_symbol3072$$QtQuick + 2119
          frame #10: 0x00000001001f6e2c QtQuick`___lldb_unnamed_symbol3080$$QtQuick + 652
          frame #11: 0x0000000101133aa9 QtCore`___lldb_unnamed_symbol233$$QtCore + 329
          frame #12: 0x00007fff5b2732eb libsystem_pthread.dylib`_pthread_body + 126
          frame #13: 0x00007fff5b276249 libsystem_pthread.dylib`_pthread_start + 66
          frame #14: 0x00007fff5b27240d libsystem_pthread.dylib`thread_start + 13
       

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes