P
Paul
Situation:
Running a MPI program that segfaults.
Cannot open program up in debugger due to nature of MPI system.
Using g++ 3.2.3.
Goal:
Find out which line it segfaults on; ideally which variable name causes
the error. Some kind of error message akin to VC7's "stack corrupted
around varname" message would be very nice.
Less ideally:
I'm told that core dumps aid in finding out what went wrong where.
a)Is a "stack corrupted around" message possible with gcc?
b)How can I force my program to core dump on exceptional exit?
Thanks,
Paul
Running a MPI program that segfaults.
Cannot open program up in debugger due to nature of MPI system.
Using g++ 3.2.3.
Goal:
Find out which line it segfaults on; ideally which variable name causes
the error. Some kind of error message akin to VC7's "stack corrupted
around varname" message would be very nice.
Less ideally:
I'm told that core dumps aid in finding out what went wrong where.
a)Is a "stack corrupted around" message possible with gcc?
b)How can I force my program to core dump on exceptional exit?
Thanks,
Paul