mpich icon indicating copy to clipboard operation
mpich copied to clipboard

debugger: Freeing a communicator causes the debugging code to segfault

Open RaymondMichael opened this issue 11 months ago • 1 comments

In dll_mpich.c:rebuild_communicator_list(), when a previous communicator has been freed and the code is freeing its tracker in the debugging code, it calls group_decref() to release the communicator's group. find_or_create_group() only ever returns a NULL group, and so the group_decref() function is bound to segfault when it tries touching the NULL group.

RaymondMichael avatar Mar 14 '25 14:03 RaymondMichael

Thanks for digging up some never finished code ;-)

hzhou avatar Mar 14 '25 17:03 hzhou