Results 1 to 4 of 4

Thread: debugging error- help

  1. #1
    Join Date
    Feb 2013
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default debugging error- help

    Hi all,

    I am very new to Qt and C++ programming. My task is to make some changes to a code written by someone else (on MCMC sampling), unfortunately it runs up to 1000 iterations (total 2000) and produces a debugging error http://dl.dropbox.com/u/85061515/error.docx. I have no idea what it means. Can someone help me to explain me what it is, where it is happening and how to sort that out? Thanks a lot.

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

    Default Re: debugging error- help

    It is possibly an out-of-memory condition but its hard to say. Read down through the stack backtrace (middle bottom panel) until you find reference a line of code in your program (not the system or C++ libraries) and then you will have a clue where it is failing and what the program is doing at that point in time.

  3. #3
    Join Date
    Feb 2013
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: debugging error- help

    Thanks Chris for your feedback, I had a look where it stops in the code. So it stops at line 27 of distribution.cpp file (http://dl.dropbox.com/u/85061515/Distributions.cpp)
    Unfortunately cannot figure out what's wrong in there. Any help would be appreciated.

  4. #4
    Join Date
    Feb 2013
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: debugging error- help

    I have sorted out the error, thanks for your help Chris.

Similar Threads

  1. Replies: 4
    Last Post: 4th December 2012, 14:14
  2. SIGSEGV Error when debugging with Qt creator.
    By jiapei100 in forum Qt Programming
    Replies: 5
    Last Post: 22nd July 2012, 12:19
  3. Debugging error of a simple program
    By Professor widget in forum Newbie
    Replies: 5
    Last Post: 11th February 2011, 23:24
  4. Error when debugging with Qt creator
    By NewLegend in forum Qt Programming
    Replies: 3
    Last Post: 12th August 2010, 19:28
  5. Replies: 2
    Last Post: 11th August 2010, 10:13

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.