dbcsr
dbcsr copied to clipboard
dbcsr_reserve_blocks dereferences dangling pointer MATRIX%COL_I
Running cp2k test cases QS/regtest-gw/evGW_OH_PBE.inp and evGW_OH_PBE_svd.inp the dangling pointer matrix%col_i is dereferenced at dbcsr_block_access.F line 597
CALL merge_index_arrays(new_row_i, new_col_i, new_blk_p, nblks_new, & old_row_i, matrix%col_i, matrix%blk_p, nblks_old, &
For first test case its target was DEALLOCATEd at line 406 of data/dbcsr_ptr_util.F DEALLOCATE (mem)
For second test case (_svd) its target was DEALLOCATEd at line 460 of dbcsr_data_methods.F DEALLOCATE (area%d)