Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.
ROOT Version: 6.40.04
Platform: lxplus Linux lxplus960.cern.ch 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 11 21:20:33 EDT 2026 x86_64 x86_64 x86_64 GNU/Linux
Compiler: Code not compiled by me.
h2root often has a segmentation violation when trying to convert a HBOOK file to a ROOT file with 6.40.04.
This is not seen with 6.40.02 with the same file. The error does not occur on every invocation - but about 50% of the time.
It looks like I’m not currently allowed to upload files at least with this account. Please allow me to
do this as soon as possible (you can ask Rene if I should be trusted …).
I’ve put files that reproduce the problem on my public afs space at CERN.
See /afs/cern.ch/user/g/graham/public/BugReport
including file.histo, Buggy.txt, Correct.txt
[graham@lxplus960 BugReport-h2root]$ whereis h2root
h2root: /usr/bin/h2root /usr/share/man/man1/h2root.1.gz
root --version
ROOT Version: 6.40.04
Built for linuxx8664gcc on Aug 29 2026, 00:00:00
From tags/6-40-04@6-40-04