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. Mysterious SegFault only if not run after QMake
Forum Updated to NodeBB v4.3 + New Features

Mysterious SegFault only if not run after QMake

Scheduled Pinned Locked Moved General and Desktop
38 Posts 4 Posters 14.7k 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 Offline
    F Offline
    foxyz
    wrote on last edited by
    #26

    Btw, segment fault is a very simple issue and can be easily found out.just use gdb or dbx,or other debug tools,see the call stacks,then located in the exact place where the error occured

    I just know coding and coding

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mccurrab
      wrote on last edited by
      #27

      Okay, so...yeah. I had to make some changes to my code that propagated through a lot of it and it brought back the seg faulting. As for using debuggers, as I mentioned earlier, it is seg faulting in the destructors, so the stack I am getting is mostly unintelligible. I was thinking about starting a new thread, but since this one has already served me well, I thought I'd at least see if I could find an answer here first. There is about to be a lot of code from my main window class. Can anyone see anything initially wrong here? If not, I'll post more code.

      Thanks in advance since there's no way I can TL;DR this.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mccurrab
        wrote on last edited by
        #28

        Sorry about this post, it was code, continue on for dropbox link.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mccurrab
          wrote on last edited by
          #29

          This is my stack when it seg faults:

          0 wvsprintfW C:\Windows\syswow64\user32.dll 0 0x75547a24
          1 ?? 0 0xd70a7b12
          2 ?? 0 0x28fa84
          3 HydraDMH!HookMessages C:\Program Files (x86)\ATI Technologies\HydraVision\HydraDMH.dll 0 0x1000d396
          4 ?? 0 0x2302b2
          5 ?? 0 0x28f674
          6 ?? 0

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mccurrab
            wrote on last edited by
            #30

            Sorry about this post, it was code, continue on for dropbox link.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mccurrab
              wrote on last edited by
              #31

              Sorry about this post, it was code, continue on for dropbox link.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mccurrab
                wrote on last edited by
                #32

                Sorry about this post, it was code, continue on for dropbox link.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mccurrab
                  wrote on last edited by
                  #33

                  Sorry about this post, it was code, continue on for dropbox link.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mccurrab
                    wrote on last edited by
                    #34

                    Sorry about this post, it was code, continue on for dropbox link.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mccurrab
                      wrote on last edited by
                      #35

                      Sorry about this post, it was code, continue on for dropbox link.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mccurrab
                        wrote on last edited by
                        #36

                        let me know if you guys can find anything in there. Is there any way I can just upload the source files for people to look at? This seems very inefficient.

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          koahnig
                          wrote on last edited by
                          #37

                          [quote author="mccurrab" date="1332940503"]let me know if you guys can find anything in there. Is there any way I can just upload the source files for people to look at? This seems very inefficient.[/quote]

                          You are correct this is inefficient, but also not intended by the platform. Larger attachments to posts need to be placed somewhere on another server and you should place the link here.
                          Some people are using "dropbox":http://www.dropbox.com , but I have seen other platforms as well.

                          My suggestion would be to have a compilable setup in a zip-file. This makes it easier for others to help you.

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

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mccurrab
                            wrote on last edited by
                            #38

                            Okay, got the public link to a .rar containing the project!

                            http://dl.dropbox.com/u/15926661/ATL2.rar

                            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