Approaching the end, here is another segmentation violation, with a ca. 3k lines of code reproducer:
sf_isr_failure.f90 (92.4 KB)
(gdb) run
Starting program: /scratch/reuter/local/packages/whizard/debug/whizard-3.0.2/_build/tests/unit_tests/arsch/test_06/foo/whizard_test
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x000000000040e0f2 in state_matrices::state_matrix_get_matrix_element_single () at main_ut.f90:1787
1787 me = state%me(i)
(gdb) bt
#0 0x000000000040e0f2 in state_matrices::state_matrix_get_matrix_element_single () at main_ut.f90:1787
#1 0x0000000000415327 in interactions::interaction_get_matrix_element_single () at main_ut.f90:2447
#2 0x0000000000419303 in sf_isr_uti::sf_isr_5 () at main_ut.f90:2878
#3 0x000000000041ab57 in main_ut () at main_ut.f90:2897