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

QML canvas crashing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      Linux
      OS X
    • Platform/s:
      Linux/X11, macOS

      Description

      See the test from QTBUG-47152, which crashes on resizing.

      Also there is qtdeclarative/tests/manual/touch. flicktext.qml contains a Canvas, so if you select that test and then try to flick, or resize, it crashes like this on Linux:

      Program received signal SIGSEGV, Segmentation fault.
      0x0000000000000000 in ?? ()
      (gdb) bt
      #0  0x0000000000000000 in ?? ()
      #1  0x00007ffff7a19091 in QSGOpaqueTextureMaterial::setTexture (this=0xd649c8, texture=0xd64a20)
          at /home/rutledge/dev/qt55/qtdeclarative/src/quick/scenegraph/util/qsgtexturematerial.cpp:195
      #2  0x00007ffff7a18175 in QSGSimpleTextureNode::setTexture (this=0xd64890, texture=0xd64a20)
          at /home/rutledge/dev/qt55/qtdeclarative/src/quick/scenegraph/util/qsgsimpletexturenode.cpp:229
      #3  0x00007ffff7bbd77f in QQuickCanvasItem::updatePaintNode (this=0xbbaf20, oldNode=0xd64890)
          at /home/rutledge/dev/qt55/qtdeclarative/src/quick/items/context2d/qquickcanvasitem.cpp:765
      #4  0x00007ffff7a959d9 in QQuickWindowPrivate::updateDirtyNode (this=0x50e270, item=0xbbaf20) at /home/rutledge/dev/qt55/qtdeclarative/src/quick/items/qquickwindow.cpp:2984
      #5  0x00007ffff7a94841 in QQuickWindowPrivate::updateDirtyNodes (this=0x50e270) at /home/rutledge/dev/qt55/qtdeclarative/src/quick/items/qquickwindow.cpp:2722
      #6  0x00007ffff7a88746 in QQuickWindowPrivate::syncSceneGraph (this=0x50e270) at /home/rutledge/dev/qt55/qtdeclarative/src/quick/items/qquickwindow.cpp:341
      #7  0x00007ffff7a4f16a in QSGGuiThreadRenderLoop::renderWindow (this=0x558590, window=0x50ea80)
          at /home/rutledge/dev/qt55/qtdeclarative/src/quick/scenegraph/qsgrenderloop.cpp:372
      #8  0x00007ffff7a4f8a3 in QSGGuiThreadRenderLoop::event (this=0x558590, e=0x7fffffffc300) at /home/rutledge/dev/qt55/qtdeclarative/src/quick/scenegraph/qsgrenderloop.cpp:474
      #9  0x00007ffff6813e8e in QCoreApplicationPrivate::notify_helper (this=0x41e680, receiver=0x558590, event=0x7fffffffc300)
          at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qcoreapplication.cpp:1093
      #10 0x00007ffff6813b70 in QCoreApplication::notify (this=0x7fffffffc720, receiver=0x558590, event=0x7fffffffc300)
          at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qcoreapplication.cpp:1038
      #11 0x00007ffff7285402 in QGuiApplication::notify (this=0x7fffffffc720, object=0x558590, event=0x7fffffffc300)
          at /home/rutledge/dev/qt55/qtbase/src/gui/kernel/qguiapplication.cpp:1537
      #12 0x00007ffff6813a7a in QCoreApplication::notifyInternal (this=0x7fffffffc720, receiver=0x558590, event=0x7fffffffc300)
          at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qcoreapplication.cpp:965
      #13 0x00007ffff6817799 in QCoreApplication::sendEvent (receiver=0x558590, event=0x7fffffffc300) at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qcoreapplication.h:224
      #14 0x00007ffff6887efc in QTimerInfoList::activateTimers (this=0x472030) at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:637
      #15 0x00007ffff688921a in timerSourceDispatch (source=0x471fd0) at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:177
      #16 0x00007ffff6889301 in idleTimerSourceDispatch (source=0x472080) at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:224
      #17 0x00007ffff1fe89fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      #18 0x00007ffff1fe8ce0 in ?? () from /usr/lib/libglib-2.0.so.0
      #19 0x00007ffff1fe8d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
      #20 0x00007ffff6889bcb in QEventDispatcherGlib::processEvents (this=0x471c60, flags=...) at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418
      #21 0x00007fffeea02d9c in QPAEventDispatcherGlib::processEvents (this=0x471c60, flags=...)
          at /home/rutledge/dev/qt55/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:115
      #22 0x00007ffff6810638 in QEventLoop::processEvents (this=0x7fffffffc650, flags=...) at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qeventloop.cpp:128
      #23 0x00007ffff681092c in QEventLoop::exec (this=0x7fffffffc650, flags=...) at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qeventloop.cpp:204
      #24 0x00007ffff6814158 in QCoreApplication::exec () at /home/rutledge/dev/qt55/qtbase/src/corelib/kernel/qcoreapplication.cpp:1229
      #25 0x00007ffff72853b2 in QGuiApplication::exec () at /home/rutledge/dev/qt55/qtbase/src/gui/kernel/qguiapplication.cpp:1528
      #26 0x0000000000400ca5 in main (argc=1, argv=0x7fffffffc848) at main.cpp:50
      

        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:
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes