Problem with TFileMerger

From: Melinda Siciliano <mellybinda_at_gmail.com>
Date: Wed, 31 Mar 2010 14:37:09 +0200


Dear ROOTers,

I wrote a macro that tries to merges files using TFileMerger. When I run the macro, if I use less than 5 files, all works fine, but if I use more files, when I call the Merge method, I receive the message (obtained with gdb root.exe , catch throw and after run root .exception and then execute the macro) you can find below.

Could someone help me?

Thanks in advance,

Melinda

Catchpoint 1 (exception thrown), 0xb1b16525 in __cxa_throw () from /usr/lib/libstdc++.so.6
(gdb) where
#0 0xb1b16525 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1 0xb1b16c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#2 0xb1b16ced in operator new[](unsigned int) () from
/usr/lib/libstdc++.so.6
#3 0xb34e0e16 in TBasket::Streamer(TBuffer&) () from
/home/melinda/alisoft/root/root/lib/libTree.so.5.26
#4 0xb34dfd85 in TBasket::LoadBasketBuffers(long long, int, TFile*) () from
/home/melinda/alisoft/root/root/lib/libTree.so.5.26
#5 0xb35307ad in TTreeCloner::WriteBaskets() () from
/home/melinda/alisoft/root/root/lib/libTree.so.5.26
#6 0xb35324ea in TTreeCloner::Exec() () from
/home/melinda/alisoft/root/root/lib/libTree.so.5.26
#7 0xb350be9d in TChain::Merge(TFile*, int, char const*) () from
/home/melinda/alisoft/root/root/lib/libTree.so.5.26
#8 0xb1e8e28b in TFileMerger::MergeRecursive(TDirectory*, TList*) () from
/home/melinda/alisoft/root/root/lib/libProofPlayer.so.5.26
#9 0xb1e8e8d7 in TFileMerger::MergeRecursive(TDirectory*, TList*) () from
/home/melinda/alisoft/root/root/lib/libProofPlayer.so.5.26
#10 0xb1e8e8d7 in TFileMerger::MergeRecursive(TDirectory*, TList*) () from
/home/melinda/alisoft/root/root/lib/libProofPlayer.so.5.26
#11 0xb1e8e8d7 in TFileMerger::MergeRecursive(TDirectory*, TList*) () from
/home/melinda/alisoft/root/root/lib/libProofPlayer.so.5.26
#12 0xb1e8d3e0 in TFileMerger::Merge(bool) () from
/home/melinda/alisoft/root/root/lib/libProofPlayer.so.5.26
#13 0xb1ecdccc in G__G__ProofPlayer_129_0_12(G__value*, char const*,
G__param*, int) () from
/home/melinda/alisoft/root/root/lib/libProofPlayer.so.5.26
#14 0xb412d95a in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*,
G__param*, int), G__value*, char*, G__param*, int) ()

   from /home/melinda/alisoft/root/root/lib/libCint.so.5.26
#15 0xb41d8daf in G__execute_call () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#16 0xb41da7b2 in G__call_cppfunc () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#17 0xb41b3964 in G__interpret_func () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#18 0xb41a40d4 in G__getfunction () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#19 0xb429826d in G__getstructmem () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#20 0xb428c25d in G__getvariable () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#21 0xb417cbe8 in G__getitem () from

/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#22 0xb417e69a in G__getexpr () from

/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#23 0xb418d785 in G__test () from

/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#24 0xb4207a89 in G__exec_statement () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#25 0xb41b4ca3 in G__interpret_func () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#26 0xb41a4139 in G__getfunction () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#27 0xb417d283 in G__getitem () from

/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#28 0xb4182cf5 in G__getexpr () from

/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#29 0xb418db0c in G__calc_internal () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#30 0xb4214f35 in G__process_cmd () from
/home/melinda/alisoft/root/root/lib/libCint.so.5.26
#31 0xb48e495b in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*)
() from /home/melinda/alisoft/root/root/lib/libCore.so.5.26
#32 0xb48df171 in TCint::ProcessLineSynch(char const*,
TInterpreter::EErrorCode*) () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#33 0xb4804fad in TApplication::ExecuteFile(char const*, int*, bool) () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#34 0xb480540c in TApplication::ProcessFile(char const*, int*, bool) () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#35 0xb4802e5f in TApplication::ProcessLine(char const*, bool, int*) () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#36 0xb3466939 in TRint::HandleTermInput() () from
/home/melinda/alisoft/root/root/lib/libRint.so.5.26
#37 0xb3464ad5 in TTermInputHandler::Notify() () from
/home/melinda/alisoft/root/root/lib/libRint.so.5.26
#38 0xb34674b4 in TTermInputHandler::ReadNotify() () from
/home/melinda/alisoft/root/root/lib/libRint.so.5.26 ---Type <return> to continue, or q <return> to quit---
#39 0xb48f6797 in TUnixSystem::CheckDescriptors() () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#40 0xb48f6da5 in TUnixSystem::DispatchOneEvent(bool) () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#41 0xb4866261 in TSystem::InnerLoop() () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#42 0xb4869059 in TSystem::Run() () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#43 0xb4800a67 in TApplication::Run(bool) () from
/home/melinda/alisoft/root/root/lib/libCore.so.5.26
#44 0xb3466d41 in TRint::Run(bool) () from
/home/melinda/alisoft/root/root/lib/libRint.so.5.26
#45 0x080499af in main (argc=1, argv=0xbfffec04) at ALIROOT/aliroot.cxx:98
(gdb) qqq
Undefined command: "qqq". Try "help". Received on Wed Mar 31 2010 - 14:37:13 CEST

This archive was generated by hypermail 2.2.0 : Wed Mar 31 2010 - 17:50:01 CEST