fullana
February 28, 2012, 9:04am
1
Dear all,
I have a segmentation fault. It comes after Terminate(), so it is difficult to debug and I don’t get it always, when I run over a limited number of events everything is fine, it is only after running over all the events when I have it. I know that with this information is difficult to say but just in case I am dumping the error here, any hint or idea to have a look is welcome:
[TProof:] Total 26334999 events |====================| 100.00 % [29973.0 evts/s, 24.1 MB/s]
Warning in TOutputListSelectorDataMap::SetDataMembers() : potential memory leak: replacing data member `m_h_CF_nevents’ != 0. Please initialize m_h_CF_nevents to 0 in constructor xsAnalysis::xsAnalysis()
Info in <xsAnalysis::virtual void xsAnalysis::Terminate()>: start
Info in <xsAnalysis::virtual void xsAnalysis::Terminate()>: before done
Info in <xsAnalysis::void xsAnalysis::Write()>: start
OBJ: TSelectorList TSelectorList Special TList used in the TSelector : 0
OBJ: TList MissingFiles Doubly linked list : 0
OBJ: TStatus PROOF_Status : 0 at: 0xcb699a0
OBJ: TH1I NEVENTS NEVENTS : 0 at: 0xcc1ad80
OBJ: xsObservable All : 0 at: 0xccc5710
OBJ: xsObservable NPVLT6 : 0 at: 0xcce4010
OBJ: xsObservable NPVGT10 : 0 at: 0xcd19ea0
OBJ: TOutputListSelectorDataMap PROOF_TOutputListSelectorDataMap_object Converter from output list to TSelector data members : 0 at: 0xcd24bc0
Info in <xsAnalysis::void xsAnalysis::Write()>: done
Info in <xsAnalysis::virtual void xsAnalysis::Terminate()>: done
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
#0 0x000000391f89a1a5 in waitpid () from /lib64/libc.so.6
#1 0x000000391f83c4a1 in do_system () from /lib64/libc.so.6
#2 0x00002ba867bbdff6 in TUnixSystem::StackTrace() ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libCore.so
#3 0x00002ba867bbd8cc in TUnixSystem::DispatchSignals(ESignals) ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libCore.so
#4
#5 0x00002ba868273830 in vtable for TString ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libCore.so
#6 0x00002ba867b6a540 in TList::FindObject(char const*) const ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libCore.so
#7 0x00002ba868d91ae8 in TProofLite::Process(TDSet*, char const*, char const*, long long, long long) ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libProof.so
#8 0x0000000000403293 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
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 0x00002ba868273830 in vtable for TString ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libCore.so
#6 0x00002ba867b6a540 in TList::FindObject(char const*) const ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libCore.so
#7 0x00002ba868d91ae8 in TProofLite::Process(TDSet*, char const*, char const*, long long, long long) ()
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.02/x86_64-slc5-gcc43-opt/root/lib/libProof.so
#8 0x0000000000403293 in main ()
ganis
February 28, 2012, 9:19am
2
Are you deleting objects in Terminate?
Please re-run with
(instead of x86_64-slc5-gcc43-opt) so to get more information form the seg violation.
G. Ganis
fullana
February 28, 2012, 9:52am
3
Thanks a lot Gerardo, I was deleting a histogram in Terminate(). I removed that line and now everything works fine.