PDA

View Full Version : absurd problem



sabonis
3rd March 2008, 20:54
I'm working on a program that crashes with a segmentation fault.
If I run the program in debug mode, the program don't crash.
How can I find the error???
The only thing I have is core dump, if I open the core file with gdb I get something like this:
Program terminated with signal 11, Segmentation fault.
#0 0xc7b5e2a4 in ?? ()

wysota
3rd March 2008, 22:52
Issue the command "bt" in the debugger and give us the result. This will probably tell us nothing, but it's worth to try :) Otherwise insert some debug statements into the code, recompile and try to detect where the application crashes.