PDA

View Full Version : debugging error- help



mandyqt
14th February 2013, 21:47
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.

ChrisW67
15th February 2013, 01:10
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.

mandyqt
15th February 2013, 04:22
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.

mandyqt
12th March 2013, 00:41
I have sorted out the error, thanks for your help Chris.