Fozzeebear
Technical User
I am having segmentation fault problems in some code I'm developing. The reported failure point is at the deallocation of an array, although I don't think that is the actual location of the error.
I'm working with the Lahey LF95 Linux compiler. Have switched on the --chk a,e,s options which should cover bounds checking on allocatable arrays.
However, the compiler documentation mentions that it doesn't cover bounds checking for assumed size arrays or pointers.
Can anyone offer advice for debugging this bounds checks? The code is quite large, so any automated method would be preferable.
I'm working with the Lahey LF95 Linux compiler. Have switched on the --chk a,e,s options which should cover bounds checking on allocatable arrays.
However, the compiler documentation mentions that it doesn't cover bounds checking for assumed size arrays or pointers.
Can anyone offer advice for debugging this bounds checks? The code is quite large, so any automated method would be preferable.