Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 6.04/02, 5.34/32
-
Component/s: I/O, RooFit/RooStats
-
Labels:None
-
Environment:
Lxplus
Description
When loading a RooLinearVar from a RooWorkspace, I get a segmentation fault:
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f27bc50c65d in waitpid () from /lib64/libc.so.6
#1 0x00007f27bc49e609 in do_system () from /lib64/libc.so.6
#2 0x00007f27bc49e940 in system () from /lib64/libc.so.6
#3 0x00007f27b574ae3f in TUnixSystem::StackTrace() () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libCore.so
#4 0x00007f27b574c9bc in TUnixSystem::DispatchSignals(ESignals) () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libCore.so
#5 <signal handler called>
#6 0x00007f27b568f8e3 in TDirectory::RegisterContext(TDirectory::TContext*) () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libCore.so
#7 0x00007f27b45b738b in TDirectoryFile::Save() () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libRIO.so
#8 0x00007f27b45b57d1 in TDirectoryFile::Close(char const*) () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libRIO.so
#9 0x00007f27b46db4d2 in TFile::Close(char const*) () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libRIO.so
#10 0x00007f27b46db8a7 in TFile::~TFile() () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libRIO.so
#11 0x00007f27b46dbb49 in TFile::~TFile() () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libRIO.so
#12 0x00007f27b5723b43 in TClass::Destructor(void*, bool) () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libCore.so
#13 0x00007f27b5b00d5e in PyROOT::op_dealloc_nofree(PyROOT::ObjectProxy*) () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libPyROOT.so
#14 0x00007f27b5b00d99 in PyROOT::(anonymous namespace)::op_dealloc(PyROOT::ObjectProxy*) () from /afs/cern.ch/sw/lcg/releases/LCG_79/ROOT/6.04.02/x86_64-slc6-gcc48-opt/lib/libPyROOT.so
#15 0x00007f27bd1533ca in subtype_dealloc () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9.p1-df007/x86_64-slc6-gcc48-opt/bin/../lib/libpython2.7.so.1.0
#16 0x00007f27bd13208f in insertdict_by_entry () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9.p1-df007/x86_64-slc6-gcc48-opt/bin/../lib/libpython2.7.so.1.0
#17 0x00007f27bd134e1b in PyDict_SetItem () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9.p1-df007/x86_64-slc6-gcc48-opt/bin/../lib/libpython2.7.so.1.0
#18 0x00007f27bd1390ec in _PyModule_Clear () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9.p1-df007/x86_64-slc6-gcc48-opt/bin/../lib/libpython2.7.so.1.0
#19 0x00007f27bd1bc65d in PyImport_Cleanup () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9.p1-df007/x86_64-slc6-gcc48-opt/bin/../lib/libpython2.7.so.1.0
#20 0x00007f27bd1d0cbe in Py_Finalize () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9.p1-df007/x86_64-slc6-gcc48-opt/bin/../lib/libpython2.7.so.1.0
#21 0x00007f27bd1e6895 in Py_Main () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9.p1-df007/x86_64-slc6-gcc48-opt/bin/../lib/libpython2.7.so.1.0
#22 0x00007f27bc47ed5d in __libc_start_main () from /lib64/libc.so.6
#23 0x00000000004006d9 in _start ()
===========================================================
A MWE is attached. It needs to be run twice to reproduce the problem.