Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Runtime Error

    General and Desktop
    3
    3
    342
    Loading More Posts
    • 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.
    • A
      Anh Phan last edited by

      Hi every one. In my project I run my program and it works properly. But when i close it i receive this error message :
      Runtime Error
      This application has requested the runtime to terminate it in an unusual way.
      Please help me to solve it.

      Anh

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        The app crashes when u close it.
        Do you have any Global objects?

        If you put break point on last line in main()
        does it run to there before crashing or before?

        1 Reply Last reply Reply Quote 1
        • kshegunov
          kshegunov Moderators last edited by kshegunov

          @Anh-Phan
          To add to @mrjj's comment.
          Possibly you have a segmentation fault somewhere in the cleanup - double delete in destructors would be one possibility.

          Read and abide by the Qt Code of Conduct

          1 Reply Last reply Reply Quote 1
          • First post
            Last post