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. Qt Crashing

Qt Crashing

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 4 Posters 875 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.
  • J Offline
    J Offline
    jrod2much
    wrote on last edited by
    #1

    Hello,

    I am currently working on a project that I have been working on for about 4 weeks. Today, I was editing, building and running as usual and all of a sudden my program started to crash.

    10:36:23: Starting C:\Users\rodriguez\Desktop\pixy2-master_V3\pixy2-master\src\host\build-pixymon-New_Kit-Profile\release\PixyMon...
    10:36:24: The program has unexpectedly finished.
    10:36:24: The process was ended forcefully.
    10:36:24: C:/Users/rodriguez/Desktop/pixy2-master_V3/pixy2-master/src/host/build-pixymon-New_Kit-Profile/release/PixyMon crashed.

    The output error is: "During startup program exited with code 0xc000135."

    This is weird because the program was building and running properly 15 minutes ago. The last thing I did was create a slot for a pushButton so it makes no sense. What do I do? Is there a way to restore my program to how it was this earlier, because Qt constantly autosaves ith the compiling?

    K 1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      If you run it with a debugger do you get any more useful output?

      Is there a way to restore my program to how it was this earlier

      This is one of the scenarios where using source control like git helps a lot

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      4
      • J jrod2much

        Hello,

        I am currently working on a project that I have been working on for about 4 weeks. Today, I was editing, building and running as usual and all of a sudden my program started to crash.

        10:36:23: Starting C:\Users\rodriguez\Desktop\pixy2-master_V3\pixy2-master\src\host\build-pixymon-New_Kit-Profile\release\PixyMon...
        10:36:24: The program has unexpectedly finished.
        10:36:24: The process was ended forcefully.
        10:36:24: C:/Users/rodriguez/Desktop/pixy2-master_V3/pixy2-master/src/host/build-pixymon-New_Kit-Profile/release/PixyMon crashed.

        The output error is: "During startup program exited with code 0xc000135."

        This is weird because the program was building and running properly 15 minutes ago. The last thing I did was create a slot for a pushButton so it makes no sense. What do I do? Is there a way to restore my program to how it was this earlier, because Qt constantly autosaves ith the compiling?

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @jrod2much

        Typically you can restore previous versions of a file by using "undo" functionality (possibly on Ctrl+z, you might need to check).

        However, this requires that you know where the change causing the crash happened.

        Try to start the debugger, but you need to compile in debug mode first.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        2
        • sneubertS Offline
          sneubertS Offline
          sneubert
          wrote on last edited by
          #4

          sometimes it may help to clean an rebuild the project, or to delete the entire build folder

          1 Reply Last reply
          3
          • J Offline
            J Offline
            jrod2much
            wrote on last edited by
            #5

            I cleaned and rebuilt it and it worked :)

            However, do you know the reliability of the program? Like, will this crashing begin again in the near future?

            K 1 Reply Last reply
            0
            • J jrod2much

              I cleaned and rebuilt it and it worked :)

              However, do you know the reliability of the program? Like, will this crashing begin again in the near future?

              K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              @jrod2much

              Sometimes the make process does not cover all dependent files, which may be changed. That was probably the case.
              Typically programs do not crash afterwards anymore. It is a good strategy to start a rebuild once in a while. Also when the compiled program does not do what intended.

              Probably you forgot to list a file, which can be changed in the .pro file. Therefore, the generated make file cannot cover/detect code changes ends under certain circumtances in a crash or ignores the changes. That is one possible explanation.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              2

              • Login

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