Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14.0 Beta2, 5.15
-
None
-
290251541e615358dcc7a289ff2adb30f309c132 (qt/qtdeclarative/5.14.0)
Description
In an application which loads multiple images over the network, a crash could be observed (see backtrace).
This happened after creating an Image inside a StackView (among other things), and then quickly navigating away shortly afterwards.
The reason for the crash is that job->data is nullptr, and in contrast to line 890, we don't check for that before assigning to job->data->frameCount.
I haven't tried to create a reproducible test case yet.
Attachments
For Gerrit Dashboard: QTBUG-79937 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
283560,4 | QQuickPixmapCache: Don't dereference nullptr | 5.14.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
284065,2 | QQuickPixmapCache: Don't dereference nullptr | 5.14 | qt/qtdeclarative | Status: MERGED | 0 | 0 |