Home | News | Documentation | Download

Problems with h2root

Hello,
I installed Root Version 6.22/06 using homebrew on MacOS 10.15.7. I need to convert hbook files to root files with h2root. I get the following error message when I try to convert a file:
Converting directory //example

>>>>>> CALL HRZKEY(IDN)

Converting RWN with ID= 1, nentries = 3324

*** Break *** bus error

[/usr/local/Cellar/root/6.22.06_2/lib/root/libCore.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)
[/usr/local/Cellar/root/6.22.06_2/lib/root/libCore.so] SigHandler(ESignals) (no debug info)
[/usr/local/Cellar/root/6.22.06_2/lib/root/libCore.so] sighandler(int) (no debug info)
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/usr/local/bin/h2root] hgiven_ (no debug info)
[/usr/local/bin/h2root] convert_rwn(int) (no debug info)
[/usr/local/bin/h2root] convert_directory(char const*) (no debug info)
[/usr/local/bin/h2root] main (no debug info)
[/usr/lib/system/libdyld.dylib] start (no debug info)

A .root file is created but it is empty.
Does anyone have any idea how to save that problem? Your help is greatly appreciated

Maybe @couet can give it a try

Can you post your .hbook file having problems ?

I could not solve the problem with the installed binary version on my mac. It seems to be a problem concerning the installation of ROOT on my laptop.
I did manage to convert the files on a machine running ubuntu.

Thanks for your help.

I think that would be interesting to see if it’s really an issue on Mac, so we can try to fix it…

If you give me access to your .hbook file I can try to convert it on my IMac.

1 Like

evt_charged_exp55_r0_s0.hbook.zip (76.0 KB)

Here is one of the .hbook files.

1 Like

indeed I see an issue on my IMac too:

% h2root evt_charged_exp55_r0_s0.hbook 
 Converting directory //example
 >>>>>> CALL HRZKEY(IDN)
 Converting RWN with ID= 1, nentries = 2758

 *** Break *** bus error
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/Users/couet/git/couet-root-bin/bin/h2root] hgiven_ (no debug info)
[/Users/couet/git/couet-root-bin/bin/h2root] convert_rwn(int) (no debug info)
[/Users/couet/git/couet-root-bin/bin/h2root] convert_directory(char const*) (no debug info)
[/Users/couet/git/couet-root-bin/bin/h2root] main (no debug info)
[/usr/lib/system/libdyld.dylib] start (no debug info)