Read Valgrind log

The valgrind log mentions the function UpdateIsOnHeap which had some issues that were fixed via [core/base] Clang-tidy Clazy Warnings · Issue #7412 · root-project/root · GitHub

Can you retry with the latest ROOT version?

Also, consider using this for better understanding/parsing the valgrind logs:

See also Debugging a ROOT macro