Problem merging root files

Hi experts,

I am trying to hadd a bunch of small files, but it fails. I have tried several platforms and different versions of root.

This is macOS 10.14.4 with ROOT 6.14/06.

*** Break *** segmentation violation

[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)

[<unknown binary>] (no debug info)

[/Applications/root_v6.14.06/lib/libTree.so] TTree::GetEntry(long long, int) (no debug info)

[/Applications/root_v6.14.06/lib/libTree.so] TTree::CopyEntries(TTree*, long long, char const*) (no debug info)

[/Applications/root_v6.14.06/lib/libTree.so] TTree::Merge(TCollection*, TFileMergeInfo*) (no debug info)

[/Applications/root_v6.14.06/lib/libRIO.so] TFileMerger::MergeRecursive(TDirectory*, TList*, int) (no debug info)

[/Applications/root_v6.14.06/lib/libRIO.so] TFileMerger::PartialMerge(int) (no debug info)

[/Applications/root_v6.14.06/bin/hadd] main::$_3::operator()(TFileMerger&) const (no debug info)

[/Applications/root_v6.14.06/bin/hadd] main::$_2::operator()(TFileMerger&, int, int) const (no debug info)

[/Applications/root_v6.14.06/bin/hadd] main (no debug info)

[/usr/lib/system/libdyld.dylib] start (no debug info)

[<unknown binary>] (no debug info)

And this is CentOS7 with root 6.14/08.

*** Error in `hadd': double free or corruption (out): 0x000000000460f2d0 ***

======= Backtrace: =========

/lib64/libc.so.6(+0x81489)[0x7f299bb9d489]

/usr/lib64/root/libTree.so.6.14(_ZN7TBranchD2Ev+0xaa)[0x7f299daa491a]

/usr/lib64/root/libTree.so.6.14(_ZN7TBranchD0Ev+0x9)[0x7f299daa4b59]

/usr/lib64/root/libCore.so.6.14(_ZN9TObjArray6DeleteEPKc+0x61)[0x7f299cbd2201]

/usr/lib64/root/libTree.so.6.14(_ZN5TTreeD2Ev+0xce)[0x7f299dafe02e]

/usr/lib64/root/libTree.so.6.14(_ZN5TTreeD0Ev+0x9)[0x7f299dafe359]

/usr/lib64/root/libCore.so.6.14(_ZN6TClass10DestructorEPvb+0x41)[0x7f299cc04721]

/usr/lib64/root/libRIO.so.6.14(_ZN11TFileMerger14MergeRecursiveEP10TDirectoryP5TListi+0x113f)[0x7f299d0a401f]

/usr/lib64/root/libRIO.so.6.14(_ZN11TFileMerger12PartialMergeEi+0x119)[0x7f299d0a4de9]

hadd[0x405de8]

/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f299bb3e3d5]

hadd[0x40705b]

I am completely lost and any suggestions would be much appreciated!

Thanks,
Vilius

Hi Vilius,

if you can provide a reproducer, please file a Jira item on our tracker for us to fix.

Cheers,
D

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.