|
The stack in main() has been corrupted with an overrun of one or more the variable(s) on it. Probably in one of the functions. It has overwritten the stack pointer that return uses to go back to the calling routines (_start is the usual name).
When main() attempts a return the SP is not "aimed" where it should be. And your code tries to read program text outside of process memory. Address: 0x08
exit() does not return from main or wherever - it starts image rundown directly. It does not use the SP.
You need to fix the problem before you push your code to production. Try running electric fence or whatever other memory checkers you have.
Last edited by jim mcnamara; 05-06-2008 at 09:50 AM.
|