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

crash destructing static QMap<QString, QIcon>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • 5.0.0 Beta 2
    • 5.0.0 Beta 1
    • None
    • Qt5 from qt-everywhere-opensource-src-5.0.0-beta1.7z downloaded August 23, 2012
      Build on ubuntu 12.04 32bit

    Description

      The attached small program adds a QIcon to a static QMap<QString,QIcon>. When the program exits, the destructor of the QMap<QString, QIcon> crashes with the following call stack.

      0 QIcon::~QIcon() /home/gary/shared/sw/qt/qt-everywhere-opensource-src-5.0.0/qtbase/lib/libQtGui.so.5 0 0xb76c5d5d
      1 QMapNode<QString, QIcon>::destroySubTree qmap.h 269 0x804ab1e
      2 QMapData<QString, QIcon>::destroy qmap.h 236 0x804a88d
      3 QMap<QString, QIcon>::~QMap qmap.h 334 0x804a5f3
      4 __run_exit_handlers exit.c 78 0xb6f27f61
      5 __GI_exit exit.c 100 0xb6f27fed
      6 __libc_start_main libc-start.c 258 0xb6f0e4db
      7 _start 0 0x80492d1

      Attachments

        Activity

          People

            Unassigned Unassigned
            skycrestway Gary Holmlund
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: