-
Sub-task
-
Resolution: Duplicate
-
P1: Critical
-
None
-
None
-
VS 2015, Windows 7 SP1, Windows 8
Crash when loading large JPG.
QPixmap p;
p.load("image.jpg");
Crash in
QPMCache::insert(const QString&, const QPixmap &, int)
when
QCache<QPixmapCache::Key, QPixmapCacheEntry>::insert
return false.
cacheKeys.remove(key); releaseKey(cacheKey);
After removing key from the cacheKeys, the cacheKey calls deref and self destroys. releaseKey is call with already destroyed object.
Probably, releaseKey should be called before removing from the cacheKeys.
- relates to
-
QTBUG-58259 Crash when loading large JPG
-
- Closed
-