Results 1 to 14 of 14

Thread: Is there a guide for exit code messages?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Is there a guide for exit code messages?

    I have a msg : exited with code -1073741515
    ?????

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Is there a guide for exit code messages?

    If you're on Windows, check MSDN. Google knows what MSDN is.

  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there a guide for exit code messages?

    thank you very much


    Added after 14 minutes:


    Humm!
    It is so difficult to find some information about...
    In adittion, I have discover people ask something similar many times at this forum.
    So... It would not be neccesary QT give us some more information ?
    Last edited by tonnot; 2nd December 2010 at 19:18.

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there a guide for exit code messages?

    The exit code is whatever you return from main, which, in a typical Qt app, would be the return value from QApplication::exec (which is usaually the value passed to QCoreApplication::exit())

    Unless the application terminates prematurely (eg. a system call or runtime library detects a fatal error)

    -1073741515 in hex is C0000135 in hex, which is an access violation (invalid memory address passed to some runtime function or heap corruption due to some buffer overflow)

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is there a guide for exit code messages?

    Let's put that in the FAQ then...

    http://www.qtcentre.org/faq.php?faq=...ntime_c0000135
    Last edited by wysota; 2nd December 2010 at 23:03.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #6
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there a guide for exit code messages?

    Thanks.
    Sincerely I think this is the kind of things I needed done in QTCreator, without the needed of search it at internet.

  7. #7
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Is there a guide for exit code messages?

    Quote Originally Posted by tonnot View Post
    Thanks.
    Sincerely I think this is the kind of things I needed done in QTCreator, without the needed of search it at internet.
    Creator is platform-agnostic; the error messages produced by the system is different on Windows, Mac and various flavors of Unix, and knowledge of what those codes mean on any given system rightly belongs to the user, not to the tool.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is there a guide for exit code messages?

    Quote Originally Posted by tonnot View Post
    Sincerely I think this is the kind of things I needed done in QTCreator, without the needed of search it at internet.
    Blame Microsoft, Creator has nothing to do with this.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Is there a guide for exit code messages?

    Just a note that the 135 error is not an access violation but a "dll not found error"

  10. #10
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there a guide for exit code messages?

    Correct, sorry about that, I looked it up on the wrong list

    The full list can be found in the 'ntstatus.h' file of the Win32 SDK

    If you don't have that SDK, Wine HQ has a GPL version here: http://www.winehq.org/pipermail/wine...er/003297.html

    Eg:
    #define STATUS_DLL_NOT_FOUND 0xC0000135

    Note that these status codes are only given if a process fails to intialise. It's upto the application to provide the code once the application is running.

  11. The following user says thank you to squidge for this useful post:

    tonnot (9th December 2010)

  12. #11
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there a guide for exit code messages?

    Thanks squidge.
    And Wysota, when I said that this is the kind of things I need QtCreator does, I claimed for a list like this.
    Blame Microsoft, Creator has nothing to do with this.
    But I'm using QT for building windows applications....
    It is as I have a car, the fuel tank has no filter, but normally fuel has impurities.
    After a kilometers of driving the motor is broken, Who is responsible for the failure?...
    As I said in other posts, I think that there some easy things that every user wait from this superb application.

  13. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is there a guide for exit code messages?

    Quote Originally Posted by tonnot View Post
    But I'm using QT for building windows applications....
    But it's Windows which returns the code.

    It is as I have a car, the fuel tank has no filter, but normally fuel has impurities.
    After a kilometers of driving the motor is broken, Who is responsible for the failure?...
    The example is inadequate. It's more like blaming the car producer for traffic on roads. Sure you are waiting in the traffic in the car made by this producer but sitting in another car in the same place would yield the same result - you'd still be in the traffic jam, the only responsibility of the car producer (any car producer) is that you are driving his car instead of using mass transit.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  14. #13
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there a guide for exit code messages?

    mmm.
    I keep on thinking that if my car has a fuel-filter (that costs only 1 €), I'm going to have better opinion of the manufacturer.

  15. #14
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there a guide for exit code messages?

    Well, QtCreator is open-source, if the "manufacturer" is unwilling to do it, you can always do it yourself.

    Kinda like you could always buy the fuel filter and fit it yourself, even if the manufacturer didn't supply it by default.

Similar Threads

  1. What means the "error n. 3" exit code?
    By glafauci in forum Qt Programming
    Replies: 0
    Last Post: 27th November 2010, 15:44
  2. Replies: 2
    Last Post: 21st November 2010, 18:03
  3. Guide to building apps?
    By whaleyboy in forum Newbie
    Replies: 8
    Last Post: 8th May 2010, 15:05
  4. Installation Guide
    By messifanboy in forum Installation and Deployment
    Replies: 1
    Last Post: 10th October 2009, 07:06
  5. Online guide
    By pshah.mumbai in forum Newbie
    Replies: 4
    Last Post: 1st October 2007, 18:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.