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

Crash when removing docked QQuickWidget in multiscreen setup with Qt 5

    XMLWordPrintable

Details

    • Windows
    • a6bd340fa9 (qt/tqtc-qtdeclarative/5.15)

    Description

      When removing a QQuickWidget that is rendering a qml element from a dock and placing it back in above another dock element, trying to remove it again results in a crash.

      Compile output reads

      QOpenGLShaderProgram::bind: program is not valid in the current context.

      When debugging an error message reading the following comes up when it crashes:

      The inferior stopped because it triggered an exception.
      Stopped in thread 0 by: Exception at 0x2787b3da410, code: 0xc0000005: write access violation at: 0x2787b3da410, flags=0x0 (first chance).

       

      Only occurs on a multiscreen setup when the window width is set to larger than that of the main screen. If the qml element is completely empty the issue does not occur. Placing the QQuickWidget anywhere else or deleting the other dock widget first does not result in the issue happening. Issue does not occur in Qt 6.x

      Attachments

        1. QmlCrash.zip
          3 kB
        2. qtbug100579_stack.txt
          20 kB
        3. qtbug100579.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            kevin.zhang Kevin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes