TBufferMerger fails to write histograms to output file for Alma Linux

Continuing the discussion from Multi-threaded output of TH* histograms via TBufferMerger:


ROOT Version: 6.36.10
Platform: Alma Linux 8.10 (linuxx8664gcc)
Compiler: c++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28)


Details about this issue, along with a small code to reproduce, are contained in the original linked discussion. The original issue was never resolved, and this has become a crucial issue for me that now needs to be fixed. The gist is as follows:

I have tried all manner of different ways of writing a histogram to the thread-local file, with no success.

Crucially: The writing of histograms in this manner works just fine on other versions of Linux.

Mainly, I have tested and verified that this works on Rocky Linux for the same version 6.36.10 of ROOT. However, for some unexplicable reason, it fails to work on Alma Linux 8.10.

I have a data analysis code which relies on this functionality, and this issue needs to be resolved before I can continue with my work. I am so incredibly confused by this problem, and have made absolutely no progress in fixing it.

Hi @crafter312, thanks for your question. @pcanal might be able to help here.