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

Context conflict in createPainter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.0.0
    • Multimedia
    • None
    • Windows XP, Qt 4.8.0 beta (also tested on 4.7.4)

    Description

      When loading a movie into a Video tag in QML (setting source) and using shaders (Qt.labs.shaders 1.0) the application crash on an OpenGL call in the video renderer.
      It seems to start here:
      QPainterVideoSurface::createPainter():1668
      m_glContext->makeCurrent();
      Which leads to:
      >QGLContext::makeCurrent() : wglMakeCurrent failed: The requested resource is in use.
      And then:
      >QObject: Cannot create children for a parent that is in a different thread.
      >(Parent is QGLShaderProgram(0x4770618), parent's thread is QThread(0x471f3c8), current thread is QThread(0xcede68)
      >QObject: Cannot create children for a parent that is in a different thread.
      >(Parent is QGLShaderProgram(0x4770618), parent's thread is QThread(0x471f3c8), current thread is QThread(0xcede68)
      Followed by a crash at the next OpenGL call.

      Attachments

        1. opengl_caps.png
          204 kB
          Brynjard
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            slartibart Brynjard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes