Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. The CDB process terminated
Forum Updated to NodeBB v4.3 + New Features

The CDB process terminated

Scheduled Pinned Locked Moved Unsolved General and Desktop
27 Posts 4 Posters 7.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Flaviu 0

    In that post I wrote about two problems in did, with vcruntime140_app.dll and this one, The CBT process terminated.

    The first problem is solved and I create another thread for second problem. Maybe I shouldn't did that.

    Regarding your advice: "try running the CDB outside of Qt Creator"

    I don't know what is mean, I haven't worked with Qt until now. And I searched about CDB info:

    52bebd53-144f-4d87-8347-4b433a6a48c6-image.png

    ee2aa3fe-b932-4662-84ef-10f69dcbdd60-image.png

    Found nothing. How can I run CDB outside of Qt creator ?

    Thank you for your patience.

    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by JonB
    #4

    @Flaviu-0
    I have never used CDB. I just know it's a Windows debugger supplied by MS, usually as part of Windows SDK. If you wish to find about it, Google for cdb debugger (not just cdb, that turns out to be Caribbean Development Bank ;-) ). There are also plenty of hits for qt cdb process terminated.

    That's all I know. I will leave for others to help further.

    1 Reply Last reply
    1
    • F Offline
      F Offline
      Flaviu 0
      wrote on last edited by Flaviu 0
      #5

      That CDB exe I found it in C:\Program Files (x86)\Windows Kits\10\Debuggers\x64

      eaaa7bae-f28c-467c-a1ee-f77f3336ead5-image.png

      But I don't know what I should do further ...

      P.S. Here is my autodetected CDB:

      2a581e3c-4511-447c-9613-e635b47d5a30-image.png

      1 Reply Last reply
      0
      • F Flaviu 0

        In that post I wrote about two problems in did, with vcruntime140_app.dll and this one, The CBT process terminated.

        The first problem is solved and I create another thread for second problem. Maybe I shouldn't did that.

        Regarding your advice: "try running the CDB outside of Qt Creator"

        I don't know what is mean, I haven't worked with Qt until now. And I searched about CDB info:

        52bebd53-144f-4d87-8347-4b433a6a48c6-image.png

        ee2aa3fe-b932-4662-84ef-10f69dcbdd60-image.png

        Found nothing. How can I run CDB outside of Qt creator ?

        Thank you for your patience.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #6

        Hi @Flaviu-0,

        Can you debug a minimal, "hello world" like program from Qt Creator with CDB?

        That has to work first to prove everything is set up correctly.

        Regards

        Qt has to stay free or it will die.

        F 2 Replies Last reply
        0
        • S Offline
          S Offline
          spobit
          wrote on last edited by
          #7

          You can run the program, then attachs it. Maybe it can work.

          F 1 Reply Last reply
          0
          • aha_1980A aha_1980

            Hi @Flaviu-0,

            Can you debug a minimal, "hello world" like program from Qt Creator with CDB?

            That has to work first to prove everything is set up correctly.

            Regards

            F Offline
            F Offline
            Flaviu 0
            wrote on last edited by
            #8

            @aha_1980 Yes, I have created a simple Qt desktop project, and I can debug it without any problem. But not my real project.

            1 Reply Last reply
            0
            • S spobit

              You can run the program, then attachs it. Maybe it can work.

              F Offline
              F Offline
              Flaviu 0
              wrote on last edited by
              #9

              @spobit The compiled real project is running only if I start it from Windows Explorer, if I start it from Debugger, I got the error from the first post.

              1 Reply Last reply
              0
              • aha_1980A aha_1980

                Hi @Flaviu-0,

                Can you debug a minimal, "hello world" like program from Qt Creator with CDB?

                That has to work first to prove everything is set up correctly.

                Regards

                F Offline
                F Offline
                Flaviu 0
                wrote on last edited by
                #10

                @aha_1980 But really I don't know if I debug the hello world app with CDB or with something else :) ... I can go through the code step by step with F9/F10, that's all I know.

                aha_1980A 1 Reply Last reply
                0
                • F Flaviu 0

                  @aha_1980 But really I don't know if I debug the hello world app with CDB or with something else :) ... I can go through the code step by step with F9/F10, that's all I know.

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #11

                  @Flaviu-0

                  you can open View > Views > Debugger Log and see what is printed there.

                  Can you Run your real app from Creator (i.e. without debugger)?

                  Regards

                  Qt has to stay free or it will die.

                  F 1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    Flaviu 0
                    wrote on last edited by Flaviu 0
                    #12

                    Let me give another information. In the real app case, when I hit F5, before starting the debugger, I see in Application Output:

                    ...
                    ...
                    [ 95%] Built target edit_measure
                    [ 96%] Built target edit_mutualcorrs
                    [ 96%] Built target edit_paint
                    [ 97%] Built target edit_point
                    [ 98%] Built target edit_pickpoints
                    [ 99%] Built target edit_referencing
                    [ 99%] Built target edit_select
                    [100%] Built target edit_quality
                    Install the project...
                    -- Install configuration: "Debug"
                    -- Up-to-date: D:/Project/MyProject/src/install_debug/shaders/Cook-Torrance.frag
                    -- Up-to-date: D:/Project/MyProject/src/install_debug/shaders/Cook-Torrance.gdp
                    -- Up-to-date: D:/Project/MyProject/src/install_debug/shaders/Cook-Torrance.vert
                    -- Up-to-date: D:/Project/MyProject/src/install_debug/shaders/Hatch.frag
                    -- Up-to-date: D:/Project/MyProject/src/install_debug/shaders/Hatch.gdp
                    -- Up-to-date: D:/Project/MyProject/src/install_debug/shaders/Hatch.vert
                    ...
                    ...
                    

                    I guess that is not normal ... right ?

                    1 Reply Last reply
                    0
                    • aha_1980A aha_1980

                      @Flaviu-0

                      you can open View > Views > Debugger Log and see what is printed there.

                      Can you Run your real app from Creator (i.e. without debugger)?

                      Regards

                      F Offline
                      F Offline
                      Flaviu 0
                      wrote on last edited by Flaviu 0
                      #13

                      @aha_1980
                      I opened that log, I and see:

                      MyProject loaded: MyProject.exe
                      MyProject loaded: ntdll.dll
                      MyProject loaded: C:\WINDOWS\System32\KERNEL32.DLL
                      MyProject loaded: C:\WINDOWS\System32\KERNELBASE.dll
                      MyProject loaded: C:\WINDOWS\System32\SHELL32.dll
                      MyProject loaded: C:\WINDOWS\System32\ucrtbase.dll
                      MyProject loaded: C:\WINDOWS\System32\cfgmgr32.dll
                      MyProject loaded: C:\WINDOWS\System32\shcore.dll
                      MyProject loaded: C:\WINDOWS\System32\msvcrt.dll
                      MyProject loaded: C:\WINDOWS\System32\RPCRT4.dll
                      MyProject loaded: C:\WINDOWS\System32\combase.dll
                      MyProject loaded: C:\WINDOWS\System32\bcryptPrimitives.dll
                      MyProject loaded: C:\WINDOWS\System32\windows.storage.dll
                      MyProject loaded: C:\WINDOWS\System32\msvcp_win.dll
                      MyProject loaded: C:\WINDOWS\System32\sechost.dll
                      MyProject loaded: C:\WINDOWS\System32\advapi32.dll
                      MyProject loaded: C:\WINDOWS\System32\profapi.dll
                      MyProject loaded: C:\WINDOWS\System32\powrprof.dll
                      MyProject loaded: C:\WINDOWS\System32\UMPDC.dll
                      MyProject loaded: C:\WINDOWS\System32\shlwapi.dll
                      MyProject loaded: C:\WINDOWS\System32\GDI32.dll
                      MyProject loaded: C:\WINDOWS\System32\win32u.dll
                      MyProject loaded: C:\WINDOWS\System32\gdi32full.dll
                      MyProject loaded: C:\WINDOWS\System32\USER32.dll
                      MyProject loaded: C:\WINDOWS\System32\kernel.appcore.dll
                      MyProject loaded: C:\WINDOWS\System32\cryptsp.dll
                      MyProject loaded: C:\WINDOWS\SYSTEM32\GLU32.dll
                      MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Networkd.dll
                      MyProject loaded: C:\WINDOWS\System32\WS2_32.dll
                      MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5OpenGLd.dll
                      MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Widgetsd.dll
                      MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Guid.dll
                      MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Xmld.dll
                      MyProject loaded: C:\WINDOWS\SYSTEM32\OPENGL32.dll
                      MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Cored.dll
                      MyProject loaded: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
                      MyProject loaded: C:\WINDOWS\SYSTEM32\VCRUNTIME140D.dll
                      MyProject loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                      MyProject loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                      ERROR: Process crashed
                      Debugger finished.
                      

                      and

                      ************* Path validation summary **************
                      Response                         Time (ms)     Location
                      Error                                          ""
                      Symbol search path is: ""
                      Executable search path is: 
                      Module loaded: MyProject.exe
                      Module loaded: ntdll.dll
                      Module loaded: C:\WINDOWS\System32\KERNEL32.DLL
                      Module loaded: C:\WINDOWS\System32\KERNELBASE.dll
                      Module loaded: C:\WINDOWS\System32\SHELL32.dll
                      Module loaded: C:\WINDOWS\System32\ucrtbase.dll
                      Module loaded: C:\WINDOWS\System32\cfgmgr32.dll
                      Module loaded: C:\WINDOWS\System32\shcore.dll
                      Module loaded: C:\WINDOWS\System32\msvcrt.dll
                      Module loaded: C:\WINDOWS\System32\RPCRT4.dll
                      Module loaded: C:\WINDOWS\System32\combase.dll
                      Module loaded: C:\WINDOWS\System32\bcryptPrimitives.dll
                      Module loaded: C:\WINDOWS\System32\windows.storage.dll
                      Module loaded: C:\WINDOWS\System32\msvcp_win.dll
                      Module loaded: C:\WINDOWS\System32\sechost.dll
                      Module loaded: C:\WINDOWS\System32\advapi32.dll
                      Module loaded: C:\WINDOWS\System32\profapi.dll
                      Module loaded: C:\WINDOWS\System32\powrprof.dll
                      Module loaded: C:\WINDOWS\System32\UMPDC.dll
                      Module loaded: C:\WINDOWS\System32\shlwapi.dll
                      Module loaded: C:\WINDOWS\System32\GDI32.dll
                      Module loaded: C:\WINDOWS\System32\win32u.dll
                      Module loaded: C:\WINDOWS\System32\gdi32full.dll
                      Module loaded: C:\WINDOWS\System32\USER32.dll
                      Module loaded: C:\WINDOWS\System32\kernel.appcore.dll
                      Module loaded: C:\WINDOWS\System32\cryptsp.dll
                      Module loaded: C:\WINDOWS\SYSTEM32\GLU32.dll
                      Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Networkd.dll
                      Module loaded: C:\WINDOWS\System32\WS2_32.dll
                      Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5OpenGLd.dll
                      Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Widgetsd.dll
                      Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Guid.dll
                      Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Xmld.dll
                      Module loaded: C:\WINDOWS\SYSTEM32\OPENGL32.dll
                      Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Cored.dll
                      Module loaded: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
                      Module loaded: C:\WINDOWS\SYSTEM32\VCRUNTIME140D.dll
                      Module loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                      Module loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\atlmfc.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\concurrency.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\cpp_rest.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\stl.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Data.Json.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Geolocation.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Sensors.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Media.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\windows.natvis'
                      NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\winrt.natvis'
                      eERROR: Process crashed
                      dCDB PROCESS FINISHED, status 1, exit code -1073741515
                      dNOTE: INFERIOR ILL
                      dState changed from EngineSetupRequested(1) to InferiorShutdownRequested(13)
                      dCALL: SHUTDOWN INFERIOR
                      dINFERIOR FINISHED SHUT DOWN
                      dState changed from InferiorShutdownRequested(13) to InferiorShutdownFinished(14)
                      dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15)
                      dCALL: SHUTDOWN ENGINE
                      dNOTE: ENGINE SHUTDOWN FINISHED
                      dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16)
                      Debugger finished.
                      dState changed from EngineShutdownFinished(16) to DebuggerFinished(17)
                      
                      aha_1980A 1 Reply Last reply
                      0
                      • F Flaviu 0

                        @aha_1980
                        I opened that log, I and see:

                        MyProject loaded: MyProject.exe
                        MyProject loaded: ntdll.dll
                        MyProject loaded: C:\WINDOWS\System32\KERNEL32.DLL
                        MyProject loaded: C:\WINDOWS\System32\KERNELBASE.dll
                        MyProject loaded: C:\WINDOWS\System32\SHELL32.dll
                        MyProject loaded: C:\WINDOWS\System32\ucrtbase.dll
                        MyProject loaded: C:\WINDOWS\System32\cfgmgr32.dll
                        MyProject loaded: C:\WINDOWS\System32\shcore.dll
                        MyProject loaded: C:\WINDOWS\System32\msvcrt.dll
                        MyProject loaded: C:\WINDOWS\System32\RPCRT4.dll
                        MyProject loaded: C:\WINDOWS\System32\combase.dll
                        MyProject loaded: C:\WINDOWS\System32\bcryptPrimitives.dll
                        MyProject loaded: C:\WINDOWS\System32\windows.storage.dll
                        MyProject loaded: C:\WINDOWS\System32\msvcp_win.dll
                        MyProject loaded: C:\WINDOWS\System32\sechost.dll
                        MyProject loaded: C:\WINDOWS\System32\advapi32.dll
                        MyProject loaded: C:\WINDOWS\System32\profapi.dll
                        MyProject loaded: C:\WINDOWS\System32\powrprof.dll
                        MyProject loaded: C:\WINDOWS\System32\UMPDC.dll
                        MyProject loaded: C:\WINDOWS\System32\shlwapi.dll
                        MyProject loaded: C:\WINDOWS\System32\GDI32.dll
                        MyProject loaded: C:\WINDOWS\System32\win32u.dll
                        MyProject loaded: C:\WINDOWS\System32\gdi32full.dll
                        MyProject loaded: C:\WINDOWS\System32\USER32.dll
                        MyProject loaded: C:\WINDOWS\System32\kernel.appcore.dll
                        MyProject loaded: C:\WINDOWS\System32\cryptsp.dll
                        MyProject loaded: C:\WINDOWS\SYSTEM32\GLU32.dll
                        MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Networkd.dll
                        MyProject loaded: C:\WINDOWS\System32\WS2_32.dll
                        MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5OpenGLd.dll
                        MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Widgetsd.dll
                        MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Guid.dll
                        MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Xmld.dll
                        MyProject loaded: C:\WINDOWS\SYSTEM32\OPENGL32.dll
                        MyProject loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Cored.dll
                        MyProject loaded: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
                        MyProject loaded: C:\WINDOWS\SYSTEM32\VCRUNTIME140D.dll
                        MyProject loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                        MyProject loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                        ERROR: Process crashed
                        Debugger finished.
                        

                        and

                        ************* Path validation summary **************
                        Response                         Time (ms)     Location
                        Error                                          ""
                        Symbol search path is: ""
                        Executable search path is: 
                        Module loaded: MyProject.exe
                        Module loaded: ntdll.dll
                        Module loaded: C:\WINDOWS\System32\KERNEL32.DLL
                        Module loaded: C:\WINDOWS\System32\KERNELBASE.dll
                        Module loaded: C:\WINDOWS\System32\SHELL32.dll
                        Module loaded: C:\WINDOWS\System32\ucrtbase.dll
                        Module loaded: C:\WINDOWS\System32\cfgmgr32.dll
                        Module loaded: C:\WINDOWS\System32\shcore.dll
                        Module loaded: C:\WINDOWS\System32\msvcrt.dll
                        Module loaded: C:\WINDOWS\System32\RPCRT4.dll
                        Module loaded: C:\WINDOWS\System32\combase.dll
                        Module loaded: C:\WINDOWS\System32\bcryptPrimitives.dll
                        Module loaded: C:\WINDOWS\System32\windows.storage.dll
                        Module loaded: C:\WINDOWS\System32\msvcp_win.dll
                        Module loaded: C:\WINDOWS\System32\sechost.dll
                        Module loaded: C:\WINDOWS\System32\advapi32.dll
                        Module loaded: C:\WINDOWS\System32\profapi.dll
                        Module loaded: C:\WINDOWS\System32\powrprof.dll
                        Module loaded: C:\WINDOWS\System32\UMPDC.dll
                        Module loaded: C:\WINDOWS\System32\shlwapi.dll
                        Module loaded: C:\WINDOWS\System32\GDI32.dll
                        Module loaded: C:\WINDOWS\System32\win32u.dll
                        Module loaded: C:\WINDOWS\System32\gdi32full.dll
                        Module loaded: C:\WINDOWS\System32\USER32.dll
                        Module loaded: C:\WINDOWS\System32\kernel.appcore.dll
                        Module loaded: C:\WINDOWS\System32\cryptsp.dll
                        Module loaded: C:\WINDOWS\SYSTEM32\GLU32.dll
                        Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Networkd.dll
                        Module loaded: C:\WINDOWS\System32\WS2_32.dll
                        Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5OpenGLd.dll
                        Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Widgetsd.dll
                        Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Guid.dll
                        Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Xmld.dll
                        Module loaded: C:\WINDOWS\SYSTEM32\OPENGL32.dll
                        Module loaded: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\Qt5Cored.dll
                        Module loaded: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
                        Module loaded: C:\WINDOWS\SYSTEM32\VCRUNTIME140D.dll
                        Module loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                        Module loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\atlmfc.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\concurrency.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\cpp_rest.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\stl.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Data.Json.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Geolocation.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Sensors.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Media.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\windows.natvis'
                        NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\winrt.natvis'
                        eERROR: Process crashed
                        dCDB PROCESS FINISHED, status 1, exit code -1073741515
                        dNOTE: INFERIOR ILL
                        dState changed from EngineSetupRequested(1) to InferiorShutdownRequested(13)
                        dCALL: SHUTDOWN INFERIOR
                        dINFERIOR FINISHED SHUT DOWN
                        dState changed from InferiorShutdownRequested(13) to InferiorShutdownFinished(14)
                        dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15)
                        dCALL: SHUTDOWN ENGINE
                        dNOTE: ENGINE SHUTDOWN FINISHED
                        dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16)
                        Debugger finished.
                        dState changed from EngineShutdownFinished(16) to DebuggerFinished(17)
                        
                        aha_1980A Offline
                        aha_1980A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on last edited by aha_1980
                        #14

                        Hi @Flaviu-0,

                        
                        Ok, you edited the post, that looks like the debugger log.
                        
                        
                        Also, can you **run** the program?
                        
                        If not, you need to fix that first.
                        
                        Regards

                        Qt has to stay free or it will die.

                        F 1 Reply Last reply
                        0
                        • aha_1980A aha_1980

                          Hi @Flaviu-0,

                          
                          Ok, you edited the post, that looks like the debugger log.
                          
                          
                          Also, can you **run** the program?
                          
                          If not, you need to fix that first.
                          
                          Regards
                          F Offline
                          F Offline
                          Flaviu 0
                          wrote on last edited by Flaviu 0
                          #15

                          @aha_1980

                          When I ran the real app, I got:

                          14:47:35: Starting D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\MyProject.exe ...
                          14:47:35: The program has unexpectedly finished.
                          14:47:35: The process was ended forcefully.
                          14:47:35: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Debug\distrib\MyProject.exe crashed.
                          

                          And the app didn't started.

                          1 Reply Last reply
                          0
                          • F Offline
                            F Offline
                            Flaviu 0
                            wrote on last edited by Flaviu 0
                            #16

                            Yes, I see that my program crashed, but how can I see where is the problem as long I cannot start the debugger ?

                            aha_1980A 1 Reply Last reply
                            0
                            • F Flaviu 0

                              Yes, I see that my program crashed, but how can I see where is the problem as long I cannot start the debugger ?

                              aha_1980A Offline
                              aha_1980A Offline
                              aha_1980
                              Lifetime Qt Champion
                              wrote on last edited by
                              #17

                              @Flaviu-0

                              crashes that early most often happen because of DLL incompatibilities.

                              Tools like Dependency Walker help to debug such problems.

                              Does this App use DLLs beside Qt?

                              Regards

                              Qt has to stay free or it will die.

                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                Flaviu 0
                                wrote on last edited by
                                #18

                                @aha_1980 said in The CDB process terminated:

                                Dependency Walker

                                Thank you for your replay. It mean a lot for me. I am trying to figure out where is the problem:

                                98694acb-07c3-4e08-9f65-42903d63c80b-image.png

                                Also, I got a direct message from Dependency Walker:

                                Error: At least one required implicit or forwarded dependency was not found.
                                Warning: At least one delay-load dependency module was not found.
                                Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
                                
                                aha_1980A 1 Reply Last reply
                                0
                                • F Flaviu 0

                                  @aha_1980 said in The CDB process terminated:

                                  Dependency Walker

                                  Thank you for your replay. It mean a lot for me. I am trying to figure out where is the problem:

                                  98694acb-07c3-4e08-9f65-42903d63c80b-image.png

                                  Also, I got a direct message from Dependency Walker:

                                  Error: At least one required implicit or forwarded dependency was not found.
                                  Warning: At least one delay-load dependency module was not found.
                                  Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
                                  
                                  aha_1980A Offline
                                  aha_1980A Offline
                                  aha_1980
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #19

                                  @Flaviu-0 i think you can ignore the API-MS-* DLLs. Are these all DLLs that are needed in your screenshot?

                                  Qt has to stay free or it will die.

                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    Flaviu 0
                                    wrote on last edited by
                                    #20

                                    Yes, GLU32.DLL, and QT5... all of them.

                                    6710259e-4093-4d85-b995-1a044ead8e4c-image.png

                                    aha_1980A JonBJ 2 Replies Last reply
                                    0
                                    • F Flaviu 0

                                      Yes, GLU32.DLL, and QT5... all of them.

                                      6710259e-4093-4d85-b995-1a044ead8e4c-image.png

                                      aha_1980A Offline
                                      aha_1980A Offline
                                      aha_1980
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #21

                                      @Flaviu-0 uhm, did you copy all of these DLLs to the build folder?

                                      at least the Qt DLLs don't need to be copied there if you want to run/debug the program from Creator. Creator sets up the PATH to the Qt installation directory for run.

                                      Not sure what happens if there is a version mismatch (i.e. correct DLL name, but wrong version, architecture, compiler...)

                                      Qt has to stay free or it will die.

                                      1 Reply Last reply
                                      1
                                      • F Flaviu 0

                                        Yes, GLU32.DLL, and QT5... all of them.

                                        6710259e-4093-4d85-b995-1a044ead8e4c-image.png

                                        JonBJ Offline
                                        JonBJ Offline
                                        JonB
                                        wrote on last edited by JonB
                                        #22

                                        @Flaviu-0
                                        Where is VCRUNTIME140.DLL? Is that correctly installed somewhere, with any dependencies, and findable by PATH? Or MSVCP140.DLL? And the directory you show does not have the Qt5*.dll files shown required by Dependency Walker.

                                        I'm not saying they are not necessarily found --- DW might have shown something else if they had not been --- but they are not in the latest screenshot you have shown.

                                        Looking back, I don't that the EXE you ran DW on 2 screenshots ago is the right one for the other screenshot and for the Module loaded log stuff you showed earlier.

                                        F 1 Reply Last reply
                                        0
                                        • JonBJ JonB

                                          @Flaviu-0
                                          Where is VCRUNTIME140.DLL? Is that correctly installed somewhere, with any dependencies, and findable by PATH? Or MSVCP140.DLL? And the directory you show does not have the Qt5*.dll files shown required by Dependency Walker.

                                          I'm not saying they are not necessarily found --- DW might have shown something else if they had not been --- but they are not in the latest screenshot you have shown.

                                          Looking back, I don't that the EXE you ran DW on 2 screenshots ago is the right one for the other screenshot and for the Module loaded log stuff you showed earlier.

                                          F Offline
                                          F Offline
                                          Flaviu 0
                                          wrote on last edited by Flaviu 0
                                          #23

                                          @JonB said in The CDB process terminated:

                                          VCRUNTIME140.DLL

                                          VCRUNTIME140.DLL is un level upper. Even if I copied into exe location, I have the same issue.

                                          JonBJ 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved