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

QImage received from QRenderCapture using Qt3D RHI renderer causes crash.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 6.3.1
    • Qt3D
    • None

      With the Qt3D RHI renderer (default in Qt 6.3.1), the QImage received from QRenderCapture points to the freed address.

      Therefore, calling QImage::bits causes a crash.

      Reproduction procedure:

      1. Build and run tests/manual/rendercapture-cpp
      2. Click 'Capture' button

      The test application will crash.

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

            seanharmer Sean Harmer
            ayamamoto Atsushi Yamamoto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes