Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19908

QtCreator crashed when creating new c++ class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • Qt Creator 4.2.0-beta1
    • None
    • Windows

    Description

      When creating a new c++ class Qt Creator crashed in the c++ class wizard on the details page, when clicking Next
      I had entered a class name and picked Custom for base class and entered a base class that already exists in the project

      (682c.f3e4): Access violation - code c0000005 (!!! second chance !!!)
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Qml.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Qml.dll -
      eax=00000000 ebx=7052ae88 ecx=7efdd000 edx=00000008 esi=00000000 edi=7a35aa28
      eip=6547e880 esp=0042ca44 ebp=7e4b8e78 iopl=0 nv up ei pl zr na pe nc
      cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
      Qt5Qml!QV4::JIT::InstructionSelection::visitRet+0x36b0:
      6547e880 8935efbeadbb mov dword ptr ds:[0BBADBEEFh],esi ds:002b:bbadbeef=????????
      0:000> kb
      # ChildEBP RetAddr Args to Child
      WARNING: Stack unwind information not available. Following frames may be wrong.
      00 0042ca44 65493fd3 00800000 ffffffff 00000001 Qt5Qml!QV4::JIT::InstructionSelection::visitRet+0x36b0
      01 0042ca6c 00465e7b 00550000 00000000 000000b8 Qt5Qml!QV4::ExecutionEngine::ExecutionEngine+0x203
      02 0042ca84 6559324e 000000b8 0042cb10 7e4b8e78 ucrtbase!malloc+0x2b
      03 0042ca9c 65562377 00000000 0042cb3c 79ddfdf0 Qt5Qml!QQmlTimer::triggeredOnStartChanged+0x8ce
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\bin\Utils4.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Qt\qtcreator-4.2.0-beta1\bin\Utils4.dll -
      04 0042cb10 0f7f8b32 bc35ad89 0042ce5c ffffffff Qt5Qml!QV8Engine::QV8Engine+0x177
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\lib\qtcreator\plugins\ProjectExplorer4.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Qt\qtcreator-4.2.0-beta1\lib\qtcreator\plugins\ProjectExplorer4.dll -
      05 0042cb90 0335a0ea 0042cbf0 0042cbf8 0042cbf4 Utils4!Utils::TemplateEngine::processText+0xe2
      06 0042cc3c 03358ef1 0042cc6c 6fc27cb0 7be1a17c ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0x20fa
      07 0042cc7c 03358400 0042ccc8 7d1202a8 7d1202b0 ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0xf01
      08 0042ccbc 0335898c 0042cde4 0042cdec 7a035968 ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0x410
      09 0042cdf0 033504f0 0042ce54 7be1a17c 671dcfd4 ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0x99c
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Core.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Core.dll -
      0a 0042ce28 6712b753 034cd110 12ba1f10 00000000 ProjectExplorer4!ProjectExplorer::JsonWizard::generateFileList+0x180
      0b 0042ce70 0334e5a9 0042ce98 bc18c288 7a357638 Qt5Core!QObject::setProperty+0x1d3
      0c 0042cea8 0334de39 bc18c328 7985aaa8 7985ac38 ProjectExplorer4!ProjectExplorer::SessionManager::tr+0x259
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Widgets.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Widgets.dll -
      0d 0042cf08 6432e5f1 64332924 00000001 7985aaa8 ProjectExplorer4!ProjectExplorer::SessionManager::`default constructor closure'+0x859
      0e 0042cf0c 64332924 00000001 7985aaa8 00000001 Qt5Widgets!QWizard::initializePage+0x41
      0f 0042cf24 6432f171 00000000 7985aaa8 6432f0ca Qt5Widgets!QWizardPage::subTitle+0x1c4
      10 0042cf30 6432f0ca 00000001 7e547f90 7aaa4310 Qt5Widgets!QWizardPage::nextId+0x51
      11 0042cf5c 67124b6d 7be1a158 00000000 00000006 Qt5Widgets!QWizard::next+0x9a
      12 0042d27c 64183b26 1a534560 0042d3c4 1a534560 Qt5Core!QMetaObject::activate+0x4fd
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Gui.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Qt\qtcreator-4.2.0-beta1\bin\Qt5Gui.dll -
      13 0042d608 0067971e 7aaadd48 0042d620 70494124 Qt5Widgets!QApplicationPrivate::sendMouseEvent+0x2d6
      14 0042d848 772c62fa 000d19ae 00000401 00000000 Qt5Gui!QGuiApplicationPrivate::processMouseEvent+0x6ae
      15 0042d8ec 772c77c4 00000000 67145770 000d19ae USER32!InternalCallWinProc+0x23
      16 0042d93c 7732a6b5 cb5b79c2 fffffffe 0042d95c USER32!DispatchMessageWorker+0x3b5
      17 0042f658 77e5e0a3 00000000 1269a4e8 00160020 USER32!wcscpy_s+0xa
      18 0042f760 671cdea0 00000001 0042f7c4 67105a0d ntdll!RtlFreeHeap+0x105
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\bin\qtcreator.exe
      *** ERROR: Module load completed but symbols could not be loaded for C:\Qt\qtcreator-4.2.0-beta1\bin\qtcreator.exe
      19 0042f7c4 00c17091 b52af5da 0056f3a0 0000002e Qt5Core!qMalloc+0x16510
      1a 0042f908 00c18884 00000001 00569db0 00000000 qtcreator+0x7091
      1b 0042f988 75e9336a 7efde000 0042f9d4 77e69902 qtcreator+0x8884
      1c 0042f9c4 77ea58c4 094b5dfb 00000000 0042f9ec kernel32!BaseThreadInitThunk+0xe
      1d 0042f9d4 77e698d5 00c17c68 7efde000 00000000 ntdll!SQM_SETIFMIN_DWORD+0x4
      1e 0042f9ec 00000000 00c17c68 7efde000 00000000 ntdll!_RtlUserThreadStart+0x1b
      0:000> !analyze -v
      *******************************************************************************
      * *
      * Exception Analysis *
      * *
      *******************************************************************************
      
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\nvoglv32.DLL -
      *** WARNING: Unable to verify checksum for C:\Qt\qtcreator-4.2.0-beta1\lib\qtcreator\plugins\QmlJSEditor4.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Qt\qtcreator-4.2.0-beta1\lib\qtcreator\plugins\QmlJSEditor4.dll -
      
      DUMP_CLASS: 2
      
      DUMP_QUALIFIER: 0
      
      FAULTING_IP:
      Qt5Qml!QV4::JIT::InstructionSelection::visitRet+36b0
      6547e880 8935efbeadbb mov dword ptr ds:[0BBADBEEFh],esi
      
      EXCEPTION_RECORD: (.exr -1)
      ExceptionAddress: 6547e880 (Qt5Qml!QV4::JIT::InstructionSelection::visitRet+0x000036b0)
      ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
      NumberParameters: 2
      Parameter[0]: 00000001
      Parameter[1]: bbadbeef
      Attempt to write to address bbadbeef
      
      FAULTING_THREAD: 0000f3e4
      
      DEFAULT_BUCKET_ID: INVALID_POINTER_WRITE
      
      PROCESS_NAME: qtcreator.exe
      
      ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0xlx referenced memory at 0xlx. The memory could not be %s.
      
      EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0xlx referenced memory at 0xlx. The memory could not be %s.
      
      EXCEPTION_CODE_STR: c0000005
      
      EXCEPTION_PARAMETER1: 00000001
      
      EXCEPTION_PARAMETER2: bbadbeef
      
      FOLLOWUP_IP:
      Qt5Qml!QV4::JIT::InstructionSelection::visitRet+36b0
      6547e880 8935efbeadbb mov dword ptr ds:[0BBADBEEFh],esi
      
      WRITE_ADDRESS: bbadbeef
      
      BUGCHECK_STR: INVALID_POINTER_WRITE
      
      WATSON_BKT_PROCSTAMP: 5810152c
      
      WATSON_BKT_MODULE: Qt5Qml.dll
      
      WATSON_BKT_MODSTAMP: 57f5f459
      
      WATSON_BKT_MODOFFSET: 8e880
      
      WATSON_BKT_MODVER: 5.7.1.0
      
      MODULE_VER_PRODUCT: Qt5
      
      BUILD_VERSION_STRING: 6.1.7601.18015 (win7sp1_gdr.121129-1432)
      
      MODLIST_WITH_TSCHKSUM_HASH: 2d2933c469fc5b16f303cb37cd3cb734fc9305f1
      
      MODLIST_SHA1_HASH: 076aef0109eb7c8376503053ab99cb91d3feca76
      
      NTGLOBALFLAG: 0
      
      APPLICATION_VERIFIER_FLAGS: 0
      
      PRODUCT_TYPE: 1
      
      SUITE_MASK: 272
      
      ANALYSIS_SESSION_HOST: DMAID0842
      
      ANALYSIS_SESSION_TIME: 12-14-2016 07:40:17.0784
      
      ANALYSIS_VERSION: 10.0.14321.1024 x86fre
      
      THREAD_ATTRIBUTES:
      OS_LOCALE: DEU
      
      PROBLEM_CLASSES:
      
      
      
      INVALID_POINTER_WRITE
      Tid [0xf3e4]
      Frame [0x00]: Qt5Qml!QV4::JIT::InstructionSelection::visitRet
      
      
      LAST_CONTROL_TRANSFER: from 65493fd3 to 6547e880
      
      STACK_TEXT:
      WARNING: Stack unwind information not available. Following frames may be wrong.
      0042ca44 65493fd3 00800000 ffffffff 00000001 Qt5Qml!QV4::JIT::InstructionSelection::visitRet+0x36b0
      0042ca6c 00465e7b 00550000 00000000 000000b8 Qt5Qml!QV4::ExecutionEngine::ExecutionEngine+0x203
      0042ca84 6559324e 000000b8 0042cb10 7e4b8e78 ucrtbase!malloc+0x2b
      0042ca9c 65562377 00000000 0042cb3c 79ddfdf0 Qt5Qml!QQmlTimer::triggeredOnStartChanged+0x8ce
      0042cb10 0f7f8b32 bc35ad89 0042ce5c ffffffff Qt5Qml!QV8Engine::QV8Engine+0x177
      0042cb90 0335a0ea 0042cbf0 0042cbf8 0042cbf4 Utils4!Utils::TemplateEngine::processText+0xe2
      0042cc3c 03358ef1 0042cc6c 6fc27cb0 7be1a17c ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0x20fa
      0042cc7c 03358400 0042ccc8 7d1202a8 7d1202b0 ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0xf01
      0042ccbc 0335898c 0042cde4 0042cdec 7a035968 ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0x410
      0042cdf0 033504f0 0042ce54 7be1a17c 671dcfd4 ProjectExplorer4!ProjectExplorer::JsonWizardFactory::verbose+0x99c
      0042ce28 6712b753 034cd110 12ba1f10 00000000 ProjectExplorer4!ProjectExplorer::JsonWizard::generateFileList+0x180
      0042ce70 0334e5a9 0042ce98 bc18c288 7a357638 Qt5Core!QObject::setProperty+0x1d3
      0042cea8 0334de39 bc18c328 7985aaa8 7985ac38 ProjectExplorer4!ProjectExplorer::SessionManager::tr+0x259
      0042cf08 6432e5f1 64332924 00000001 7985aaa8 ProjectExplorer4!ProjectExplorer::SessionManager::`default constructor closure'+0x859
      0042cf0c 64332924 00000001 7985aaa8 00000001 Qt5Widgets!QWizard::initializePage+0x41
      0042cf24 6432f171 00000000 7985aaa8 6432f0ca Qt5Widgets!QWizardPage::subTitle+0x1c4
      0042cf30 6432f0ca 00000001 7e547f90 7aaa4310 Qt5Widgets!QWizardPage::nextId+0x51
      0042cf5c 67124b6d 7be1a158 00000000 00000006 Qt5Widgets!QWizard::next+0x9a
      0042d27c 64183b26 1a534560 0042d3c4 1a534560 Qt5Core!QMetaObject::activate+0x4fd
      0042d608 0067971e 7aaadd48 0042d620 70494124 Qt5Widgets!QApplicationPrivate::sendMouseEvent+0x2d6
      0042d848 772c62fa 000d19ae 00000401 00000000 Qt5Gui!QGuiApplicationPrivate::processMouseEvent+0x6ae
      0042d8ec 772c77c4 00000000 67145770 000d19ae USER32!InternalCallWinProc+0x23
      0042d93c 7732a6b5 cb5b79c2 fffffffe 0042d95c USER32!DispatchMessageWorker+0x3b5
      0042f658 77e5e0a3 00000000 1269a4e8 00160020 USER32!wcscpy_s+0xa
      0042f760 671cdea0 00000001 0042f7c4 67105a0d ntdll!RtlFreeHeap+0x105
      0042f7c4 00c17091 b52af5da 0056f3a0 0000002e Qt5Core!qMalloc+0x16510
      0042f908 00c18884 00000001 00569db0 00000000 qtcreator+0x7091
      0042f988 75e9336a 7efde000 0042f9d4 77e69902 qtcreator+0x8884
      0042f9c4 77ea58c4 094b5dfb 00000000 0042f9ec kernel32!BaseThreadInitThunk+0xe
      0042f9d4 77e698d5 00c17c68 7efde000 00000000 ntdll!SQM_SETIFMIN_DWORD+0x4
      0042f9ec 00000000 00c17c68 7efde000 00000000 ntdll!_RtlUserThreadStart+0x1b
      
      
      THREAD_SHA1_HASH_MOD_FUNC: 67cfc7b641d9adb82bd0c5afc1349133366f6991
      
      THREAD_SHA1_HASH_MOD_FUNC_OFFSET: 5f3e4975b8074814d77802b1bcc1cd1ed4a96701
      
      THREAD_SHA1_HASH_MOD: aec53b0cecf3e0ce5479ba84ca37b1b378a9deb5
      
      FAULT_INSTR_CODE: beef3589
      
      SYMBOL_STACK_INDEX: 0
      
      SYMBOL_NAME: Qt5Qml!QV4::JIT::InstructionSelection::visitRet+36b0
      
      FOLLOWUP_NAME: MachineOwner
      
      MODULE_NAME: Qt5Qml
      
      IMAGE_NAME: Qt5Qml.dll
      
      DEBUG_FLR_IMAGE_TIMESTAMP: 57f5f459
      
      STACK_COMMAND: ~0s ; kb
      
      BUCKET_ID: INVALID_POINTER_WRITE_Qt5Qml!QV4::JIT::InstructionSelection::visitRet+36b0
      
      PRIMARY_PROBLEM_CLASS: INVALID_POINTER_WRITE_Qt5Qml!QV4::JIT::InstructionSelection::visitRet+36b0
      
      FAILURE_EXCEPTION_CODE: c0000005
      
      FAILURE_IMAGE_NAME: Qt5Qml.dll
      
      BUCKET_ID_IMAGE_STR: Qt5Qml.dll
      
      FAILURE_MODULE_NAME: Qt5Qml
      
      BUCKET_ID_MODULE_STR: Qt5Qml
      
      FAILURE_FUNCTION_NAME: QV4::JIT::InstructionSelection::visitRet
      
      BUCKET_ID_FUNCTION_STR: QV4::JIT::InstructionSelection::visitRet
      
      BUCKET_ID_OFFSET: 36b0
      
      BUCKET_ID_MODTIMEDATESTAMP: 57f5f459
      
      BUCKET_ID_MODCHECKSUM: 0
      
      BUCKET_ID_MODVER_STR: 5.7.1.0
      
      BUCKET_ID_PREFIX_STR: INVALID_POINTER_WRITE_
      
      FAILURE_PROBLEM_CLASS: INVALID_POINTER_WRITE
      
      FAILURE_SYMBOL_NAME: Qt5Qml.dll!QV4::JIT::InstructionSelection::visitRet
      
      FAILURE_BUCKET_ID: INVALID_POINTER_WRITE_c0000005_Qt5Qml.dll!QV4::JIT::InstructionSelection::visitRet
      
      TARGET_TIME: 2016-12-14T06:40:54.000Z
      
      OSBUILD: 7601
      
      OSSERVICEPACK: 1
      
      SERVICEPACK_NUMBER: 0
      
      OS_REVISION: 0
      
      OSPLATFORM_TYPE: x86
      
      OSNAME: Windows 7
      
      OSEDITION: Windows 7 WinNt (Service Pack 1) SingleUserTS
      
      USER_LCID: 0
      
      OSBUILD_TIMESTAMP: 2016-10-07 17:15:42
      
      BUILDDATESTAMP_STR: 121129-1432
      
      BUILDLAB_STR: win7sp1_gdr
      
      BUILDOSVER_STR: 6.1.7601.18015
      
      ANALYSIS_SESSION_ELAPSED_TIME: 8e55
      
      ANALYSIS_SOURCE: UM
      
      FAILURE_ID_HASH_STRING: um:invalid_pointer_write_c0000005_qt5qml.dll!qv4::jit::instructionselection::visitret
      
      FAILURE_ID_HASH: {aeda066c-499c-6286-5c7a-67c357a7ba91}
      
      Followup: MachineOwner 
      

      Attachments

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

        Activity

          People

            tuheimon Tuomas Heimonen (Inactive)
            tuheimon Tuomas Heimonen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes