Details
Description
There is a bug in libjpeg-turbo 3.0.0 where not all data is written when `WITH_SIMD` is not defined. I think to encounter the bug it must be a 64-bit platform without NEON extensions. Because it is related to an uninitialized variable, it doesn't occur 100% of the time, but it can result in a truncated JPEG file.
Opening the file afterward results in `Corrupt JPEG data: premature end of data segment` warnings and a small amount of missing data at the end of the file (usually manifests as a small rectangle of grey in the corner of the image).
I have reported the libjpeg-turbo issue here:
Attachments
Issue Links
- resulted in
-
QTBUG-118034 Bundled libjpeg-turbo should be built with SIMD enabled
- Reported
For Gerrit Dashboard: QTBUG-117804 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
512587,3 | Update bundled libjpeg-turbo to version 3.0.1 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
513405,2 | Update bundled libjpeg-turbo to version 3.0.1 | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
514002,2 | Update bundled libjpeg-turbo to version 3.0.1 | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
514109,3 | Update bundled libjpeg-turbo to version 3.0.1 | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
514166,2 | Update bundled libjpeg-turbo to version 3.0.1 | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |