**************************************************** Running the macro without compiling it with root: **************************************************** -bash-4.1$ root FillHisto_test.C ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C... File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-5-Delta0-bw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 616623 616623 616623 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 *** Reco Loop *** Getting Entry: 500000 Number of events in the Histogram looping over TTree: Total_intF (0-9) IntegralF (1-8) GetEntriesF 586465 586465 586465 *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x0000003511eabf9e in waitpid () from /lib64/libc.so.6 #1 0x0000003511e3e899 in do_system () from /lib64/libc.so.6 #2 0x00002add3aaf0bc8 in TUnixSystem::StackTrace() () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #3 0x00002add3aaf0053 in TUnixSystem::DispatchSignals(ESignals) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #4 #5 0x0000003511e7af3c in free () from /lib64/libc.so.6 #6 0x00002add3b616eda in G__destroy_upto () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #7 0x00002add3b57f25f in G__interpret_func () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #8 0x00002add3b56ad0b in G__getfunction () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #9 0x00002add3b5487ae in G__getitem () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #10 0x00002add3b54d328 in G__getexpr () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #11 0x00002add3b556838 in G__calc_internal () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #12 0x00002add3b5dbdd3 in G__process_cmd () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #13 0x00002add3aab5796 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #14 0x00002add3aab3ad3 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #15 0x00002add3aa20788 in TApplication::ExecuteFile(char const*, int*, bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #16 0x00002add3aa1eb33 in TApplication::ProcessLine(char const*, bool, int*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #17 0x00002add3b276578 in TRint::Run(bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libRint.so.5.34 #18 0x000000000040104c in main () =========================================================== The lines below might hint at the cause of the crash. If they do not help you then please submit a bug 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. =========================================================== #5 0x0000003511e7af3c in free () from /lib64/libc.so.6 =========================================================== Root > Function FillHisto_test() busy flag cleared .q -bash-4.1$ root FillHisto_test.C ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C... File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-5-Delta0-fw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 760067 760067 760067 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 *** Reco Loop *** Getting Entry: 500000 *** Reco Loop *** Getting Entry: 600000 *** Reco Loop *** Getting Entry: 700000 Number of events in the Histogram looping over TTree: Total_intF (0-9) IntegralF (1-8) GetEntriesF 735503 735503 735503 root [1] .q -bash-4.1$ root FillHisto_test.C ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C... File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-10-Delta0-bw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 500104 500104 500104 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x0000003511eabf9e in waitpid () from /lib64/libc.so.6 #1 0x0000003511e3e899 in do_system () from /lib64/libc.so.6 #2 0x00002ae79da1dbc8 in TUnixSystem::StackTrace() () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #3 0x00002ae79da1d053 in TUnixSystem::DispatchSignals(ESignals) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #4 #5 0x00002ae79e50bb70 in G__LD_p0_pointer () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #6 0x00002ae79e436c83 in G__exec_asm () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #7 0x00002ae79e500df0 in G__exec_loop () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #8 0x00002ae79e4fbb3b in G__exec_statement () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #9 0x00002ae79e4ab335 in G__interpret_func () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #10 0x00002ae79e497d0b in G__getfunction () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #11 0x00002ae79e4757ae in G__getitem () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #12 0x00002ae79e47a328 in G__getexpr () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #13 0x00002ae79e483838 in G__calc_internal () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #14 0x00002ae79e508dd3 in G__process_cmd () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #15 0x00002ae79d9e2796 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #16 0x00002ae79d9e0ad3 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #17 0x00002ae79d94d788 in TApplication::ExecuteFile(char const*, int*, bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #18 0x00002ae79d94bb33 in TApplication::ProcessLine(char const*, bool, int*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #19 0x00002ae79e1a3578 in TRint::Run(bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libRint.so.5.34 #20 0x000000000040104c in main () =========================================================== The crash is most likely caused by a problem in your script. Try to compile it (.L myscript.C+g) and fix any errors. If that does not help then please submit a bug 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. Root > Function FillHisto_test() busy flag cleared .q -bash-4.1$ root FillHisto_test.C ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C... File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-10-Delta0-fw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 586602 586595 586602 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 *** Reco Loop *** Getting Entry: 500000 Number of events in the Histogram looping over TTree: Total_intF (0-9) IntegralF (1-8) GetEntriesF 556461 556454 556461 *** glibc detected *** /cluster/gsi/fairsoft/gcc/fairsoft_apr13/bin/root.exe: munmap_chunk(): invalid pointer: 0x000000000314ae70 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3511e75916] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34(G__destroy_upto+0x2ca)[0x2b540c77beda] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34(G__interpret_func+0x409f)[0x2b540c6e425f] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34(G__getfunction+0x192b)[0x2b540c6cfd0b] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34(G__getitem+0x86e)[0x2b540c6ad7ae] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34(G__getexpr+0x4048)[0x2b540c6b2328] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34(G__calc_internal+0x3f8)[0x2b540c6bb838] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34(G__process_cmd+0x4ea3)[0x2b540c740dd3] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34(_ZN5TCint11ProcessLineEPKcPN12TInterpreter10EErrorCodeE+0x536)[0x2b540bc1a796] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34(_ZN5TCint16ProcessLineSynchEPKcPN12TInterpreter10EErrorCodeE+0x103)[0x2b540bc18ad3] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34(_ZN12TApplication11ExecuteFileEPKcPib+0x848)[0x2b540bb85788] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34(_ZN12TApplication11ProcessLineEPKcbPi+0x7e3)[0x2b540bb83b33] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libRint.so.5.34(_ZN5TRint3RunEb+0x4d8)[0x2b540c3db578] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/bin/root.exe(main+0x4c)[0x40104c] /lib64/libc.so.6(__libc_start_main+0xfd)[0x3511e1ecdd] /cluster/gsi/fairsoft/gcc/fairsoft_apr13/bin/root.exe[0x400f19] ======= Memory map: ======== 00400000-00402000 r-xp 00000000 00:1a 2706263 /cvmfs/cluster/gsi/fairsoft/gcc/fairsoft_apr13/bin/root.exe 00601000-00602000 rw-p 00001000 00:1a 2706263 /cvmfs/cluster/gsi/fairsoft/gcc/fairsoft_apr13/bin/root.exe 020b1000-03460000 rw-p 00000000 00:00 0 [heap] 3511a00000-3511a20000 r-xp 00000000 fd:00 1936132 /lib64/ld-2.12.so 3511c1f000-3511c20000 r--p 0001f000 fd:00 1936132 /lib64/ld-2.12.so 3511c20000-3511c21000 rw-p 00020000 fd:00 1936132 /lib64/ld-2.12.so 3511c21000-3511c22000 rw-p 00000000 00:00 0 3511e00000-3511f89000 r-xp 00000000 fd:00 1936133 /lib64/libc-2.12.so 3511f89000-3512189000 ---p 00189000 fd:00 1936133 /lib64/libc-2.12.so 3512189000-351218d000 r--p 00189000 fd:00 1936133 /lib64/libc-2.12.so 351218d000-351218e000 rw-p 0018d000 fd:00 1936133 /lib64/libc-2.12.so 351218e000-3512193000 rw-p 00000000 00:00 0 3512200000-3512202000 r-xp 00000000 fd:00 1936136 /lib64/libdl-2.12.so 3512202000-3512402000 ---p 00002000 fd:00 1936136 /lib64/libdl-2.12.so 3512402000-3512403000 r--p 00002000 fd:00 1936136 /lib64/libdl-2.12.so 3512403000-3512404000 rw-p 00003000 fd:00 1936136 /lib64/libdl-2.12.so 3512600000-3512617000 r-xp 00000000 fd:00 1936135 /lib64/libpthread-2.12.so 3512617000-3512817000 ---p 00017000 fd:00 1936135 /lib64/libpthread-2.12.so 3512817000-3512818000 r--p 00017000 fd:00 1936135 /lib64/libpthread-2.12.so 3512818000-3512819000 rw-p 00018000 fd:00 1936135 /lib64/libpthread-2.12.so 3512819000-351281d000 rw-p 00000000 00:00 0 3512a00000-3512a83000 r-xp 00000000 fd:00 1933700 /lib64/libm-2.12.so 3512a83000-3512c82000 ---p 00083000 fd:00 1933700 /lib64/libm-2.12.so 3512c82000-3512c83000 r--p 00082000 fd:00 1933700 /lib64/libm-2.12.so 3512c83000-3512c84000 rw-p 00083000 fd:00 1933700 /lib64/libm-2.12.so 3513600000-3513616000 r-xp 00000000 fd:00 1936140 /lib64/libgcc_s-4.4.4-20100726.so.1 3513616000-3513815000 ---p 00016000 fd:00 1936140 /lib64/libgcc_s-4.4.4-20100726.so.1 3513815000-3513816000 rw-p 00015000 fd:00 1936140 /lib64/libgcc_s-4.4.4-20100726.so.1 3514200000-35142e9000 r-xp 00000000 fd:00 1299045 /usr/lib64/libstdc++.so.6.0.13 35142e9000-35144e9000 ---p 000e9000 fd:00 1299045 /usr/lib64/libstdc++.so.6.0.13 35144e9000-35144f0000 r--p 000e9000 fd:00 1299045 /usr/lib64/libstdc++.so.6.0.13 35144f0000-35144f2000 rw-p 000f0000 fd:00 1299045 /usr/lib64/libstdc++.so.6.0.13 35144f2000-3514507000 rw-p 00000000 00:00 0 3514e00000-3514e02000 r-xp 00000000 fd:00 2965514 /usr/lib64/libXau.so.6.0.0 3514e02000-3515002000 ---p 00002000 fd:00 2965514 /usr/lib64/libXau.so.6.0.0 3515002000-3515003000 rw-p 00002000 fd:00 2965514 /usr/lib64/libXau.so.6.0.0 3515600000-351561b000 r-xp 00000000 fd:00 2965515 /usr/lib64/libxcb.so.1.1.0 351561b000-351581a000 ---p 0001b000 fd:00 2965515 /usr/lib64/libxcb.so.1.1.0 351581a000-351581b000 rw-p 0001a000 fd:00 2965515 /usr/lib64/libxcb.so.1.1.0 3515a00000-3515b39000 r-xp 00000000 fd:00 2965516 /usr/lib64/libX11.so.6.3.0 3515b39000-3515d39000 ---p 00139000 fd:00 2965516 /usr/lib64/libX11.so.6.3.0 3515d39000-3515d3f000 rw-p 00139000 fd:00 2965516 /usr/lib64/libX11.so.6.3.0 3516600000-3516697000 r-xp 00000000 fd:00 1297237 /usr/lib64/libfreetype.so.6.3.22 3516697000-3516896000 ---p 00097000 fd:00 1297237 /usr/lib64/libfreetype.so.6.3.22 3516896000-351689c000 rw-p 00096000 fd:00 1297237 /usr/lib64/libfreetype.so.6.3.22 3517600000-3517611000 r-xp 00000000 fd:00 2965517 /usr/lib64/libXext.so.6.4.0 3517611000-3517811000 ---p 00011000 fd:00 2965517 /usr/lib64/libXext.so.6.4.0 3517811000-3517812000 rw-p 00011000 fd:00 2965517 /usr/lib64/libXext.so.6.4.0 3517e00000-3517e11000 r-xp 00000000 fd:00 2719871 /usr/lib64/libXpm.so.4.11.0 3517e11000-3518010000 ---p 00011000 fd:00 2719871 /usr/lib64/libXpm.so.4.11.0 3518010000-3518011000 rw-p 00010000 fd:00 2719871 /usr/lib64/libXpm.so.4.11.0 351aa00000-351aa09000 r-xp 00000000 fd:00 2719881 /usr/lib64/libXrender.so.1.3.0 351aa09000-351ac09000 ---p 00009000 fd:00 2719881 /usr/lib64/libXrender.so.1.3.0 351ac09000-351ac0a000 rw-p 00009000 fd:00 2719881 /usr/lib64/libXrender.so.1.3.0 351ba00000-351ba05000 r-xp 00000000 fd:00 1300485 /usr/lib64/libXfixes.so.3.1.0 351ba05000-351bc04000 ---p 00005000 fd:00 1300485 /usr/lib64/libXfixes.so.3.1.0 351bc04000-351bc05000 rw-p 00004000 fd:00 1300485 /usr/lib64/libXfixes.so.3.1.0 351c200000-351c209000 r-xp 00000000 fd:00 2719930 /usr/lib64/libXcursor.so.1.0.2 351c209000-351c409000 ---p 00009000 fd:00 2719930 /usr/lib64/libXcursor.so.1.0.2 351c409000-351c40a000 rw-p 00009000 fd:00 2719930 /usr/lib64/libXcursor.so.1.0.2-bash-4.1$ -bash-4.1$ **************************************************** Running the macro compiling it with root: **************************************************** -bash-4.1$ root FillHisto_test.C+ ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C+... Info in : creating shared library /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-5-Delta0-bw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 616623 616623 616623 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 *** Reco Loop *** Getting Entry: 500000 Number of events in the Histogram looping over TTree: Total_intF (0-9) IntegralF (1-8) GetEntriesF 586465 586465 586465 *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x0000003511eabf9e in waitpid () from /lib64/libc.so.6 #1 0x0000003511e3e899 in do_system () from /lib64/libc.so.6 #2 0x00002b2d241e7bc8 in TUnixSystem::StackTrace() () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #3 0x00002b2d241e7053 in TUnixSystem::DispatchSignals(ESignals) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #4 #5 0x00002b2d24c91e5a in G__setnull () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #6 0x00002b2d2914db51 in G__FillHisto_test_C_ACLiC_dict__0_1805(G__value*, char const*, G__param*, int) () from /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so #7 0x00002b2d24bf2b59 in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #8 0x00002b2d24c95d71 in G__execute_call () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #9 0x00002b2d24c96bd2 in G__call_cppfunc () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #10 0x00002b2d24c73f58 in G__interpret_func () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #11 0x00002b2d24c61d0b in G__getfunction () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #12 0x00002b2d24c3f7ae in G__getitem () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #13 0x00002b2d24c44328 in G__getexpr () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #14 0x00002b2d24c4d838 in G__calc_internal () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #15 0x00002b2d24cd2dd3 in G__process_cmd () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #16 0x00002b2d241ac796 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #17 0x00002b2d241aaad3 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #18 0x00002b2d24117788 in TApplication::ExecuteFile(char const*, int*, bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #19 0x00002b2d24115b33 in TApplication::ProcessLine(char const*, bool, int*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #20 0x00002b2d2496d578 in TRint::Run(bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libRint.so.5.34 #21 0x000000000040104c in main () =========================================================== The crash is most likely caused by a problem in your script. Try to compile it (.L myscript.C+g) and fix any errors. If that does not help then please submit a bug 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. Root > .q -bash-4.1$ root FillHisto_test.C+ ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C+... Info in : creating shared library /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-5-Delta0-fw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 760067 760067 760067 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 *** Reco Loop *** Getting Entry: 500000 *** Reco Loop *** Getting Entry: 600000 *** Reco Loop *** Getting Entry: 700000 Number of events in the Histogram looping over TTree: Total_intF (0-9) IntegralF (1-8) GetEntriesF 735503 735503 735503 *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x0000003511eabf9e in waitpid () from /lib64/libc.so.6 #1 0x0000003511e3e899 in do_system () from /lib64/libc.so.6 #2 0x00002b73fce86bc8 in TUnixSystem::StackTrace() () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #3 0x00002b73fce86053 in TUnixSystem::DispatchSignals(ESignals) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #4 #5 0x00002b73fd930e5a in G__setnull () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #6 0x00002b7401decb51 in G__FillHisto_test_C_ACLiC_dict__0_1805(G__value*, char const*, G__param*, int) () from /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so #7 0x00002b73fd891b59 in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #8 0x00002b73fd934d71 in G__execute_call () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #9 0x00002b73fd935bd2 in G__call_cppfunc () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #10 0x00002b73fd912f58 in G__interpret_func () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #11 0x00002b73fd900d0b in G__getfunction () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #12 0x00002b73fd8de7ae in G__getitem () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #13 0x00002b73fd8e3328 in G__getexpr () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #14 0x00002b73fd8ec838 in G__calc_internal () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #15 0x00002b73fd971dd3 in G__process_cmd () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #16 0x00002b73fce4b796 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #17 0x00002b73fce49ad3 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #18 0x00002b73fcdb6788 in TApplication::ExecuteFile(char const*, int*, bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #19 0x00002b73fcdb4b33 in TApplication::ProcessLine(char const*, bool, int*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #20 0x00002b73fd60c578 in TRint::Run(bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libRint.so.5.34 #21 0x000000000040104c in main () =========================================================== The crash is most likely caused by a problem in your script. Try to compile it (.L myscript.C+g) and fix any errors. If that does not help then please submit a bug 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. Root > .q -bash-4.1$ root FillHisto_test.C+ ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C+... Info in : creating shared library /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-10-Delta0-bw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 500104 500104 500104 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 Number of events in the Histogram looping over TTree: Total_intF (0-9) IntegralF (1-8) GetEntriesF 477980 477980 477980 *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x0000003511eabf9e in waitpid () from /lib64/libc.so.6 #1 0x0000003511e3e899 in do_system () from /lib64/libc.so.6 #2 0x00002ae7402adbc8 in TUnixSystem::StackTrace() () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #3 0x00002ae7402ad053 in TUnixSystem::DispatchSignals(ESignals) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #4 #5 0x00002ae740d57e5a in G__setnull () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #6 0x00002ae745213b51 in G__FillHisto_test_C_ACLiC_dict__0_1805(G__value*, char const*, G__param*, int) () from /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so #7 0x00002ae740cb8b59 in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #8 0x00002ae740d5bd71 in G__execute_call () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #9 0x00002ae740d5cbd2 in G__call_cppfunc () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #10 0x00002ae740d39f58 in G__interpret_func () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #11 0x00002ae740d27d0b in G__getfunction () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #12 0x00002ae740d057ae in G__getitem () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #13 0x00002ae740d0a328 in G__getexpr () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #14 0x00002ae740d13838 in G__calc_internal () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #15 0x00002ae740d98dd3 in G__process_cmd () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #16 0x00002ae740272796 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #17 0x00002ae740270ad3 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #18 0x00002ae7401dd788 in TApplication::ExecuteFile(char const*, int*, bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #19 0x00002ae7401dbb33 in TApplication::ProcessLine(char const*, bool, int*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #20 0x00002ae740a33578 in TRint::Run(bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libRint.so.5.34 #21 0x000000000040104c in main () =========================================================== The crash is most likely caused by a problem in your script. Try to compile it (.L myscript.C+g) and fix any errors. If that does not help then please submit a bug 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. Root > .q -bash-4.1$ root FillHisto_test.C+ ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/05 14 February 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/05 (tags/v5-34-05@48582, Nov 05 2013, 17:07:52 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] Processing FillHisto_test.C+... Info in : creating shared library /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so File: /home/moraespi/VariableCosThetaGammaStar/Rootfiles/SimuJan2014/electrons/epempi0-W2-10-Delta0-fw-LargeQ2-Merged.root Number of events in the Histogram using Project: Total_int (0-9) Integral (1-8) GetEntries 586602 586595 586602 *** Reco Loop *** Getting Entry: 100000 *** Reco Loop *** Getting Entry: 200000 *** Reco Loop *** Getting Entry: 300000 *** Reco Loop *** Getting Entry: 400000 *** Reco Loop *** Getting Entry: 500000 Number of events in the Histogram looping over TTree: Total_intF (0-9) IntegralF (1-8) GetEntriesF 556461 556455 556461 *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x0000003511eabf9e in waitpid () from /lib64/libc.so.6 #1 0x0000003511e3e899 in do_system () from /lib64/libc.so.6 #2 0x00002b4876e5fbc8 in TUnixSystem::StackTrace() () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #3 0x00002b4876e5f053 in TUnixSystem::DispatchSignals(ESignals) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #4 #5 0x00002b4877909e5a in G__setnull () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #6 0x00002b487bdc5b51 in G__FillHisto_test_C_ACLiC_dict__0_1805(G__value*, char const*, G__param*, int) () from /home/moraespi/VariableCosThetaGammaStar/./FillHisto_test_C.so #7 0x00002b487786ab59 in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #8 0x00002b487790dd71 in G__execute_call () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #9 0x00002b487790ebd2 in G__call_cppfunc () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #10 0x00002b48778ebf58 in G__interpret_func () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #11 0x00002b48778d9d0b in G__getfunction () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #12 0x00002b48778b77ae in G__getitem () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #13 0x00002b48778bc328 in G__getexpr () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #14 0x00002b48778c5838 in G__calc_internal () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #15 0x00002b487794add3 in G__process_cmd () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCint.so.5.34 #16 0x00002b4876e24796 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #17 0x00002b4876e22ad3 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #18 0x00002b4876d8f788 in TApplication::ExecuteFile(char const*, int*, bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #19 0x00002b4876d8db33 in TApplication::ProcessLine(char const*, bool, int*) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libCore.so.5.34 #20 0x00002b48775e5578 in TRint::Run(bool) () from /cluster/gsi/fairsoft/gcc/fairsoft_apr13/lib/root/libRint.so.5.34 #21 0x000000000040104c in main () =========================================================== The crash is most likely caused by a problem in your script. Try to compile it (.L myscript.C+g) and fix any errors. If that does not help then please submit a bug 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. Root >