------- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-06-01 21:41 ------- > Why not use gdb? I don't see how gdb helps pinpointing the array-out-of-bound problem. As said: the program ends with Fortran runtime error: Array reference out of bounds Program exited with code 02. but it does not crash. Thus there is no backtrace available to pinpoint the problem.
If you mean for the double-free: It crashes at a deallocate() which looks rather innocent (as does the whole file). My feeling is that something gets corrupted duing a subroutine call. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27868