gcc 3.3.6 - stack corruption questions
Giovanni Bajo
rasky@develer.com
Mon Jul 25 15:15:00 GMT 2005
Louis LeBlanc <leblanc@keyslapper.net> wrote:
> The problem is I'm getting core dumps (SEGV) that appears to come from
> this code when I know it shouldn't be in the execution path. The code
> in question is switched on by a command line argument only, and the
> process is managed by a parent process that monitors and manages it's
> execution - reporting crashes and restarting it if necessary.
Looks like a bug hidden in your code. Several things you could try:
- valgrind
- GCC 4.0 with -fmudflap
- GCC 4.1 CVS with -fstack-protect
--
Giovanni Bajo
More information about the Gcc
mailing list