David Steiner
2009-04-02 02:42:29 UTC
Hi,
So I'm baffled... I am getting a seg fault at some point AFTER my program
returns... Here is my gdb output:
Program received signal SIGSEGV, Segmentation fault.
0xff0cded8 in __do_global_dtors_aux () from
/software/gcc-3.4.2_runtime/lib/libstdc++.so.6
(gdb) bt
#0 0xff0cded8 in __do_global_dtors_aux () from
/software/gcc-3.4.2_runtime/lib/libstdc++.so.6
#1 0xff0cdeac in _fini () from
/software/gcc-3.4.2_runtime/lib/libstdc++.so.6
#2 0xff1c0c70 in ?? ()
Previous frame identical to this frame (corrupt stack?)
Now this actually happens after my main method returns, or on my main
method's return call, becuase I have a cout statement right before "return
0", which prints without a problem. Is it some kind of cleanup issue???
Any help is appreciated! Thanks,
Dave
So I'm baffled... I am getting a seg fault at some point AFTER my program
returns... Here is my gdb output:
Program received signal SIGSEGV, Segmentation fault.
0xff0cded8 in __do_global_dtors_aux () from
/software/gcc-3.4.2_runtime/lib/libstdc++.so.6
(gdb) bt
#0 0xff0cded8 in __do_global_dtors_aux () from
/software/gcc-3.4.2_runtime/lib/libstdc++.so.6
#1 0xff0cdeac in _fini () from
/software/gcc-3.4.2_runtime/lib/libstdc++.so.6
#2 0xff1c0c70 in ?? ()
Previous frame identical to this frame (corrupt stack?)
Now this actually happens after my main method returns, or on my main
method's return call, becuase I have a cout statement right before "return
0", which prints without a problem. Is it some kind of cleanup issue???
Any help is appreciated! Thanks,
Dave