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. Program crashes on exit

Program crashes on exit

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 353 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.
  • L Offline
    L Offline
    lansing
    wrote on last edited by
    #1

    My program seems to be exiting normally but Qt Creator reported it as crashed. I have read in the forum that it could be caused by deleting the same object twice on destruction. Is there a debugging tool to find out where it is?

    15:12:16: The program has unexpectedly finished.
    15:12:16: The process was ended forcefully.
    15:12:16: E:\programming\myApp\build\debug-64bit-msvc\myApp-debug-64bit-msvc.exe crashed.
    
    JonBJ 1 Reply Last reply
    0
    • L lansing

      My program seems to be exiting normally but Qt Creator reported it as crashed. I have read in the forum that it could be caused by deleting the same object twice on destruction. Is there a debugging tool to find out where it is?

      15:12:16: The program has unexpectedly finished.
      15:12:16: The process was ended forcefully.
      15:12:16: E:\programming\myApp\build\debug-64bit-msvc\myApp-debug-64bit-msvc.exe crashed.
      
      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @lansing
      When you run your program from Qt Creator, do you do this from Debug or just Run? The hope would be that if inside the debugger it would break when this happens, and allow you to view a stack trace.

      L 1 Reply Last reply
      1
      • JonBJ JonB

        @lansing
        When you run your program from Qt Creator, do you do this from Debug or just Run? The hope would be that if inside the debugger it would break when this happens, and allow you to view a stack trace.

        L Offline
        L Offline
        lansing
        wrote on last edited by
        #3

        @JonB

        Oh you're right, I ran it with the Debug button and it caught it on exit.

        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