vinchon-thi@cadux-login02:/TMPLOCAL/ILAIM/JOB1.0/CodeBC501A/Version11.7$ valgrind -s root -x BC501AMainInterface_1.C ==18576== Memcheck, a memory error detector ==18576== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==18576== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==18576== Command: root -x BC501AMainInterface_1.C ==18576== ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/14 16 December 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/14 (heads/v5-34-00-patches@v5-34-13-131-gd110ad3, May 04 2021, 10:29:00 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 BC501AMainInterface_1.C... Temps CPU pour ouvrir l'interface = 0.180000 seconds root [1] In ChooseLoc... /CADUX-DESTO/SDOS/BINTU201/ILAIM/JOB1.0/CodeBC501A/Version11.7 ThV ds FillLabel ���h�* ThV Ds GiveMainR /CADUX-DESTO/SDOS/BINTU201/ILAIM/JOB1.0/CodeBC501A/Version11.7/LocationData.txt ThV Ds GiveMain.../CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM ThV Ds GiveMainR /CADUX-DESTO/SDOS/BINTU201/ILAIM/JOB1.0/CodeBC501A/Version11.7/LocationData.txt ThV Ds GiveMain.../CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM dir ds changeRepertory ���h�* ThV open a dialog box to see the repertory names take the repertory name chosen ThV repertory IniDir /CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/CH2_TV ThV show frame for the step buttons tmpfile dans TakeLastElement de ReadSimu :/CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/SC1/CH2/Data_CH2@DT5730_1662_20211117-BC-ANAC-BU-NUSC-15_All.csv i : 0 laststring : CADUX-DESTO Syntax Error: i+ ../../MODULESCOMMUNS9.8.5/ReadSimuAnalysisFile.C:83: *** Interpreter error recovered *** ==18576== ==18576== HEAP SUMMARY: ==18576== in use at exit: 72,704 bytes in 1 blocks ==18576== total heap usage: 1,862 allocs, 1,861 frees, 875,596 bytes allocated ==18576== ==18576== LEAK SUMMARY: ==18576== definitely lost: 0 bytes in 0 blocks ==18576== indirectly lost: 0 bytes in 0 blocks ==18576== possibly lost: 0 bytes in 0 blocks ==18576== still reachable: 72,704 bytes in 1 blocks ==18576== suppressed: 0 bytes in 0 blocks ==18576== Rerun with --leak-check=full to see details of leaked memory ==18576== ==18576== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) vinchon-thi@cadux-login02:/TMPLOCAL/ILAIM/JOB1.0/CodeBC501A/Version11.7$ valgrind -s root -x BC501AMainInterface_1.C ==19087== Memcheck, a memory error detector ==19087== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==19087== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==19087== Command: root -x BC501AMainInterface_1.C ==19087== ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/14 16 December 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/14 (heads/v5-34-00-patches@v5-34-13-131-gd110ad3, May 04 2021, 10:29:00 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 BC501AMainInterface_1.C... Temps CPU pour ouvrir l'interface = 0.180000 seconds root [1] In ChooseLoc... /CADUX-DESTO/SDOS/BINTU201/ILAIM/JOB1.0/CodeBC501A/Version11.7 ThV ds FillLabel ��5�* ThV Ds GiveMainR /CADUX-DESTO/SDOS/BINTU201/ILAIM/JOB1.0/CodeBC501A/Version11.7/LocationData.txt ThV Ds GiveMain.../CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM ThV Ds GiveMainR /CADUX-DESTO/SDOS/BINTU201/ILAIM/JOB1.0/CodeBC501A/Version11.7/LocationData.txt ThV Ds GiveMain.../CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM dir ds changeRepertory ��5�* ThV open a dialog box to see the repertory names take the repertory name chosen ThV repertory IniDir /CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/CH2_TV ThV show frame for the step buttons tmpfile dans TakeLastElement de ReadSimu :/CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/SC1/CH2/Data_CH2@DT5730_1662_20211117-BC-ANAC-BU-NUSC-15_All.csv i : 0 laststring : CADUX-DESTO i : 1 laststring : SDOS i : 2 laststring : BINTU201 i : 3 laststring : ILAIM i : 4 laststring : DataTestTV i : 5 laststring : Analogique_Numerique_202111 i : 6 laststring : 15MeV i : 7 laststring : BU_NUM i : 8 laststring : SC1 i : 9 laststring : CH2 i : 10 laststring : Data_CH2@DT5730_1662_20211117-BC-ANAC-BU-NUSC-15_All.csv Warning: Automatic variable case3:ReturnedValues is allocated /CADUX-DESTO/SDOS/BINTU201/ILAIM/JOB1.0/CodeBC501A/Version11.7/./BC501AMainInterface_1.C:2446: format numerique num ascii Acqunum4 debut ..NumBC_csv start reading the options wanted for the file open Fichier .csv ENERGY 12ENERGYSHORT 13PSD -0.0833333timeTag121176341flag16384 ENERGY 41ENERGYSHORT 36PSD 0.121951timeTag631776405flag16384 ENERGY 18ENERGYSHORT 16PSD 0.111111timeTag664912280flag16384 ENERGY 14ENERGYSHORT 8PSD 0.428571timeTag944951186flag16384 ENERGY 13ENERGYSHORT 12PSD 0.0769231timeTag1010833279flag16384 ENERGY 657ENERGYSHORT 503PSD 0.234399timeTag1138932981flag16384 ENERGY 221ENERGYSHORT 136PSD 0.384615timeTag1205937847flag16384 ENERGY 9ENERGYSHORT 7PSD 0.222222timeTag1521910530flag16384 x 9.99462 y 0 i 0 GetBinContent(i) 0 x 10.0054 y 13085 i 1 GetBinContent(i) 13085 x 10.0161 y 0 i 2 GetBinContent(i) 0 x 10.0269 y 0 i 3 GetBinContent(i) 0 x 10.0376 y 0 i 4 GetBinContent(i) 0 x 10.0484 y 0 i 5 GetBinContent(i) 0 x 10.0591 y 0 i 6 GetBinContent(i) 0 x 10.0699 y 0 i 7 GetBinContent(i) 0 x 10.0807 y 0 i 8 GetBinContent(i) 0 x 10.0914 y 0 i 9 GetBinContent(i) 0 FCN=10549.5 FROM MIGRAD STATUS=CONVERGED 192 CALLS 193 TOTAL EDM=1.47077e-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 1.00593e+01 6.45247e-04 2.22729e-05 3.08284e+00 2 Slope -4.41983e-03 1.98609e-06 6.85578e-08 1.24671e+03 Slope -0.00441983 FactCorrTM 1.04507 Warning in : Replacing existing TH1: hpassage (Potential memory leak). x 9.99436 y 0 i 0 GetBinContent(i) 0 x 10.0056 y 11236 i 1 GetBinContent(i) 11236 x 10.0169 y 0 i 2 GetBinContent(i) 0 x 10.0282 y 0 i 3 GetBinContent(i) 0 x 10.0395 y 0 i 4 GetBinContent(i) 0 x 10.0508 y 0 i 5 GetBinContent(i) 0 x 10.0621 y 0 i 6 GetBinContent(i) 0 x 10.0734 y 0 i 7 GetBinContent(i) 0 x 10.0847 y 0 i 8 GetBinContent(i) 0 x 10.096 y 0 i 9 GetBinContent(i) 0 FCN=10546.9 FROM MIGRAD STATUS=CONVERGED 221 CALLS 222 TOTAL EDM=2.301e-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 9.95823e+00 6.58622e-04 2.28191e-05 -9.67661e-01 2 Slope -4.20272e-03 1.92496e-06 6.66945e-08 -5.07451e+02 Slope -0.00420272 FactCorrTM 1.04314 FactCorrTM 1.04507 FactCorrTMf 1.04314 Nombre de ligne lues : 4840178 Nombre de ligne ignorees : 240610 Debut de creation de la matrice Fin d'ecriture de la matrice Avant Delete Après Delete tmpfile dans TakeLastElement de ReadSimu :/CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/SC1/CH2/Data_CH2@DT5730_1662_20211117-BC-ANAC-BU-NUSC-15_All.csv i : 0 laststring : CADUX-DESTO i : 1 laststring : SDOS i : 2 laststring : BINTU201 i : 3 laststring : ILAIM i : 4 laststring : DataTestTV i : 5 laststring : Analogique_Numerique_202111 i : 6 laststring : 15MeV i : 7 laststring : BU_NUM i : 8 laststring : SC1 i : 9 laststring : CH2 i : 10 laststring : Data_CH2@DT5730_1662_20211117-BC-ANAC-BU-NUSC-15_All.csv tmpfile dans TakeLastElement de ReadSimu :/CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/gamma/Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_1.csv i : 0 laststring : CADUX-DESTO i : 1 laststring : SDOS i : 2 laststring : BINTU201 i : 3 laststring : ILAIM i : 4 laststring : DataTestTV i : 5 laststring : Analogique_Numerique_202111 i : 6 laststring : 15MeV i : 7 laststring : BU_NUM i : 8 laststring : gamma i : 9 laststring : Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_1.csv format numerique num ascii Acqunum4 debut ..NumBC_csv start reading the options wanted for the file open Fichier .csv ENERGY 97ENERGYSHORT 84PSD 0.134021timeTag220378763577928flag16384 ENERGY 27ENERGYSHORT 24PSD 0.111111timeTag220378864940921flag16384 ENERGY 208ENERGYSHORT 178PSD 0.144231timeTag220379018890809flag16384 ENERGY 41ENERGYSHORT 37PSD 0.097561timeTag220379041928842flag16384 ENERGY 96ENERGYSHORT 85PSD 0.114583timeTag220379229531416flag16384 ENERGY 148ENERGYSHORT 133PSD 0.101351timeTag220379249276564flag16384 ENERGY 176ENERGYSHORT 154PSD 0.125timeTag220379567076655flag16384 ENERGY 80ENERGYSHORT 74PSD 0.075timeTag220379707486101flag16384 x 9.99933 y 0 i 0 GetBinContent(i) 0 x 10.0007 y 5924 i 1 GetBinContent(i) 5924 x 10.002 y 0 i 2 GetBinContent(i) 0 x 10.0034 y 0 i 3 GetBinContent(i) 0 x 10.0047 y 0 i 4 GetBinContent(i) 0 x 10.006 y 0 i 5 GetBinContent(i) 0 x 10.0074 y 0 i 6 GetBinContent(i) 0 x 10.0087 y 0 i 7 GetBinContent(i) 0 x 10.0101 y 0 i 8 GetBinContent(i) 0 x 10.0114 y 0 i 9 GetBinContent(i) 0 FCN=7900.5 FROM MIGRAD STATUS=CONVERGED 75 CALLS 76 TOTAL EDM=6.624e-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 9.47768e+00 1.16330e-03 3.46858e-05 4.03540e-03 2 Slope -7.75056e-03 6.10660e-06 1.82076e-07 1.93997e+01 Slope -0.00775056 FactCorrTM 1.07192 Warning in : Replacing existing TH1: hpassage (Potential memory leak). x 9.9992 y 0 i 0 GetBinContent(i) 0 x 10.0008 y 4913 i 1 GetBinContent(i) 4913 x 10.0024 y 0 i 2 GetBinContent(i) 0 x 10.004 y 0 i 3 GetBinContent(i) 0 x 10.0056 y 0 i 4 GetBinContent(i) 0 x 10.0072 y 0 i 5 GetBinContent(i) 0 x 10.0088 y 0 i 6 GetBinContent(i) 0 x 10.0104 y 0 i 7 GetBinContent(i) 0 x 10.012 y 0 i 8 GetBinContent(i) 0 x 10.0136 y 0 i 9 GetBinContent(i) 0 FCN=7473.17 FROM MIGRAD STATUS=CONVERGED 82 CALLS 83 TOTAL EDM=1.47334e-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 9.31027e+00 1.20531e-03 3.50821e-05 5.12644e-02 2 Slope -7.13171e-03 5.83541e-06 1.69845e-07 1.34339e+01 Slope -0.00713171 FactCorrTM 1.06658 FactCorrTM 1.07192 FactCorrTMf 1.06658 Nombre de ligne lues : 1455356 Nombre de ligne ignorees : 118406 Debut de creation de la matrice Fin d'ecriture de la matrice Avant Delete Après Delete tmpfile dans TakeLastElement de ReadSimu :/CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/gamma/Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_1.csv i : 0 laststring : CADUX-DESTO i : 1 laststring : SDOS i : 2 laststring : BINTU201 i : 3 laststring : ILAIM i : 4 laststring : DataTestTV i : 5 laststring : Analogique_Numerique_202111 i : 6 laststring : 15MeV i : 7 laststring : BU_NUM i : 8 laststring : gamma i : 9 laststring : Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_1.csv tmpfile dans TakeLastElement de ReadSimu :/CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/gamma/Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_2.csv i : 0 laststring : CADUX-DESTO i : 1 laststring : SDOS i : 2 laststring : BINTU201 i : 3 laststring : ILAIM i : 4 laststring : DataTestTV i : 5 laststring : Analogique_Numerique_202111 i : 6 laststring : 15MeV i : 7 laststring : BU_NUM i : 8 laststring : gamma i : 9 laststring : Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_2.csv format numerique num ascii ThV 20181107 a few lines to read the total number of lines ThV20181107 read the file /CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/gamma/Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_2.csv ThV-DQ nlines : 1 ThV-DQ nlines : 66391 ThV-DQ nlines : 132781 ThV-DQ nlines : 199171 ThV-DQ nlines : 265561 ThV-DQ nlines : 331951 ThV-DQ nlines : 398341 ThV-DQ nlines : 464731 ThV-DQ nlines : 531121 ThV-DQ nlines : 597511 ThV-DQ nlines : 663901 tmpfile dans TakeLastElement de ReadSimu :/CADUX-DESTO/SDOS/BINTU201/ILAIM/DataTestTV/Analogique_Numerique_202111/15MeV/BU_NUM/gamma/Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_2.csv i : 0 laststring : CADUX-DESTO i : 1 laststring : SDOS i : 2 laststring : BINTU201 i : 3 laststring : ILAIM i : 4 laststring : DataTestTV i : 5 laststring : Analogique_Numerique_202111 i : 6 laststring : 15MeV i : 7 laststring : BU_NUM i : 8 laststring : gamma i : 9 laststring : Data_CH2@DT5730_1662_20211117-207Bi_BU_soir_2.csv Error: illegal type cast (2) ../../MODULESCOMMUNS9.8.5/ReadSimuAnalysisFile.C:87: *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x00002aac35c6d46c in waitpid () from /lib64/libc.so.6 #1 0x00002aac35beaf62 in do_system () from /lib64/libc.so.6 #2 0x00002aac34a7d992 in TUnixSystem::StackTrace() () from /soft/root/5.34.14/lib/root/libCore.so #3 0x00002aac34a7d263 in TUnixSystem::DispatchSignals(ESignals) () from /soft/root/5.34.14/lib/root/libCore.so #4 #5 0x00002aac35bf5079 in vfprintf () from /lib64/libc.so.6 #6 0x00002aac35c200e9 in vsnprintf () from /lib64/libc.so.6 #7 0x00002aac3669d843 in G__FastAllocString::FormatArgList(char const*, __va_list_tag*) () from /soft/root/5.34.14/lib/root/libCint.so #8 0x00002aac3669d99c in G__FastAllocString::Format(char const*, ...) () from /soft/root/5.34.14/lib/root/libCint.so #9 0x00002aac366ba494 in G__free_tempobject () from /soft/root/5.34.14/lib/root/libCint.so #10 0x00002aac366d92da in G__interpret_func () from /soft/root/5.34.14/lib/root/libCint.so #11 0x00002aac3677fdbd in G__getfunction () from /soft/root/5.34.14/lib/root/libCint.so #12 0x00002aac366f9fd7 in G__getstructmem(int, G__FastAllocString&, char*, int, char*, int*, G__var_array*, int) () from /soft/root/5.34.14/lib/root/libCint.so #13 0x00002aac366edd6a in G__getvariable () from /soft/root/5.34.14/lib/root/libCint.so #14 0x00002aac3672921d in G__getitem () from /soft/root/5.34.14/lib/root/libCint.so #15 0x00002aac3672ecac in G__getexpr () from /soft/root/5.34.14/lib/root/libCint.so #16 0x00002aac366c0adf in G__exec_statement () from /soft/root/5.34.14/lib/root/libCint.so #17 0x00002aac366c19f1 in G__exec_statement () from /soft/root/5.34.14/lib/root/libCint.so #18 0x00002aac366d8ed5 in G__interpret_func () from /soft/root/5.34.14/lib/root/libCint.so #19 0x00002aac3673959d in Cint::G__CallFunc::ExecInterpretedFunc(G__value*) () from /soft/root/5.34.14/lib/root/libCint.so #20 0x00002aac367397bc in Cint::G__CallFunc::Execute(void*) () from /soft/root/5.34.14/lib/root/libCint.so #21 0x00002aac34a3928c in TCint::CallFunc_Exec(void*, void*) const () from /soft/root/5.34.14/lib/root/libCore.so #22 0x00002aac349ba5b3 in TQConnection::ExecuteMethod() () from /soft/root/5.34.14/lib/root/libCore.so #23 0x00002aac349fb352 in TQObject::Emit(char const*) () from /soft/root/5.34.14/lib/root/libCore.so #24 0x00002aac3b008315 in TGButton::EmitSignals(bool) () from /soft/root/5.34.14/lib/root/libGui.so #25 0x00002aac3b00a3ac in TGButton::HandleButton(Event_t*) () from /soft/root/5.34.14/lib/root/libGui.so #26 0x00002aac3aff94df in TGFrame::HandleEvent(Event_t*) () from /soft/root/5.34.14/lib/root/libGui.so #27 0x00002aac3b051658 in TGClient::HandleEvent(Event_t*) () from /soft/root/5.34.14/lib/root/libGui.so #28 0x00002aac3b051a4b in TGClient::ProcessOneEvent() () from /soft/root/5.34.14/lib/root/libGui.so #29 0x00002aac3b051abd in TGClient::HandleInput() () from /soft/root/5.34.14/lib/root/libGui.so #30 0x00002aac34a7b720 in TUnixSystem::DispatchOneEvent(bool) () from /soft/root/5.34.14/lib/root/libCore.so #31 0x00002aac349fece6 in TSystem::InnerLoop() () from /soft/root/5.34.14/lib/root/libCore.so #32 0x00002aac34a00eeb in TSystem::Run() () from /soft/root/5.34.14/lib/root/libCore.so #33 0x00002aac34a0dd3f in TApplication::Run(bool) () from /soft/root/5.34.14/lib/root/libCore.so #34 0x00002aac351e2d25 in TRint::Run(bool) () from /soft/root/5.34.14/lib/root/libRint.so #35 0x000000000040107c 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 0x00002aac35bf5079 in vfprintf () from /lib64/libc.so.6 #6 0x00002aac35c200e9 in vsnprintf () from /lib64/libc.so.6 =========================================================== Root > Function DoSomething() busy flag cleared Function FillStartValuesForGammaBKGFiles() busy flag cleared ==19087== ==19087== HEAP SUMMARY: ==19087== in use at exit: 72,704 bytes in 1 blocks ==19087== total heap usage: 1,862 allocs, 1,861 frees, 875,596 bytes allocated ==19087== ==19087== LEAK SUMMARY: ==19087== definitely lost: 0 bytes in 0 blocks ==19087== indirectly lost: 0 bytes in 0 blocks ==19087== possibly lost: 0 bytes in 0 blocks ==19087== still reachable: 72,704 bytes in 1 blocks ==19087== suppressed: 0 bytes in 0 blocks ==19087== Rerun with --leak-check=full to see details of leaked memory ==19087== ==19087== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) vinchon-thi@cadux-login02:/TMPLOCAL/ILAIM/JOB1.0/CodeBC501A/Version11.7$