×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    62

    Qt creator close when application running

    I use Qt 4.6.2 on fedora "linux"

    when I tried to run or debug my program Qt creator close at specific point.

    this section of code make long while loop and use huge memory allocated.

    I do many calculation before this section and also many while loop

    Is there problem in Qt?

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt creator close when application running

    Did you try to run application from command line? Do you observe the same?

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    62

    Re: Qt creator close when application running

    How to run it from command line?

  4. #4
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt creator close when application running

    Code:
    ./binary_name

  5. #5
    Registered User
    Join Date
    Apr 2010
    Posts
    62

    Re: Qt creator close when application running

    I run it from commandline and it show me message "process killed"

  6. #6
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt creator close when application running

    Quote Originally Posted by NMMA View Post
    I run it from commandline and it show me message "process killed"
    So could we conclude that the problem is not related to Qt Creator?

  7. #7
    Registered User
    Join Date
    Apr 2010
    Posts
    62

    Re: Qt creator close when application running

    ok..thanx for ur reply

    can you suggest any profiler to discover what happen at this point?

    when i run system monitor it shows huge memory consumption

    I test this application on windows and it works very well.

  8. #8
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt creator close when application running

    You can use Valgrind's memcheck tool, for example. It also has GUI front-ends http://valgrind.org/downloads/guis.html

  9. #9
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Qt creator close when application running

    Check the logs carefully for "Assertion failure".

    If that doesn't help then you do it the old fashioned way -- divide and conquer with print statements.

  10. #10
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Qt creator close when application running

    Or, under the Qt Creator debugger put a stop on method "qFatal".

  11. #11
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt creator close when application running

    Quote Originally Posted by danhicksbyron View Post
    Check the logs carefully for "Assertion failure".

    If that doesn't help then you do it the old fashioned way -- divide and conquer with print statements.
    If it says process was killed, then it was killed by oom killer because using way too much memory.

Similar Threads

  1. Replies: 5
    Last Post: 2010-01-28, 15:01
  2. Replies: 11
    Last Post: 2008-10-16, 06:33
  3. What is application running in background?
    By newnb in forum Symbian
    Replies: 3
    Last Post: 2007-01-08, 03:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×