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

QtQuick Canvas Canvas.Cooperative with Canvas.FramebufferObject crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.1, 5.6.0 RC
    • Fix Version/s: 5.6.2
    • Component/s: Quick: Other
    • Environment:
      Windows 7, mingw and msvc 2010 build, msvc2013 64-bit
      Win 10, msvc2015 x64
    • Commits:
      40a80ec9d712d8c40ebd6a6373322c3332ff5b50

      Description

      To reproduce the problem run the following code:

      import QtQuick 2.5
      import QtQuick.Window 2.2
      
      Window {
          id: win
          visible: true
          width: 200
          height: 200
      
          Canvas {
              id: canvas
              width: 100
              height: 100
              contextType: "2d"
              renderStrategy: Canvas.Cooperative
              renderTarget: Canvas.FramebufferObject
          }
      }
      

      On linux it works on Win7 it crashes, changing the renderStrategy or renderTarget makes it work, also setting the SG render loop to basic.

        Attachments

        1. backtrace.txt
          23 kB
        2. QTBUG-49692.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes