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

Crash in QHash<QJsonObject const *,QHash<int,QString> >::detach_helper on shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 Beta
    • 5.4.0
    • Core: Other
    • None
    • Windows 7, msvc2012-32bit
      Qt 5.4 git rev e3e4fe7910016 (yesterday)
      QtCreator 3.2 git rev 440c40f5341 (yesterday)

    Description

      When shutting done (as in quitting) a QtCreator 3.2 build against a current Qt 5.4 QtCreator crashes 100% reproducable (on two different systems).

      Backtrace:

       	msvcr110d.dll!__free_dbg_nolock()  + 0x690 bytes	
       	msvcr110d.dll!__nh_malloc_dbg()  + 0x7d bytes	
       	msvcr110d.dll!__nh_malloc_dbg()  + 0x2a bytes	
       	msvcr110d.dll!_malloc()  + 0x19 bytes	
       	msvcr110d.dll!operator new()  + 0xf bytes	
       	msvcr110d.dll!operator new[]()  + 0xd bytes	
      >	Qt5Cored.dll!QHashData::detach_helper(void (QHashData::Node *, void *)* node_duplicate=0x5cb72d73, void (QHashData::Node *)* node_delete=0x5cb6c1b7, int nodeSize=16, int nodeAlign=4)  Line 448 + 0x1c bytes	C++
              d->buckets = new Node *[numBuckets]; // numBuckets is -572662307
       	Qt5Cored.dll!QHash<QJsonObject const *,QHash<int,QString> >::detach_helper()  Line 601 + 0x1c bytes	C++
       	Qt5Cored.dll!QHash<QJsonObject const *,QHash<int,QString> >::detach()  Line 331 + 0x23 bytes	C++
       	Qt5Cored.dll!QHash<QJsonObject const *,QHash<int,QString> >::remove(const QJsonObject * const & akey=0x02b6c194)  Line 807	C++
       	Qt5Cored.dll!QJsonPrivate::ObjectUndefinedKeys::removeKeys(const QJsonObject * object=0x02b6c194)  Line 797	C++
       	Qt5Cored.dll!QJsonObject::~QJsonObject()  Line 164 + 0x9 bytes	C++
       	Qt5Cored.dll!QLibraryPrivate::~QLibraryPrivate()  Line 503 + 0x1a bytes	C++
       	Qt5Cored.dll!QLibraryPrivate::`scalar deleting destructor'()  + 0xf bytes	C++
       	Qt5Cored.dll!QLibraryStore::cleanup()  Line 407 + 0x1c bytes	C++
       	Qt5Cored.dll!qlibraryCleanup()  Line 427	C++
       	Qt5Cored.dll!`anonymous namespace'::qlibraryCleanup_dtor_class_::~qlibraryCleanup_dtor_class_()  Line 428 + 0xc bytes	C++
       	Qt5Cored.dll!`anonymous namespace'::`dynamic atexit destructor for 'qlibraryCleanup_dtor_instance_''()  + 0xd bytes	C++
       	Qt5Cored.dll!_CRT_INIT(void * hDllHandle=0x5cb60000, unsigned long dwReason=0, void * lpreserved=0x00000001)  Line 416	C
       	Qt5Cored.dll!__DllMainCRTStartup(void * hDllHandle=0x5cb60000, unsigned long dwReason=0, void * lpreserved=0x00000001)  Line 522 + 0x11 bytes	C
       	Qt5Cored.dll!_DllMainCRTStartup(void * hDllHandle=0x5cb60000, unsigned long dwReason=0, void * lpreserved=0x00000001)  Line 472 + 0x11 bytes	C
       	ntdll.dll!_LdrpCallInitRoutine@16()  + 0x14 bytes	
       	ntdll.dll!_LdrShutdownProcess@0()  + 0x141 bytes	
       	ntdll.dll!_RtlExitUserProcess@4()  + 0x74 bytes	
       	kernel32.dll!75de79ed() 	
       	msvcr110d.dll!___crtExitProcess()  + 0x19 bytes	
       	msvcr110d.dll!__unlockexit()  + 0x27b bytes	
       	msvcr110d.dll!_exit()  + 0x10 bytes	
       	qtcreator.exe!__tmainCRTStartup()  Line 549	C
       	qtcreator.exe!mainCRTStartup()  Line 377	C
       	kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes	
       	ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes	
       	ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes	
      

      Attachments

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

        Activity

          People

            sebsauer Sebastian Sauer
            sebsauer Sebastian Sauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes