User forums > Using Code::Blocks

Debugging Error

(1/1)

wolfcry:
Hello,

I searched for this and though I found a few people with the same error, they did not help me so I was hoping someone knew what was going on.

Everytime I try to debug a file, I get a message prompt telling me Signal SIGSEGV error and if I want to view the back trace. Nothing is ever in the back trace.

Here is the output to the window:


--- Code: ---Adding file: bin\Debug\template.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.7.50.20071127
Child process PID: 2512
Program received signal SIGSEGV, Segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
--- End code ---

The multiple SIGSEGV faults is due to me having to hit "no" on the message prompt 3 - 4 times before CB actually debugs.

Thanks all for your help.

ollydbg:
You debugger it too old, please use a more recent debugger. (version > 7.0)

wolfcry:
Ok, this may be a silly question but how do I upgrade the debugger version?

I went to the MinGW website and downloaded the mingw-gdb debugger package, copied over the files from the package and over-wrote the originals contained in the C::B program directory and now I receive the following error associated with the gdb.exe file which is used to debug in C::B.

"This application has failed to start because libexpat-1.dll was not found. Re-installing the application may fix this problem."

Thanks.

wolfcry:
Nevermind, I found the necessary .dll file and everything is working as should be.

Thanks for your help.

Navigation

[0] Message Index

Go to full version