PDA

View Full Version : problem with debugger



minomic
13th January 2011, 17:43
hi everyone, I am using QtCreator 2.0.1 in Windows 7. I wrote a GUI application and it works fine but it still has some problems. I am trying to use the debugger but I keep on getting an error.
It says "The inferior stopped because it received a signal from the operating system"
Singnal name: SIGSEGV
Signal meaning: segmentation fault
Can you please tell how to fix the problem?
Thank you in advance.

squidge
13th January 2011, 20:10
A SIGSEGV is typically a memory violation, such as writing to invalid memory, writing past array bounds, invalid or danling pointer, etc.

So make sure your not doing any of those things and see if the error goes away.

minomic
13th January 2011, 20:15
Thank you for your reply. I checked and re-checked the code and found nothing. Anyway I had already found this problem on other programs I wrote which were working perfectly well. Anyway, I will try to re-re-check the code and let you know what I find out. Thank you again and if you have other suggestions let me know.