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

Crash when start program(qt6cored.dll)

    XMLWordPrintable

Details

    • Windows
    • 96f16e7487f9a78fdb4059d8f839c552bab8f341 (qtbase/dev), 96f16e7487f9a78fdb4059d8f839c552bab8f341 (qtbase/6.2), 9bd117cb8c580a6b8b28eabd15f070282793ff3c (qtbase/6.3)

    Description

      It works ok at first, but after one compile it crashed, but debug version still work ok.(All complie on Visual Studio 2019)

      I don't know how to reproduce this bugs, It may depends on environment because it work ok on this computer but crash on another computer, vice versa.

      The dump file has 300 MB and can't upload.

      Here is analyzed by windbg:

      GetUrlPageData2 (WinHttp) failed: 12002.

      KEY_VALUES_STRING: 1

      STACKHASH_ANALYSIS: 1

      TIMELINE_ANALYSIS: 1

      Timeline: !analyze.Start
      Name: <blank>
      Time: 2022-02-25T07:52:00.993Z
      Diff: 3858993 mSec

      Timeline: Dump.Current
      Name: <blank>
      Time: 2022-02-25T06:47:42.0Z
      Diff: 0 mSec

      Timeline: Process.Start
      Name: <blank>
      Time: 2022-02-25T06:46:09.0Z
      Diff: 93000 mSec

      Timeline: OS.Boot
      Name: <blank>
      Time: 2022-02-25T04:19:10.0Z
      Diff: 8912000 mSec

      DUMP_CLASS: 2

      DUMP_QUALIFIER: 400

      CONTEXT: (.ecxr)
      rax=0000018dc4795000 rbx=000000007ffe0385 rcx=0000000000000000
      rdx=00007fffd9890270 rsi=000000821b8fe620 rdi=000000821b8fe630
      rip=00007fffd927c32c rsp=000000821b8fe580 rbp=000000821b8ff400
      r8=0000000000000004 r9=0000000000000000 r10=0000018dc4794fb2
      r11=0000018dc4794fe2 r12=00007fffd70024c8 r13=000000821b8ff901
      r14=00007fffd7000000 r15=000000821b8ff910
      iopl=0 nv up ei pl zr na po nc
      cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
      Qt6Cored!QString::fromLatin1+0x1ac:
      00007fff`d927c32c 668908 mov word ptr [rax],cx ds:0000018d`c4795000=????
      Resetting default scope

      FAULTING_IP:
      Qt6Cored!QString::fromLatin1+1ac [C:\Users\qt\work\qt\qtbase\src\corelib\text\qstring.cpp @ 5353]
      00007fff`d927c32c 668908 mov word ptr [rax],cx

      EXCEPTION_RECORD: (.exr -1)
      ExceptionAddress: 00007fffd927c32c (Qt6Cored!QString::fromLatin1+0x00000000000001ac)
      ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
      NumberParameters: 2
      Parameter[0]: 0000000000000001
      Parameter[1]: 0000018dc4795000
      Attempt to write to address 0000018dc4795000

      FOLLOWUP_IP:
      Qt6Cored!QString::fromLatin1+1ac [C:\Users\qt\work\qt\qtbase\src\corelib\text\qstring.cpp @ 5353]
      00007fff`d927c32c 668908 mov word ptr [rax],cx

      WRITE_ADDRESS: 0000018dc4795000

      ERROR_CODE: (NTSTATUS) 0xc0000005 - <Unable to get error code text>

      EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - <Unable to get error code text>

      EXCEPTION_CODE_STR: c0000005

      EXCEPTION_PARAMETER1: 0000000000000001

      EXCEPTION_PARAMETER2: 0000018dc4795000

      WATSON_BKT_PROCSTAMP: 621875e5

      WATSON_BKT_PROCVER: 0.0.0.8

      PROCESS_VER_PRODUCT: scannerd

      WATSON_BKT_MODULE: Qt6Cored.dll

      WATSON_BKT_MODSTAMP: 61e65f47

      WATSON_BKT_MODOFFSET: 40c32c

      WATSON_BKT_MODVER: 6.2.3.0

      MODULE_VER_PRODUCT: Qt6

      BUILD_VERSION_STRING: 17763.1.amd64fre.rs5_release.180914-1434

      MODLIST_WITH_TSCHKSUM_HASH: f5a97573ffbfc7624f81a104ef1f72fe63c3b156

      MODLIST_SHA1_HASH: fe8b5e43f0a2408a2d29211ec049f646924e7d90

      NTGLOBALFLAG: 2000000

      PROCESS_BAM_CURRENT_THROTTLED: 0

      PROCESS_BAM_PREVIOUS_THROTTLED: 0

      APPLICATION_VERIFIER_FLAGS: 0

      PRODUCT_TYPE: 1

      SUITE_MASK: 272

      DUMP_FLAGS: c07

      DUMP_TYPE: 3

      APPLICATION_VERIFIER_LOADED: 1

      PROCESS_NAME: unknown

      ANALYSIS_SESSION_HOST: DESKTOP-PCSVAI0

      ANALYSIS_SESSION_TIME: 02-25-2022 15:52:00.0993

      ANALYSIS_VERSION: 10.0.17763.132 amd64fre

      THREAD_ATTRIBUTES:
      OS_LOCALE: CHS

      BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_WRITE_AVRF

      DEFAULT_BUCKET_ID: INVALID_POINTER_WRITE_AVRF

      PRIMARY_PROBLEM_CLASS: APPLICATION_FAULT

      PROBLEM_CLASSES:

      ID: [0n313]
      Type: [@ACCESS_VIOLATION]
      Class: Addendum
      Scope: BUCKET_ID
      Name: Omit
      Data: Omit
      PID: [Unspecified]
      TID: [0x4b8]
      Frame: [0] : Qt6Cored!QString::fromLatin1

      ID: [0n286]
      Type: [INVALID_POINTER_WRITE]
      Class: Primary
      Scope: DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
      BUCKET_ID
      Name: Add
      Data: Omit
      PID: [Unspecified]
      TID: [0x4b8]
      Frame: [0] : Qt6Cored!QString::fromLatin1

      ID: [0n98]
      Type: [AVRF]
      Class: Addendum
      Scope: DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
      BUCKET_ID
      Name: Add
      Data: Omit
      PID: [0x14a0]
      TID: [0x4b8]
      Frame: [0] : Qt6Cored!QString::fromLatin1

      LAST_CONTROL_TRANSFER: from 00007fffd8ee4b03 to 00007fffd927c32c

      STACK_TEXT:
      00000082`1b8fe580 00007fff`d8ee4b03 : 00000082`1b8fe720 00000082`1b8fe6c0 00000000`00000004 00000082`1b8fe720 : Qt6Cored!QString::fromLatin1+0x1ac
      00000082`1b8fe690 00007fff`d8eda8bf : 00000082`1b8fe720 00007fff`d8062648 00000000`00000004 00007fff`d70d5d61 : Qt6Cored!QString::fromLatin1+0x83
      00000082`1b8fe700 00007fff`d705c9aa : 00007fff`d8460b30 00000082`1b8feb90 0000018d`b583f000 00000000`000000e0 : Qt6Cored!QString::QString+0x4f
      00000082`1b8fe760 00007fff`f5d34299 : 00000000`7ffe0385 00007fff`d7f1d782 00000000`00000000 00007fff`d7f437a8 : Qt6Guid!`dynamic initializer for 'typeTab''+0x8a
      00000082`1b8fefa0 00007fff`d7f1f895 : 00007fff`d7f43000 00007fff`d7f43478 00000000`7ffe0385 00007ff8`03912b14 : ucrtbased!_initterm+0x59
      00000082`1b8fefe0 00007fff`d7f1f787 : 00007fff`d7000000 00000082`1b8ff910 00000082`1b8ff910 00000000`00000001 : Qt6Guid!dllmain_crt_process_attach+0xa5
      00000082`1b8ff030 00007fff`d7f1fab5 : 00007fff`d7000000 00007ff8`00000001 00000082`1b8ff910 00007fff`00000001 : Qt6Guid!dllmain_crt_dispatch+0x47
      00000082`1b8ff070 00007fff`d7f1fcb1 : 00007fff`d7000000 00000000`00000001 00000082`1b8ff910 00007ff8`1eb15e1a : Qt6Guid!dllmain_dispatch+0x75
      00000082`1b8ff0c0 00007ff8`1eb15d37 : 00007fff`d7000000 0000018d`00000001 00000082`1b8ff910 00000000`00000000 : Qt6Guid!_DllMainCRTStartup+0x31
      00000082`1b8ff0f0 00007ff8`1eb185e9 : 0000018d`b71f0ee0 00007fff`d7000000 00007fff`00000001 0000018d`b7628ee0 : ntdll!LdrpCallInitRoutine+0x6f
      00000082`1b8ff160 00007ff8`1eb18854 : 0000018d`b71f2fb0 0000018d`b71f2f00 00000082`1b8ff401 0000018d`00000001 : ntdll!LdrpInitializeNode+0x1c1
      00000082`1b8ff2b0 00007ff8`1eb1887e : 0000018d`b7458f00 0000018d`b71eafb0 00000082`1b8ff400 0000018d`b7534fe0 : ntdll!LdrpInitializeGraphRecurse+0x80
      00000082`1b8ff2f0 00007ff8`1eb1887e : 0000018d`b71aaf00 0000018d`b71b2fb0 00000082`1b8ff400 0000018d`b7482fe0 : ntdll!LdrpInitializeGraphRecurse+0xaa
      00000082`1b8ff330 00007ff8`1eb1887e : 00007ff8`1ec55200 0000018d`b6fbcfb0 00000082`1b8ff400 0000018d`b722cfe0 : ntdll!LdrpInitializeGraphRecurse+0xaa
      00000082`1b8ff370 00007ff8`1ebc5b1a : 00000000`00000000 00000000`00000010 00000000`00000000 00007ff8`1ec1d120 : ntdll!LdrpInitializeGraphRecurse+0xaa
      00000082`1b8ff3b0 00007ff8`1eb6839b : 00000000`00000001 00000000`00000000 00000000`00000000 00000000`00000001 : ntdll!LdrpInitializeProcess+0x1e16
      00000082`1b8ff7f0 00007ff8`1eb68223 : 00000000`00000000 00007ff8`1eaf0000 00000000`00000000 00000082`1b6eb000 : ntdll!LdrpInitialize+0x15f
      00000082`1b8ff890 00007ff8`1eb681ce : 00000082`1b8ff910 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!LdrpInitialize+0x3b
      00000082`1b8ff8c0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!LdrInitializeThunk+0xe

      THREAD_SHA1_HASH_MOD_FUNC: f3e5235213f4d6fd5668b6b7a1efe966fcf32ba1

      THREAD_SHA1_HASH_MOD_FUNC_OFFSET: d35e4009d47b244fa2a29e8041345814f7fb3712

      THREAD_SHA1_HASH_MOD: e06a9d086ffbb425270076989e5868f2f3aa9385

      FAULT_INSTR_CODE: 48088966

      FAULTING_SOURCE_LINE: C:\Users\qt\work\qt\qtbase\src\corelib\text\qstring.cpp

      FAULTING_SOURCE_FILE: C:\Users\qt\work\qt\qtbase\src\corelib\text\qstring.cpp

      FAULTING_SOURCE_LINE_NUMBER: 5353

      SYMBOL_STACK_INDEX: 0

      SYMBOL_NAME: Qt6Cored!QString::fromLatin1+1ac

      FOLLOWUP_NAME: MachineOwner

      MODULE_NAME: Qt6Cored

      IMAGE_NAME: Qt6Cored.dll

      DEBUG_FLR_IMAGE_TIMESTAMP: 61e65f47

      STACK_COMMAND: ~0s ; .ecxr ; kb

      FAILURE_BUCKET_ID: INVALID_POINTER_WRITE_AVRF_c0000005_Qt6Cored.dll!QString::fromLatin1

      BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_WRITE_AVRF_Qt6Cored!QString::fromLatin1+1ac

      FAILURE_EXCEPTION_CODE: c0000005

      FAILURE_IMAGE_NAME: Qt6Cored.dll

      BUCKET_ID_IMAGE_STR: Qt6Cored.dll

      FAILURE_MODULE_NAME: Qt6Cored

      BUCKET_ID_MODULE_STR: Qt6Cored

      FAILURE_FUNCTION_NAME: QString::fromLatin1

      BUCKET_ID_FUNCTION_STR: QString::fromLatin1

      BUCKET_ID_OFFSET: 1ac

      BUCKET_ID_MODTIMEDATESTAMP: 61e65f47

      BUCKET_ID_MODCHECKSUM: e889a2

      BUCKET_ID_MODVER_STR: 6.2.3.0

      BUCKET_ID_PREFIX_STR: APPLICATION_FAULT_INVALID_POINTER_WRITE_AVRF_

      FAILURE_PROBLEM_CLASS: APPLICATION_FAULT

      FAILURE_SYMBOL_NAME: Qt6Cored.dll!QString::fromLatin1

      WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/unknown/0.0.0.8/621875e5/Qt6Cored.dll/6.2.3.0/61e65f47/c0000005/0040c32c.htm?Retriage=1

      TARGET_TIME: 2022-02-25T06:47:42.000Z

      OSBUILD: 17763

      OSSERVICEPACK: 2452

      SERVICEPACK_NUMBER: 0

      OS_REVISION: 0

      OSPLATFORM_TYPE: x64

      OSNAME: Windows 10

      OSEDITION: Windows 10 WinNt SingleUserTS

      USER_LCID: 0

      OSBUILD_TIMESTAMP: 2029-06-04 04:19:16

      BUILDDATESTAMP_STR: 180914-1434

      BUILDLAB_STR: rs5_release

      BUILDOSVER_STR: 10.0.17763.1.amd64fre.rs5_release.180914-1434

      ANALYSIS_SESSION_ELAPSED_TIME: 5896

      ANALYSIS_SOURCE: UM

      FAILURE_ID_HASH_STRING: um:invalid_pointer_write_avrf_c0000005_qt6cored.dll!qstring::fromlatin1

      FAILURE_ID_HASH:
      Unknown macro: {18d98a67-6690-7f26-f4c4-13512fd268f9}
      Followup: MachineOwner
      ---------

       And here is the call stack:

      Qt6Cored!QString::fromLatin1+0x1ac [C:\Users\qt\work\qt\qtbase\src\corelib\text\qstring.cpp @ 5353]
      Qt6Cored!QString::fromLatin1+0x83 [C:\Users\qt\work\qt\qtbase\src\corelib\text\qstring.h @ 765]
      Qt6Cored!QString::QString+0x4f [C:\Users\qt\work\qt\qtbase\src\corelib\text\qstring.h @ 1208]
      Qt6Guid!`dynamic initializer for 'typeTab''+0x8a [C:\Users\qt\work\qt\qtbase\src\gui\rhi\qshaderdescription.cpp @ 560]
      ucrtbased!_initterm+0x59 [minkernel\crts\ucrt\src\appcrt\startup\initterm.cpp @ 22]
      Qt6Guid!dllmain_crt_process_attach+0xa5 [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 66]
      Qt6Guid!dllmain_crt_dispatch+0x47 [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 219]
      Qt6Guid!dllmain_dispatch+0x75 [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 276]
      Qt6Guid!_DllMainCRTStartup+0x31 [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 335]
      ntdll!LdrpCallInitRoutine+0x6f
      ntdll!LdrpInitializeNode+0x1c1
      ntdll!LdrpInitializeGraphRecurse+0x80
      ntdll!LdrpInitializeGraphRecurse+0xaa
      ntdll!LdrpInitializeGraphRecurse+0xaa
      ntdll!LdrpInitializeGraphRecurse+0xaa
      ntdll!LdrpInitializeProcess+0x1e16
      ntdll!LdrpInitialize+0x15f
      ntdll!LdrpInitialize+0x3b
      ntdll!LdrInitializeThunk+0xe

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            cwift 刘 星远
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes