Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 4.9.1 does not start on Windows 10
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 4.9.1 does not start on Windows 10

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
21 Posts 4 Posters 4.0k 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.
  • chrizbeeC chrizbee

    Hey there,

    I've been able to use Qt Creator for quite a while now. Today I've tried to open Qt Creator a second time (2 at once) which resulted in a Bluescreen.
    After restarting I'm not able to start Qt Creator anymore.

    Tested with reinstalling (online and offline installer) with Qt 5.13.0 and Qt Creator 4.9.1.
    Starting as admin does work, but is not the workaround I'm after.
    Starting with "qtcreator.exe -noload all -load Core" opens Qt Creator with a very stripped-down version.

    Windows Event Viewer log:

    - System 
      - Provider 
       [ Name]  Application Error 
      - EventID 1000 
       [ Qualifiers]  0 
       Level 2 
       Task 100 
       Keywords 0x80000000000000 
      - TimeCreated 
       [ SystemTime]  2019-07-24T11:54:30.071843800Z 
       EventRecordID 3874 
       Channel Application 
       Computer DESKTOP-KP2VGVR 
       Security
    - EventData
       qtcreator.exe 
       4.9.1.0 
       5ceb0248 
       Qt5Core.dll 
       5.12.3.0 
       5cac76e7 
       c0000005 
       0018c807 
       1594 
       01d542168c7e0887 
       C:\Qt\Qt5.13.0\Tools\QtCreator\bin\qtcreator.exe 
       C:\Qt\Qt5.13.0\Tools\QtCreator\bin\Qt5Core.dll 
       810bfe66-645b-4990-ae17-bcf0fdf80d67 
    

    GDB log:

    Starting program: C:\Qt\Qt5.13.0\Tools\QtCreator\bin\qtcreator.exe
    [New Thread 3196.0xeac]
    [New Thread 3196.0xeb0]
    [New Thread 3196.0x1b70]
    [New Thread 3196.0x630]
    [New Thread 3196.0x23c4]
    [New Thread 3196.0x2f08]
    [Thread 3196.0x2f08 exited with code 0]
    [New Thread 3196.0x2f58]
    [New Thread 3196.0x13f0]
    [New Thread 3196.0x2da8]
    [New Thread 3196.0x2dac]
    [New Thread 3196.0x2dc4]
    warning: SOFT ASSERT: "m_file.open()" in file C:\Users\qt\work\build\qt-creator\src\plugins\perfprofiler\perfprofilertracemanager.cpp, line 77
    [New Thread 3196.0x2e24]
    
    Thread 1 received signal SIGSEGV, Segmentation fault.
    0x6422c807 in Qt5Core!?activate@QMetaObject@@SAXPAVQObject@@HHPAPAX@Z ()
       from C:\Qt\Qt5.13.0\Tools\QtCreator\bin\Qt5Core.dll
    

    Feel free to ask for the information you need. I hope this can be resolved soon.
    Thank you in advance!

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

    @chrizbee Can you try to start Creator with the parameter -tcs (temporary clean settings)?

    From your description, it sounds like the settings are corrupted and Creator therefore does not start.

    Qt has to stay free or it will die.

    1 Reply Last reply
    2
    • chrizbeeC Offline
      chrizbeeC Offline
      chrizbee
      wrote on last edited by
      #3

      @aha_1980 Thank you for your suggestion.
      I've tried that already. Same result. Works as admin and does not work as normal user.

      1 Reply Last reply
      0
      • chrizbeeC Offline
        chrizbeeC Offline
        chrizbee
        wrote on last edited by
        #4

        Small update:
        When I start Qt Creator it does not open at all, but it does create the following folders on my main drive:

        • clangbackend-sZLsZL
        • clang-uiheader-sZLsZL

        Those folders seem to have a different letter combination everytime I start Qt Creator.
        Any clues on that?

        clangfolders

        jsulmJ 1 Reply Last reply
        0
        • chrizbeeC chrizbee

          Small update:
          When I start Qt Creator it does not open at all, but it does create the following folders on my main drive:

          • clangbackend-sZLsZL
          • clang-uiheader-sZLsZL

          Those folders seem to have a different letter combination everytime I start Qt Creator.
          Any clues on that?

          clangfolders

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

          @chrizbee Probably temporary folders, not deleted because QtCreator crashes.

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

          chrizbeeC 1 Reply Last reply
          0
          • jsulmJ jsulm

            @chrizbee Probably temporary folders, not deleted because QtCreator crashes.

            chrizbeeC Offline
            chrizbeeC Offline
            chrizbee
            wrote on last edited by
            #6

            @jsulm But the GDB log should give a hint as to where it crashes, right? Any ideas on that?

            jsulmJ 1 Reply Last reply
            0
            • chrizbeeC chrizbee

              @jsulm But the GDB log should give a hint as to where it crashes, right? Any ideas on that?

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

              @chrizbee Try to start QtCreator from a terminal with "-noload all" parameter. It disables all plugins. If it works then you can try to disable one plug-in after another to see which one causes troubles, like "-noload Welcome".

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

              chrizbeeC 1 Reply Last reply
              1
              • jsulmJ jsulm

                @chrizbee Try to start QtCreator from a terminal with "-noload all" parameter. It disables all plugins. If it works then you can try to disable one plug-in after another to see which one causes troubles, like "-noload Welcome".

                chrizbeeC Offline
                chrizbeeC Offline
                chrizbee
                wrote on last edited by chrizbee
                #8

                @jsulm
                Following works (did I miss any plugins?):

                qtcreator -noload all -load Core -load Debugger -load Git -load ProjectExplorer -load QmlDesigner -load Welcome
                

                While this still doesn't:

                qtcreator
                

                EDIT:
                Okay, I've tested all plugins that are listed in "--help" (perfprofiler plugin is not?)

                What works:

                qtcreator -noload Debugger
                qtcreator -noload ProjectExplorer
                

                What does not work:

                qtcreator -noload Git
                qtcreator -noload QmlDesigner
                qtcreator -noload Welcome
                
                jsulmJ 1 Reply Last reply
                0
                • chrizbeeC chrizbee

                  @jsulm
                  Following works (did I miss any plugins?):

                  qtcreator -noload all -load Core -load Debugger -load Git -load ProjectExplorer -load QmlDesigner -load Welcome
                  

                  While this still doesn't:

                  qtcreator
                  

                  EDIT:
                  Okay, I've tested all plugins that are listed in "--help" (perfprofiler plugin is not?)

                  What works:

                  qtcreator -noload Debugger
                  qtcreator -noload ProjectExplorer
                  

                  What does not work:

                  qtcreator -noload Git
                  qtcreator -noload QmlDesigner
                  qtcreator -noload Welcome
                  
                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  @chrizbee From the GDB log it is perfprofiler plug-in

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

                  chrizbeeC 1 Reply Last reply
                  0
                  • chrizbeeC Offline
                    chrizbeeC Offline
                    chrizbee
                    wrote on last edited by
                    #10

                    Another Update:
                    I've just completely uninstalled Qt 5.13.0 and installed Qt 5.12.4 using the offline installer.
                    Same result (as expected, since both are using Qt Creator 4.9.1).

                    1 Reply Last reply
                    0
                    • hskoglundH Offline
                      hskoglundH Offline
                      hskoglund
                      wrote on last edited by
                      #11

                      Hi, just guessing but maybe your temp environment variables have a bad setting, to check, open a CMD window and type:

                      echo %TEMP%
                      echo %TMP%
                      
                      chrizbeeC 1 Reply Last reply
                      0
                      • hskoglundH hskoglund

                        Hi, just guessing but maybe your temp environment variables have a bad setting, to check, open a CMD window and type:

                        echo %TEMP%
                        echo %TMP%
                        
                        chrizbeeC Offline
                        chrizbeeC Offline
                        chrizbee
                        wrote on last edited by chrizbee
                        #12

                        @hskoglund
                        Should be fine.

                        λ echo %TEMP%
                        C:\Users\chrba\AppData\Local\Temp
                        
                        λ echo %TMP%
                        C:\Users\chrba\AppData\Local\Temp
                        

                        But I'm guessing too, that there's some "bad settings" stored somewhere which I didn't delete yet.
                        Because it was working before...

                        1 Reply Last reply
                        0
                        • hskoglundH Offline
                          hskoglundH Offline
                          hskoglund
                          wrote on last edited by
                          #13

                          Also, what you can try: create another, new user. Switch to that user and start Qt Creator.

                          chrizbeeC 1 Reply Last reply
                          1
                          • chrizbeeC Offline
                            chrizbeeC Offline
                            chrizbee
                            wrote on last edited by
                            #14

                            Qt 5.9.8 offline installer with Qt Creator 4.8.2 works flawlessly.

                            1 Reply Last reply
                            0
                            • hskoglundH hskoglund

                              Also, what you can try: create another, new user. Switch to that user and start Qt Creator.

                              chrizbeeC Offline
                              chrizbeeC Offline
                              chrizbee
                              wrote on last edited by chrizbee
                              #15

                              @hskoglund I can start Qt Creator from another user without any problems.
                              But what are the differences related to Qt Creator?
                              Environment variables? Registry entries?
                              Why would it work for the new user and not for my default one?

                              jsulmJ 1 Reply Last reply
                              0
                              • chrizbeeC chrizbee

                                @hskoglund I can start Qt Creator from another user without any problems.
                                But what are the differences related to Qt Creator?
                                Environment variables? Registry entries?
                                Why would it work for the new user and not for my default one?

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

                                @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                                Environment variables? Registry entries?
                                Why would it work for the new user and not for my default one?

                                Because there is probably something broken (like environment variables, registry, entries in the file system,...)

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

                                aha_1980A 1 Reply Last reply
                                1
                                • jsulmJ jsulm

                                  @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                                  Environment variables? Registry entries?
                                  Why would it work for the new user and not for my default one?

                                  Because there is probably something broken (like environment variables, registry, entries in the file system,...)

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

                                  @jsulm And given it works with 4.8, probably some new setting introduced in 4.9...

                                  Qt has to stay free or it will die.

                                  1 Reply Last reply
                                  0
                                  • jsulmJ jsulm

                                    @chrizbee From the GDB log it is perfprofiler plug-in

                                    chrizbeeC Offline
                                    chrizbeeC Offline
                                    chrizbee
                                    wrote on last edited by
                                    #18

                                    @jsulm said in Qt Creator 4.9.1 does not start on Windows 10:

                                    @chrizbee From the GDB log it is perfprofiler plug-in

                                    Perfprofiler is not the problem ("only" soft assert). I disabled the plugin and retried with the same result (GDB has no soft assert anymore, but the SIGSEGV is still there).

                                    @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                                    @jsulm And given it works with 4.8, probably some new setting introduced in 4.9...

                                    Now here comes the strange part:
                                    I've installed Qt 5.13.0 and tried the following standalone Qt Creator installers:
                                    4.9.2 / 4.9.1 / 4.9.0 / 4.8.2 (both 32 and 64 bit) --> Neither of those worked.

                                    So I've figured that the combination is where the problem is coming from.
                                    Given this GDB log:

                                    Thread 1 received signal SIGSEGV, Segmentation fault.
                                    0x6422c807 in Qt5Core!?activate@QMetaObject@@SAXPAVQObject@@HHPAPAX@Z ()
                                       from C:\Qt\Qt5.13.0\Tools\QtCreator\bin\Qt5Core.dll
                                    

                                    I still do not have a solution to my problem, just a few workarounds which are quite nasty...

                                    aha_1980A 1 Reply Last reply
                                    0
                                    • chrizbeeC chrizbee

                                      @jsulm said in Qt Creator 4.9.1 does not start on Windows 10:

                                      @chrizbee From the GDB log it is perfprofiler plug-in

                                      Perfprofiler is not the problem ("only" soft assert). I disabled the plugin and retried with the same result (GDB has no soft assert anymore, but the SIGSEGV is still there).

                                      @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                                      @jsulm And given it works with 4.8, probably some new setting introduced in 4.9...

                                      Now here comes the strange part:
                                      I've installed Qt 5.13.0 and tried the following standalone Qt Creator installers:
                                      4.9.2 / 4.9.1 / 4.9.0 / 4.8.2 (both 32 and 64 bit) --> Neither of those worked.

                                      So I've figured that the combination is where the problem is coming from.
                                      Given this GDB log:

                                      Thread 1 received signal SIGSEGV, Segmentation fault.
                                      0x6422c807 in Qt5Core!?activate@QMetaObject@@SAXPAVQObject@@HHPAPAX@Z ()
                                         from C:\Qt\Qt5.13.0\Tools\QtCreator\bin\Qt5Core.dll
                                      

                                      I still do not have a solution to my problem, just a few workarounds which are quite nasty...

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

                                      @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                                      Given this GDB log:

                                      Can you go upwards the stack trace and see where this crash originates from?

                                      Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                                      Just my 2ct.

                                      Qt has to stay free or it will die.

                                      chrizbeeC 1 Reply Last reply
                                      1
                                      • aha_1980A aha_1980

                                        @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                                        Given this GDB log:

                                        Can you go upwards the stack trace and see where this crash originates from?

                                        Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                                        Just my 2ct.

                                        chrizbeeC Offline
                                        chrizbeeC Offline
                                        chrizbee
                                        wrote on last edited by
                                        #20

                                        @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                                        Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                                        I actually ended up reinstalling the whole system. Still, this should not happen...

                                        aha_1980A 1 Reply Last reply
                                        1
                                        • chrizbeeC chrizbee

                                          @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                                          Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                                          I actually ended up reinstalling the whole system. Still, this should not happen...

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

                                          @chrizbee I have three or more more instances of Creator open daily, so I'm pretty sure you had really bad luck...

                                          This should never happen again.

                                          Qt has to stay free or it will die.

                                          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