metall icon indicating copy to clipboard operation
metall copied to clipboard

SEGFAULT through nullptr access in `object_cache::priv_make_room_for_new_blocks`

Open liss-h opened this issue 5 months ago • 9 comments

In object_cache::priv_make_room_for_new_blocks there is an assertion that the oldest block must not be nullptr https://github.com/LLNL/metall/blob/1f6c027680ea89bf92bd9a5255e006c044aa078f/include/metall/kernel/object_cache.hpp#L742.

However, this assertion is not always true which causes a segfault on one of the following lines when oldest_block is accessed.

I have not yet figured out what exactly causes this but maybe you have an idea. I will try to narrow the bug down further and comment on this issue if I find something new.

Stack trace: grafik

liss-h avatar Sep 17 '24 08:09 liss-h