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

Crash in tst_QPixmapCache::remove()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.9
    • GUI: Painting
    • None
    • Windows 10

    Description

      I ran into this while running nmake check in tests/auto/gui/image. Running the test on its own also causes the crash.

      ********* Start testing of tst_QPixmapCache *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2015)
      PASS   : tst_QPixmapCache::initTestCase()
      PASS   : tst_QPixmapCache::cacheLimit()
      PASS   : tst_QPixmapCache::setCacheLimit()
      PASS   : tst_QPixmapCache::find()
      PASS   : tst_QPixmapCache::insert()
      PASS   : tst_QPixmapCache::replace()
      A crash occurred in C:\dev\qt5-dev-debug\qtbase\tests\auto\gui\image\qpixmapcache\debug\tst_qpixmapcache.exe.
      Function time: 2ms Total time: 766ms
      
      Exception address: 0x00007FFD809FB195
      Exception code   : 0xc0000005
      Nearby symbol    : qHash
      
      Stack:
      #  1: windowsFaultHandler() - 0x00007FFD94FFC660
      #  2: UnhandledExceptionFilter() - 0x00007FFDA3365E50
      #  3: memset() - 0x00007FFDA6A5C980
      #  4: _C_specific_handler() - 0x00007FFDA6A46B40
      #  5: _chkstk() - 0x00007FFDA6A5AA80
      #  6: RtlImageNtHeaderEx() - 0x00007FFDA69F9490
      #  7: KiUserExceptionDispatcher() - 0x00007FFDA6A59C80
      #  8: qHash() - 0x00007FFD809FB180
      #  9: qHash<QPixmapCache::Key>() - 0x00007FFD809FC5E0
      # 10: QHash<QPixmapCache::Key,QCache<QPixmapCache::Key,QPixmapCacheEntry>::Node>::findNode() - 0x00007FFD809FEA30
      # 11: QHash<QPixmapCache::Key,QCache<QPixmapCache::Key,QPixmapCacheEntry>::Node>::find() - 0x00007FFD809FE890
      # 12: QCache<QPixmapCache::Key,QPixmapCacheEntry>::remove() - 0x00007FFD809FFB30
      # 13: QPMCache::remove() - 0x00007FFD809FB940
      # 14: QPixmapCache::remove() - 0x00007FFD809FB030
      # 15: tst_QPixmapCache::remove() - 0x00007FF63ED75320
      # 16: tst_QPixmapCache::qt_static_metacall() - 0x00007FF63ED72610
      # 17: QMetaMethod::invoke() - 0x0000000050AF3920
      # 18: QMetaMethod::invoke() - 0x00000000506E9D00
      # 19: QTest::TestMethods::invokeTestOnData() - 0x00007FFD94FF9920
      # 20: QTest::TestMethods::invokeTest() - 0x00007FFD94FF93A0
      # 21: QTest::TestMethods::invokeTests() - 0x00007FFD94FF8920
      # 22: QTest::qExec() - 0x00007FFD94FF53D0
      # 23: main() - 0x00007FF63ED779D0
      # 24: invoke_main() - 0x00007FF63ED7BA90
      # 25: __scrt_common_main_seh() - 0x00007FF63ED7B840
      # 26: __scrt_common_main() - 0x00007FF63ED7B820
      # 27: mainCRTStartup() - 0x00007FF63ED7BAE0
      # 28: BaseThreadInitThunk() - 0x00007FFDA61D8350
      # 29: RtlUserThreadStart() - 0x00007FFDA6A170B0
      

      Attachments

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes