Home | News | Documentation | Download

Crash involving TFile::Close


#1

Sometimes I have a crash starting from TFile::Close:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7c5591c in TList::RecursiveRemove(TObject*) ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libCore.so
#0 0x00007ffff7c5591c in TList::RecursiveRemove(TObject*) ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libCore.so
#1 0x00007ffff734b65e in TPaveStats::~TPaveStats() ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libGraf.so
#2 0x00007ffff734b6c9 in TPaveStats::~TPaveStats() ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libGraf.so
#3 0x00007ffff75c3df7 in TH1::~TH1() ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libHist.so
#4 0x00007ffff764ba69 in TH2F::~TH2F() ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libHist.so
#5 0x00007ffff7c56b15 in TList::Delete(char const*) ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libCore.so
#6 0x00007ffff783f145 in TDirectoryFile::Close(char const*) ()
from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_8_0_26_patch1/external/slc6_amd64_gcc530/lib/libRIO.so
#7 0x00007ffff7971352 in TFile::Close(char const*) ()

Debugging with gdb or valgrind does not indicate any issues. Any suggestions how to find the bug?


#2

Try with the AddressSanitizer.


#3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.