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

Crash when using DropShadow (of a Canvas)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Catalina
    • Platform/s:
      macOS

      Description

      I'm having repeated crashes when using QML Canvas:

      Thread 0:: Dispatch queue: com.apple.main-thread
      0   libsystem_kernel.dylib        	0x00007fff6c71ad2e _kernelrpc_mach_vm_deallocate_trap + 10
      1   libsystem_kernel.dylib        	0x00007fff6c71c399 mach_vm_deallocate + 64
      2   libsystem_malloc.dylib        	0x00007fff6c79d866 mvm_deallocate_pages + 70
      3   libsystem_malloc.dylib        	0x00007fff6c79bf46 free_large + 877
      4   com.apple.AMDRadeonX6000GLDriver	0x000000010e109d71 ATISCFreeSysMem + 12
      5   libSC.dylib                   	0x00007fff26ec8b04 Arena::Release() + 52
      6   libSC.dylib                   	0x00007fff26edd318 Compiler::Compile(ILProgram*) + 4872
      7   libSC.dylib                   	0x00007fff26edd8d9 Compiler::CompileShader(unsigned char*, unsigned char*, unsigned int const*) + 777
      8   libSC.dylib                   	0x00007fff27551c7a SCCompileShader + 298
      9   com.apple.AMDRadeonX6000GLDriver	0x000000010e11ffbd glrAMD_GFX10_SCCompileHwVertexShader + 1255
      10  com.apple.AMDRadeonX6000GLDriver	0x000000010e1565b1 glrAMD_Hwl_CompileVertexShader + 221
      11  com.apple.AMDRadeonX6000GLDriver	0x000000010e1011e3 glrUpdateCtxSysVertexProgram + 1136
      12  com.apple.AMDRadeonX6000GLDriver	0x000000010e126e0c gpusLoadCurrentPipelinePrograms + 4309
      13  com.apple.AMDRadeonX6000GLDriver	0x000000010e105875 gldUpdateDispatch + 1987
      14  GLEngine                      	0x00007fff3d0f6fc3 gleDoDrawDispatchCore + 693
      15  GLEngine                      	0x00007fff3d0d6f91 glDrawElements_ACC_Exec + 306
      16  org.qt-project.QtQuick        	0x0000000105f2029e QSGBatchRenderer::Renderer::renderUnmergedBatch(QSGBatchRenderer::Batch const*) + 1166 (qsgbatchrenderer.cpp:3243)
      17  org.qt-project.QtQuick        	0x0000000105f24f00 QSGBatchRenderer::Renderer::renderBatches() + 2688
      18  org.qt-project.QtQuick        	0x0000000105f272d6 QSGBatchRenderer::Renderer::render() + 3430 (qsgbatchrenderer.cpp:4365)
      19  org.qt-project.QtQuick        	0x0000000105f0d3cd QSGRenderer::renderScene(QSGBindable const&) + 541 (qsgrenderer.cpp:229)
      20  org.qt-project.QtQuick        	0x0000000105f0d19a QSGRenderer::renderScene(unsigned int) + 58 (qsgrenderer.cpp:218)
      21  org.qt-project.QtQuick        	0x0000000105f732e7 QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) + 71 (qsgdefaultrendercontext.cpp:230)
      22  org.qt-project.QtQuick        	0x0000000105fd827f QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) + 975 (qquickwindow.cpp:619)
      23  org.qt-project.QtQuick        	0x0000000105f60936 QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) + 3830 (qsgrenderloop.cpp:687)
      24  org.qt-project.QtQuick        	0x0000000105fdf9e2 QQuickWindow::event(QEvent*) + 834 (qquickwindow.cpp:1834)
      25  org.qt-project.QtCore         	0x00000001074e7bf8 QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) + 88 (qcoreapplication.cpp:1226)
      26  org.qt-project.QtCore         	0x00000001074e7854 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (qcoreapplication.cpp:1063)
      27  org.qt-project.QtGui          	0x0000000106508bb5 QPlatformWindow::deliverUpdateRequest() + 69 (qplatformwindow.cpp:790)
      28  libqcocoa.dylib               	0x000000010b76f456 QCocoaWindow::deliverUpdateRequest() + 182 (qcocoawindow.mm:1547)
      29  libqcocoa.dylib               	0x000000010b75b053 QCocoaScreen::deliverUpdateRequests() + 627 (qcocoascreen.mm:520)
      
      

      It works fine when I disable the drop shadow.

      //	DropShadow {
      //		anchors.fill: rect
      //		source: rect
      //		radius: 15
      //		samples: 1 + (radius * 2)
      //		verticalOffset: 10
      //		color: "lightsteelblue"
      //	}
      

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            scorp1us Jason Hihn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes