Results 1 to 5 of 5

Thread: Qt complier error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Exclamation Qt complier error

    when i debug qt application, an error appeares.
    the information of error is that "The gdb process exited unexpectedly code 3".
    what does it mean ?

    thank you.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Qt complier error

    It means the Gnu debugger (gdb) ended possibly because the debugged program did something bad. If it had not been "unexpectedly" then it may simply be that the debugged program exited cleanly with a code of 3. Start your program and single step it to the failure.

  3. #3
    Join Date
    Mar 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt complier error

    Thank you for your reply.
    My application is read image from camera and show it.
    It is a loop.
    And this time it runs about 4 hours and appeared the this error.
    By the way, do you know code 3 means what?
    I think if i know code 3, i can find bug.
    But i think sometimes qt is not steady.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Qt complier error

    If it is running OK for 4 hours before crashing out then you should probably be looking for a memory leak or other chronic resource issue.

    Do you see a stack backtrace when the program terminates?

  5. #5
    Join Date
    Mar 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt complier error

    No.
    Sometime it happens, some it does not happen.
    I also check memory leak, but it works well, i think no problem.
    I also have another question.
    The details is that when application runs for a long time, QTextedit not update text, QImage not update image. But when i hide dialog and show it again, it can update again.
    So i think the reason may be, first is update signal is blocked, second is Qt build in bug.
    Have you met these before?
    Thank you.

Similar Threads

  1. no compile error, but error on run with QMenu QAction
    By sincnarf in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2011, 11:05
  2. Replies: 7
    Last Post: 31st January 2011, 15:46
  3. Replies: 3
    Last Post: 23rd January 2011, 12:15
  4. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24
  5. Replies: 1
    Last Post: 25th October 2008, 19:18

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
  •  
Qt is a trademark of The Qt Company.