soumyadip@swift:~/Research/hadd_ak4$ hadd test2_xx.root nano102x_on_mini102x_2018_data_d_NANO_ak4_99.root nano102x_on_mini102x_2018_data_d_NANO_ak4_98.root hadd Target file: test2_xx.root hadd compression setting for all output: 1 hadd Source file 1: nano102x_on_mini102x_2018_data_d_NANO_ak4_99.root Warning in : no dictionary for class edm::Hash<1> is available Warning in : no dictionary for class edm::ParameterSetBlob is available Warning in : no dictionary for class edm::ProcessHistory is available Warning in : no dictionary for class edm::ProcessConfiguration is available Warning in : no dictionary for class pair,edm::ParameterSetBlob> is available hadd Source file 2: nano102x_on_mini102x_2018_data_d_NANO_ak4_98.root hadd Sources and Target have different compression levels hadd merging will be slower hadd Target path: test2_xx.root:/ *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x00007f7a2b63c687 in __GI___waitpid (pid=18235, stat_loc=stat_loc entry=0x7fff48933a68, options=options entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30 #1 0x00007f7a2b5a7067 in do_system (line=) at ../sysdeps/posix/system.c:149 #2 0x00007f7a2c808683 in TUnixSystem::Exec (shellcmd=, this=0x564a45e4cb80) at /home/soumyadip/Documents/Root/root-6.18.02/core/unix/src/TUnixSystem.cxx:2106 #3 TUnixSystem::StackTrace (this=0x564a45e4cb80) at /home/soumyadip/Documents/Root/root-6.18.02/core/unix/src/TUnixSystem.cxx:2400 #4 0x00007f7a2c80b074 in TUnixSystem::DispatchSignals (this=0x564a45e4cb80, sig=kSigSegmentationViolation) at /home/soumyadip/Documents/Root/root-6.18.02/core/unix/src/TUnixSystem.cxx:3631 #5 #6 _int_malloc (av=av entry=0x7f7a2b943c40 , bytes=bytes entry=1534) at malloc.c:4028 #7 0x00007f7a2b5ef0fc in __GI___libc_malloc (bytes=1534) at malloc.c:3057 #8 0x00007f7a2bf92298 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007f7a2c6c49d9 in TBuffer::TBuffer (this=0x564a5323b990, mode=TBuffer::kRead, bufsiz=1526) at /home/soumyadip/Documents/Root/root-6.18.02/core/base/src/TBuffer.cxx:85 #10 0x00007f7a2cc51589 in TBufferIO::TBufferIO (this=0x564a5323b990, mode=, bufsiz=) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TBufferIO.cxx:51 #11 0x00007f7a2cc4b769 in TBufferFile::TBufferFile (this=0x564a5323b990, mode=, bufsiz=) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TBufferFile.cxx:89 #12 0x00007f7a2d6ba3d1 in R__InitializeReadBasketBuffer (file=0x564a46e068b0, len=1526, bufferRef=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBasket.cxx:419 #13 TBasket::ReadBasketBuffers (this=this entry=0x564a5323b880, pos=408499681, len=224, file=file entry=0x564a46e068b0) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBasket.cxx:579 #14 0x00007f7a2d6c544d in TBranch::GetBasketImpl (this=this entry=0x564a47763ff0, basketnumber=48, user_buffer=user_buffer entry=0x0) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBranch.cxx:1245 #15 0x00007f7a2d6c5b15 in TBranch::GetBasketAndFirst (this=this entry=0x564a47763ff0, basket= 0x7fff489367e8: 0x0, first= 0x7fff489367f0: 152186, user_buffer=user_buffer entry=0x0) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBranch.cxx:1362 #16 0x00007f7a2d6c6259 in TBranch::GetEntry (this=0x564a47763ff0, entry=152186, getall=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBranch.cxx:1589 #17 0x00007f7a2d73ae48 in TTree::::operator() (__closure=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:5439 #18 TTree::GetEntry (this=0x564a47435b50, entry=, getall=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:5514 #19 0x00007f7a2d73f4a8 in TTree::CopyEntries (this=0x564a46a232a0, tree=0x564a47435b50, nentries=153609, option=0x7fff48936c81 "") at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:3514 #20 0x00007f7a2d73ebd6 in TTree::Merge (this=0x564a46a232a0, li=, info=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:6760 #21 0x00007f7a2cc974ff in TFileMerger::MergeRecursive (this=0x7fff48937750, target=0x564a46b1c2c0, sourcelist=0x7fff489377a8, type=12) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TFileMerger.cxx:582 #22 0x00007f7a2cc95a45 in TFileMerger::PartialMerge (this=0x7fff48937750, in_type=12) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TFileMerger.cxx:854 #23 0x0000564a4459605a in ::operator() (merger=..., __closure=0x7fff489373c0) at /home/soumyadip/Documents/Root/root-6.18.02/main/src/hadd.cxx:436 #24 ::operator()(TFileMerger &, int, int) const (__closure=0x7fff48937310, merger=..., start=, nFiles=) at /home/soumyadip/Documents/Root/root-6.18.02/main/src/hadd.cxx:464 #25 0x0000564a44593d6a in main (argc=, argv=) at /home/soumyadip/Documents/Root/root-6.18.02/main/src/hadd.cxx:506 =========================================================== The lines below might hint at the cause of the crash. You may get help by asking at the ROOT forum http://root.cern.ch/forum Only if you are really convinced it is a bug in ROOT then please submit a report at http://root.cern.ch/bugs Please post the ENTIRE stack trace from above as an attachment in addition to anything else that might help us fixing this issue. =========================================================== #6 _int_malloc (av=av entry=0x7f7a2b943c40 , bytes=bytes entry=1534) at malloc.c:4028 #7 0x00007f7a2b5ef0fc in __GI___libc_malloc (bytes=1534) at malloc.c:3057 #8 0x00007f7a2bf92298 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007f7a2c6c49d9 in TBuffer::TBuffer (this=0x564a5323b990, mode=TBuffer::kRead, bufsiz=1526) at /home/soumyadip/Documents/Root/root-6.18.02/core/base/src/TBuffer.cxx:85 #10 0x00007f7a2cc51589 in TBufferIO::TBufferIO (this=0x564a5323b990, mode=, bufsiz=) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TBufferIO.cxx:51 #11 0x00007f7a2cc4b769 in TBufferFile::TBufferFile (this=0x564a5323b990, mode=, bufsiz=) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TBufferFile.cxx:89 #12 0x00007f7a2d6ba3d1 in R__InitializeReadBasketBuffer (file=0x564a46e068b0, len=1526, bufferRef=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBasket.cxx:419 #13 TBasket::ReadBasketBuffers (this=this entry=0x564a5323b880, pos=408499681, len=224, file=file entry=0x564a46e068b0) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBasket.cxx:579 #14 0x00007f7a2d6c544d in TBranch::GetBasketImpl (this=this entry=0x564a47763ff0, basketnumber=48, user_buffer=user_buffer entry=0x0) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBranch.cxx:1245 #15 0x00007f7a2d6c5b15 in TBranch::GetBasketAndFirst (this=this entry=0x564a47763ff0, basket= 0x7fff489367e8: 0x0, first= 0x7fff489367f0: 152186, user_buffer=user_buffer entry=0x0) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBranch.cxx:1362 #16 0x00007f7a2d6c6259 in TBranch::GetEntry (this=0x564a47763ff0, entry=152186, getall=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TBranch.cxx:1589 #17 0x00007f7a2d73ae48 in TTree::::operator() (__closure=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:5439 #18 TTree::GetEntry (this=0x564a47435b50, entry=, getall=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:5514 #19 0x00007f7a2d73f4a8 in TTree::CopyEntries (this=0x564a46a232a0, tree=0x564a47435b50, nentries=153609, option=0x7fff48936c81 "") at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:3514 #20 0x00007f7a2d73ebd6 in TTree::Merge (this=0x564a46a232a0, li=, info=) at /home/soumyadip/Documents/Root/root-6.18.02/tree/tree/src/TTree.cxx:6760 #21 0x00007f7a2cc974ff in TFileMerger::MergeRecursive (this=0x7fff48937750, target=0x564a46b1c2c0, sourcelist=0x7fff489377a8, type=12) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TFileMerger.cxx:582 #22 0x00007f7a2cc95a45 in TFileMerger::PartialMerge (this=0x7fff48937750, in_type=12) at /home/soumyadip/Documents/Root/root-6.18.02/io/io/src/TFileMerger.cxx:854 #23 0x0000564a4459605a in ::operator() (merger=..., __closure=0x7fff489373c0) at /home/soumyadip/Documents/Root/root-6.18.02/main/src/hadd.cxx:436 #24 ::operator()(TFileMerger &, int, int) const (__closure=0x7fff48937310, merger=..., start=, nFiles=) at /home/soumyadip/Documents/Root/root-6.18.02/main/src/hadd.cxx:464 #25 0x0000564a44593d6a in main (argc=, argv=) at /home/soumyadip/Documents/Root/root-6.18.02/main/src/hadd.cxx:506 =========================================================== Segmentation fault (core dumped)