XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None
    • Environment:

      VS 2015, Windows 7 SP1, Windows 8

    • Technical Risk:
      Normal

      Description

      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.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              sletta Gunnar Sletta
              Reporter:
              sargtlin Kozlov Ilya
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes