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

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

      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();
      }
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes