Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7746

Regression: Qt Applications crash on exit when destructor of global QPixmap container is called

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.6.2
    • 4.6.2
    • GUI: Painting
    • None
    • Mac OS X (probably other platforms too)
    • 4a5e81f5320daa82352b13e670718998b0d2d23b

    Description

      This simple example crashes on exit.

      May I blame 57c7df82ffbace8924c7ac8875ef4343783a2376 for this?

       
      #include <QtGui>
      
      QHash<QString, QPixmap> pixmapCache;
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          pixmapCache.insert("bla", QPixmap());
      
          QWidget w;
          w.show();
          return a.exec();
      }
      

      Attachments

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

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            njeisecke Nils Jeisecke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes