Other than traditional debugging tool such as using pgdbg or valgrind to determine where segfault occurs, the compiler does not have additional runtime diagnostics that would help to find when a reallocation occurs.
Though given the code works with -Mallocatable=95 and 03 is new, it’s possible that this is a compiler error. Could you please send a note with a reproducing example to PGI Customer Service (trs@pgroup.com)? We’ll have one of our compiler engineers take a look and see what the issue is.