GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from bounder... (gdb) Starting program: /home/john/public_html/f_src/gdb_test/bounder [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGBUS, Bus error. 0x000055555555565b in test02 () at bounder.f90:122 122 b(j) = j + 1 (gdb) $1 = 100000 (gdb) A debugging session is active. Inferior 1 [process 296956] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal]