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. Unexpected CDB Exit
Forum Updated to NodeBB v4.3 + New Features

Unexpected CDB Exit

Scheduled Pinned Locked Moved Unsolved General and Desktop
msvc2015qtcreatorqt 5.764bitcdb
30 Posts 22 Posters 38.1k Views 2 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.
  • Christoph SchaeferC Offline
    Christoph SchaeferC Offline
    Christoph Schaefer
    wrote on last edited by
    #11

    I had the same unexpected CDB Exit since Qt Creator version 4.3. In Qt Creator 4.2.2 CDB works just fine.
    The solution for me was uninstalling Python 2.7. It is still a work around for me, because I need Python 2.7 for compiling Qt WebEngine from source. Does somebody have a working solution for having Python 2.7 and Qt Creator 4.5 and CDB installed in parallel?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lio2609
      wrote on last edited by
      #12

      I have the same problem since the big windows 10 update this week.
      I have not find a solution yet.
      If someone have, it would be great to share. Thanks.

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #13

        Hi
        Just noticed i have same issue
        alt text

        Thank you windows update \o/

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Sriep
          wrote on last edited by Sriep
          #14

          Yes me too.

          I switched from 4.5.0-rc1 to 4.5.0 and it went away. Not sure if that was a coincidence.

          mrjjM 1 Reply Last reply
          0
          • S Sriep

            Yes me too.

            I switched from 4.5.0-rc1 to 4.5.0 and it went away. Not sure if that was a coincidence.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #15

            @Sriep
            I reinstalled Qt and it also worked again.

            L 1 Reply Last reply
            0
            • mrjjM mrjj

              @Sriep
              I reinstalled Qt and it also worked again.

              L Offline
              L Offline
              Lio2609
              wrote on last edited by
              #16

              @mrjj
              i just ran the " repare " function of Visual studio 2017 installer and it worked again too.

              1 Reply Last reply
              2
              • D Offline
                D Offline
                Destructor
                wrote on last edited by
                #17

                My solution of this issue:
                I've check my exe by Depends, and... I miss some dll, linked by .lib!
                Then I put this DLL into System32 - et voila! CDB work now.

                jsulmJ 1 Reply Last reply
                0
                • D Destructor

                  My solution of this issue:
                  I've check my exe by Depends, and... I miss some dll, linked by .lib!
                  Then I put this DLL into System32 - et voila! CDB work now.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #18

                  @Destructor You should not put them into system32 directory - put them in the same directory where you exe is.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  3
                  • W Offline
                    W Offline
                    WriterBloke
                    wrote on last edited by
                    #19

                    @bitlixi's advice worked for me

                    1 Reply Last reply
                    1
                    • xenovasX Offline
                      xenovasX Offline
                      xenovas
                      wrote on last edited by
                      #20

                      same problem.. could someone provide the steps in order to overcome this issue ?

                      @xen0vas

                      mrjjM 1 Reply Last reply
                      0
                      • xenovasX xenovas

                        same problem.. could someone provide the steps in order to overcome this issue ?

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #21

                        @xenovas
                        Hi
                        If you are using the visual studio compiler. First step could be to find the entry in
                        Add Remove Programs and ask it to repair and see if that fixes anything.
                        alt text

                        xenovasX 1 Reply Last reply
                        1
                        • mrjjM mrjj

                          @xenovas
                          Hi
                          If you are using the visual studio compiler. First step could be to find the entry in
                          Add Remove Programs and ask it to repair and see if that fixes anything.
                          alt text

                          xenovasX Offline
                          xenovasX Offline
                          xenovas
                          wrote on last edited by
                          #22

                          @mrjj thank you for your response.. unfortunately didn't work for me..

                          @xen0vas

                          mrjjM 1 Reply Last reply
                          0
                          • xenovasX xenovas

                            @mrjj thank you for your response.. unfortunately didn't work for me..

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #23

                            @xenovas
                            Ok, then you can try start the Qt maintenance tool and use it to reinstall Qt.
                            Did this happen after you installed visual studio update or similar ?

                            xenovasX 1 Reply Last reply
                            1
                            • mrjjM mrjj

                              @xenovas
                              Ok, then you can try start the Qt maintenance tool and use it to reinstall Qt.
                              Did this happen after you installed visual studio update or similar ?

                              xenovasX Offline
                              xenovasX Offline
                              xenovas
                              wrote on last edited by xenovas
                              #24

                              @mrjj hello again, problem fixed for me.. i was using the wrong pythonpath..to fix it i have deleted the pythonpath pointed to python 2.7 Lib from my env variables and i have only kept the pythonhome variable pointing to python 3.7.2.. Thanks

                              @xen0vas

                              1 Reply Last reply
                              3
                              • P Offline
                                P Offline
                                PenthiusX
                                wrote on last edited by PenthiusX
                                #25

                                For me this pops up when the application executable cannot find the required dlls for the application to run.
                                First click on the executable/build application in your respective debug/release folder and check what dlls it is asking for.
                                Find the respective dlls in your external framework files (usually in the bin/relevant architecture) and copy them in the qt application/builds local directory.

                                1 Reply Last reply
                                1
                                • B bitlixi

                                  I got the same error form. Finally found that some DLL needed is missing. You could click the exe file in DEBUG to find which DLL is missing.

                                  N Offline
                                  N Offline
                                  Nikolaz
                                  wrote on last edited by
                                  #26

                                  @bitlixi
                                  Confirmed. I'm disappointed only why this error message is so noninformative :-(

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    azalea
                                    wrote on last edited by
                                    #27

                                    I fixed it by checking "Force UTF-8 MSVC compiler output" in "Kits" settings. I have no idea why. I think this error message is a symptom of various otherwise unrelated issues.

                                    (Screen Shot 2020-05-28 at 4.35.15 PM.png image url)

                                    C 1 Reply Last reply
                                    0
                                    • A azalea

                                      I fixed it by checking "Force UTF-8 MSVC compiler output" in "Kits" settings. I have no idea why. I think this error message is a symptom of various otherwise unrelated issues.

                                      (Screen Shot 2020-05-28 at 4.35.15 PM.png image url)

                                      C Offline
                                      C Offline
                                      ChortleMortal
                                      wrote on last edited by
                                      #28

                                      So I am getting this problem suddenly. I just upgraded from Qt 5.12.8 to 5.15.0 and at the same time from QTCreator 4.12.0 to 4.12.1.

                                      The "Force UTF-8 MSVC compiler output" does not solve it for me. Somehow I think I must have an inconsistent tool chain. I am using the VS2017 compilers, maybe I should use the VS2019 versions. I can still build and run my 5.12.8 stuff. But the 5.15.0 builds don't work. (And wow, endl is deprecated, but that is another story).

                                      1 Reply Last reply
                                      0
                                      • R Offline
                                        R Offline
                                        RanaFawzi
                                        wrote on last edited by
                                        #29

                                        If you run your executable file inside the debug folder and it asked you to give control access to the app, then you might need to run QT as administrator, this worked for me

                                        1 Reply Last reply
                                        0
                                        • SprezzaturaS Offline
                                          SprezzaturaS Offline
                                          Sprezzatura
                                          wrote on last edited by
                                          #30

                                          I had the same error, it was caused by a missing DLL.

                                          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