Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.3.1
-
None
Description
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:
- Build and run tests/manual/rendercapture-cpp
- Click 'Capture' button
The test application will crash.
Attachments
For Gerrit Dashboard: QTBUG-104534 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
418393,3 | RHI: fix Rhi::Renderer that creating bad QImage instance | dev | qt/qt3d | Status: MERGED | +2 | 0 |
418636,2 | RHI: fix Rhi::Renderer that creating bad QImage instance | 6.4 | qt/qt3d | Status: MERGED | +2 | 0 |
418637,2 | RHI: fix Rhi::Renderer that creating bad QImage instance | 6.3 | qt/qt3d | Status: MERGED | +2 | 0 |
418650,2 | RHI: fix Rhi::Renderer that creating bad QImage instance | tqtc/lts-6.2 | qt/tqtc-qt3d | Status: MERGED | +2 | 0 |