News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Debugging Error

Started by wolfcry, April 30, 2010, 06:08:53 AM

Previous topic - Next topic

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:

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.


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.
C::B Version = 10.5
OS = Microsquish XP

ollydbg

You debugger it too old, please use a more recent debugger. (version > 7.0)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

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.
C::B Version = 10.5
OS = Microsquish XP

wolfcry

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

Thanks for your help.
C::B Version = 10.5
OS = Microsquish XP