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

QOpenGLTextureBlitterPrivate::blit crashes due to unexpected null context (VxWorks)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • dev
    • QPA: EGLFS
    • None
    • VxWorks

    Description

      While testing Qt on VxWorks on the i.MX6 board, we noticed a crash in QOpenGLTextureBlitterPrivate::blit.

      QBlitterTextureBinder in constructor uses QOpenGLContext::currentContext(), it will crash if currentContext() is nullptr.

      Solution is to return from QOpenGLTextureBlitterPrivate::blit before creating QBlitterTextureBinder, when currentContext() is not set.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            jacek_poplawski Jacek Poplawski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change