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. QtCreator crashed and now will not start due to segfault

QtCreator crashed and now will not start due to segfault

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
installqt-creatorsegfault
35 Posts 7 Posters 8.3k Views
  • 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.
  • T Offline
    T Offline
    TMcSquared
    wrote on 9 Aug 2018, 12:56 last edited by aha_1980 8 Oct 2018, 05:41
    #1

    Hello everyone, I'm having a bit of a struggle liking Qt-Creator ever since it crashed while I was working on it. I've re-installed Qt several times, but nothing is changing. Are there some hidden config files I should be removing? Does anyone else have this problem?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 9 Aug 2018, 13:09 last edited by
      #2

      Hi and welcome to the forums
      What version of Creator and what Os ?

      I have not have it crash for a long time (years)
      so most likely something else wrong.

      What are you doing when it crashes ?

      Also could you try upgrading your gfx driver ?

      1 Reply Last reply
      1
      • T Offline
        T Offline
        TMcSquared
        wrote on 9 Aug 2018, 13:20 last edited by
        #3

        Qt-Creator 4.7.0 on Windows 10
        I think I overloaded it clicking on settings(not exactly sure though)
        I don't think the gfx driver's an issue because it was running fine yesterday, and I haven't had anything change on my machine.

        M 1 Reply Last reply 9 Aug 2018, 15:06
        0
        • T TMcSquared
          9 Aug 2018, 13:20

          Qt-Creator 4.7.0 on Windows 10
          I think I overloaded it clicking on settings(not exactly sure though)
          I don't think the gfx driver's an issue because it was running fine yesterday, and I haven't had anything change on my machine.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 9 Aug 2018, 15:06 last edited by
          #4

          @TMcSquared

          Ok, if it was working yesterday. then cant be the gfx is no windows update
          or anything.

          Can you still reproduce it ?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TMcSquared
            wrote on 9 Aug 2018, 15:07 last edited by
            #5

            Yes, Qt-Creator just won't open at all, even after I re-install the entire thing.

            M 1 Reply Last reply 9 Aug 2018, 15:10
            0
            • T TMcSquared
              9 Aug 2018, 15:07

              Yes, Qt-Creator just won't open at all, even after I re-install the entire thing.

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 9 Aug 2018, 15:10 last edited by mrjj 8 Sept 2018, 15:10
              #6

              @TMcSquared

              Ok, that is odd.

              there is
              C:\Users\username\AppData\Local\QtProject
              C:\Users\username\AppData\Roaming\QtProject
              which can be left over even if reinstall.

              It should be pretty safe to delete, but Creator will forget anything then.

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TMcSquared
                wrote on 9 Aug 2018, 15:19 last edited by
                #7

                I've deleted those already between installs

                M 1 Reply Last reply 9 Aug 2018, 15:20
                0
                • T TMcSquared
                  9 Aug 2018, 15:19

                  I've deleted those already between installs

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 9 Aug 2018, 15:20 last edited by mrjj 8 Sept 2018, 15:22
                  #8

                  @TMcSquared
                  and it still crashes ? wow. thats new.
                  Do you have sessions enabled ?
                  also , have you tried starting it from a shell (cmd)
                  to see if anything is written ?

                  also when starting in cmd.
                  try adding
                  -noload Welcome

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    TMcSquared
                    wrote on 9 Aug 2018, 15:41 last edited by
                    #9

                    I get a segmentation fault when I run it from the cmdline both without and with arguments.

                    J 1 Reply Last reply 9 Aug 2018, 15:51
                    0
                    • T TMcSquared
                      9 Aug 2018, 15:41

                      I get a segmentation fault when I run it from the cmdline both without and with arguments.

                      J Offline
                      J Offline
                      JonB
                      wrote on 9 Aug 2018, 15:51 last edited by
                      #10

                      @TMcSquared
                      There's, oohh, a 1% chance that if you try running Qt Creator from within a debugger like Visual Studio (if you have that...), when it faults you'll get enough information from the stack trace to hazard a guess as to where it's going wrong...

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        TMcSquared
                        wrote on 9 Aug 2018, 16:20 last edited by
                        #11

                        I just debugged it and got this: Exception thrown at 0x670E5DA7 (Qt5Core.dll) in qtcreator.exe: 0xC0000005: Access violation reading location 0x7E5B8721.

                        aha_1980A 1 Reply Last reply 9 Aug 2018, 16:54
                        0
                        • T TMcSquared
                          9 Aug 2018, 16:20

                          I just debugged it and got this: Exception thrown at 0x670E5DA7 (Qt5Core.dll) in qtcreator.exe: 0xC0000005: Access violation reading location 0x7E5B8721.

                          aha_1980A Offline
                          aha_1980A Offline
                          aha_1980
                          Lifetime Qt Champion
                          wrote on 9 Aug 2018, 16:54 last edited by
                          #12

                          @TMcSquared

                          Is it possible that the wrong Qt DLLs are loaded? Have you changed the PATH environment variable, for example?

                          Qt has to stay free or it will die.

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            TMcSquared
                            wrote on 9 Aug 2018, 16:55 last edited by TMcSquared 8 Sept 2018, 16:59
                            #13

                            Hmm I'll try adding it to the PATH xD

                            EDIT: that didn't work

                            aha_1980A J 2 Replies Last reply 9 Aug 2018, 16:56
                            0
                            • T TMcSquared
                              9 Aug 2018, 16:55

                              Hmm I'll try adding it to the PATH xD

                              EDIT: that didn't work

                              aha_1980A Offline
                              aha_1980A Offline
                              aha_1980
                              Lifetime Qt Champion
                              wrote on 9 Aug 2018, 16:56 last edited by
                              #14

                              @TMcSquared

                              No, that's not what I meant! I meant, have you done before? Or have you installed some program that did?

                              Qt has to stay free or it will die.

                              1 Reply Last reply
                              0
                              • mranger90M Offline
                                mranger90M Offline
                                mranger90
                                wrote on 9 Aug 2018, 17:00 last edited by
                                #15

                                Take a look at qt.conf in the creator/bin directory. If it's corrupted then plugins wont load.

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  TMcSquared
                                  wrote on 9 Aug 2018, 17:12 last edited by
                                  #16

                                  It's not corrupted because it's a clean install

                                  1 Reply Last reply
                                  0
                                  • mranger90M Offline
                                    mranger90M Offline
                                    mranger90
                                    wrote on 9 Aug 2018, 19:08 last edited by
                                    #17

                                    The try wiping out the creator files under AppData\Roaming\Qtproject

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      TMcSquared
                                      wrote on 9 Aug 2018, 19:20 last edited by
                                      #18

                                      already did that.

                                      M 1 Reply Last reply 9 Aug 2018, 19:28
                                      0
                                      • T TMcSquared
                                        9 Aug 2018, 19:20

                                        already did that.

                                        M Offline
                                        M Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on 9 Aug 2018, 19:28 last edited by
                                        #19

                                        @TMcSquared
                                        Best guess is that it gets wrong QtDLLs maybe via
                                        path.

                                        1 Reply Last reply
                                        1
                                        • T Offline
                                          T Offline
                                          TMcSquared
                                          wrote on 9 Aug 2018, 20:30 last edited by
                                          #20

                                          My PATH variable has zero Qt paths in it. even after a clean install.

                                          M 1 Reply Last reply 9 Aug 2018, 20:32
                                          0

                                          1/35

                                          9 Aug 2018, 12:56

                                          • Login

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