Bytecount too large and RooWorkspaces

Dear ROOT experts,

I am trying to produce a RooWorkspace containing for each category a RooDataSet for the nominal events and for each systematic up and down variation a RooDataHist.

The workspace is created in PyRoot using the following function:

def create_workspace(df, sdf, outputWSFile, productionMode_string):
  # Open file and initiate workspace
  fout = ROOT.TFile(outputWSFile,"RECREATE")
  foutdir = fout.mkdir(inputWSName__.split("/")[0])
  foutdir.cd()
  ws = ROOT.RooWorkspace(inputWSName__.split("/")[1],inputWSName__.split("/")[1])
  
  # Add variables to workspace
  varNames = add_vars_to_workspace(ws,df,stxsVar)

  # Loop over cats
  for cat in cats:

    # a) make RooDataSets: type = nominal/notag
    mask = (df['cat']==cat)

    # Define RooDataSet
    dName = "%s_%s_%s_%s"%(productionMode_string,opt.inputMass,sqrts__,cat)
    
    # Make argset
    aset = make_argset(ws,varNames)

    # Convert tree to RooDataset and add to workspace
    d = ROOT.RooDataSet(dName,dName,aset,'weight')
    
    # Loop over events in dataframe and add entry
    for row in df[mask][varNames].to_numpy():
      for i, val in enumerate(row):
        aset[i].setVal(val)
      d.add(aset,aset.getRealValue("weight"))
    
    getattr(ws,'import')(d)

    if opt.doSystematics:
      # b) make RooDataHists for systematic variations
      if cat == "NOTAG": continue
      for s in systematics:
        for direction in ['Up','Down']:
          # Create mask for systematic variation
          mask = (sdf['type']=='%s%s'%(s,direction))&(sdf['cat']==cat)
          
          # Define RooDataHist
          hName = "%s_%s_%s_%s_%s%s01sigma"%(productionMode_string,opt.inputMass,sqrts__,cat,s,direction)

          # Make argset: drop weight column for histogrammed observables
          systematicsVarsDropWeight = []
          for var in systematicsVars:
            if ('fiducial' in var) or ("diff" in var): continue
            if var != "weight": systematicsVarsDropWeight.append(var)
          aset = make_argset(ws,systematicsVarsDropWeight)
          
          h = ROOT.RooDataHist(hName,hName,aset)
          for row, weight in zip(sdf[mask][systematicsVarsDropWeight].to_numpy(),sdf[mask]["weight"].to_numpy()):
            #if (weight == "weight") or ('fiducial' in weight) or ("diff" in weight): continue # TODO: Test this line
            for i, val in enumerate(row):
              aset[i].setVal(val)
            h.add(aset,weight)
          
          # Add to workspace
          getattr(ws,'import')(h)

  ws.Write()

  # Close file and delete workspace from heap
  fout.Close()

The helper functions are defined like this:

# Function to add vars to workspace
def add_vars_to_workspace(_ws=None,_data=None,_stxsVar=None):
  # Add intLumi var
  intLumi = ROOT.RooRealVar("intLumi","intLumi",1000.,0.,999999999.)
  intLumi.setConstant(True)
  getattr(_ws,'import')(intLumi)
  # Add vars specified by dataframe columns: skipping cat, stxsvar and type
  _vars = od()
  for var in _data.columns:
    if var in ['type','cat',_stxsVar]: continue
    if 'fiducial' in var: continue
    if "diff" in var: continue
    if var == "CMS_hgg_mass": 
      _vars[var] = ROOT.RooRealVar(var,var,125.,100.,180.)
      _vars[var].setBins(160)
    elif var == "dZ": 
      _vars[var] = ROOT.RooRealVar(var,var,0.,-20.,20.)
      _vars[var].setBins(40)
    elif var == "weight": 
      _vars[var] = ROOT.RooRealVar(var,var,0.)
    else:
      _vars[var] = ROOT.RooRealVar(var,var,1.,-999999,999999)
      _vars[var].setBins(1)
    getattr(_ws,'import')(_vars[var],ROOT.RooFit.Silence())
  return _vars.keys()

# Function to make RooArgSet
def make_argset(_ws=None,_varNames=None):
  _aset = ROOT.RooArgSet()
  for v in _varNames: _aset.add(_ws.var(v))
  return _aset

While the function create_workspace was working well for datasets with fine binning (15 bins or more) it does not work as smoothly for datasets with less bins (for example 6). In the latter case, the function is executed until the ws.write() step. Then it is killed with the infamous: Error in <TBufferFile::WriteByteCount>: bytecount too large (more than 1073741822). In my bins are O(300k) events. If you could help me in any way, I would much appreciate it!

Thanks a lot!

Error in <TBufferFile::WriteByteCount>: bytecount too large (more than 1073741822)
Fatal in <TBufferFile::AutoExpand>: Request to expand to a negative size, likely due to an integer overflow: 0x803a54d6 for a max of 0x7ffffffe.
aborting

Thread 3 (Thread 0x1528633fe640 (LWP 293) "python3"):
#0  0x000015288528679a in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x0000152885291c48 in __new_sem_wait_slow64.constprop.0 () from /lib64/libc.so.6
#2  0x00001528857ec838 in PyThread_acquire_lock_timed (lock=0x15285c000fd0, microseconds=microseconds
entry=-1, intr_flag=intr_flag
entry=1) at Python/thread_pthread.h:483
#3  0x000015287659150a in _queue_SimpleQueue_get_impl (self=self
entry=0x152863677e00, block=<optimized out>, timeout=<optimized out>) at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc12/external/python3/3.9.14-b98669a1dd7ad6f9a9402f3cf1f9d11c/Python-3.9.14/Modules/_queuemodule.c:221
#4  0x00001528765916d9 in _queue_SimpleQueue_get (self=0x152863677e00, args=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>) at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc12/external/python3/3.9.14-b98669a1dd7ad6f9a9402f3cf1f9d11c/Python-3.9.14/Modules/clinic/_queuemodule.c.h:171
#5  0x00001528856fb955 in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0x15286363a090, args=0x152863601d80, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/methodobject.c:446
#6  0x000015288566bde6 in _PyObject_VectorcallTstate (kwnames=0x15286487e8e0, nargsf=9223372036854775808, args=0x152863601d80, callable=0x15286363a090, tstate=0x15285c001940) at ./Include/cpython/abstract.h:118
#7  PyObject_Vectorcall (kwnames=0x15286487e8e0, nargsf=9223372036854775808, args=0x152863601d80, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#8  call_function (kwnames=0x15286487e8e0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x15285c001940) at Python/ceval.c:5077
#9  _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3537
#10 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863601be0, tstate=0x15285c001940) at ./Include/internal/pycore_ceval.h:40
#11 function_code_fastcall (tstate=0x15285c001940, co=<optimized out>, args=<optimized out>, nargs=4, globals=<optimized out>) at Objects/call.c:330
#12 0x0000152885668e83 in do_call_core (kwdict=0x15286360d1c0, callargs=0x1528638c0ea0, func=0x15286483d040, tstate=0x15285c001940) at Python/ceval.c:5125
#13 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3582
#14 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863604e40, tstate=0x15285c001940) at ./Include/internal/pycore_ceval.h:40
#15 function_code_fastcall (tstate=0x15285c001940, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#16 0x000015288566cd0f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x152863679bb8, callable=0x15288410d700, tstate=0x15285c001940) at ./Include/cpython/abstract.h:118
#17 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=<optimized out>, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#18 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x15285c001940) at Python/ceval.c:5077
#19 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3506
#20 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863679a40, tstate=0x15285c001940) at ./Include/internal/pycore_ceval.h:40
#21 function_code_fastcall (tstate=0x15285c001940, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#22 0x000015288566cd0f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x152863604df8, callable=0x15288410d9d0, tstate=0x15285c001940) at ./Include/cpython/abstract.h:118
#23 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=<optimized out>, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#24 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x15285c001940) at Python/ceval.c:5077
#25 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3506
#26 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863604c80, tstate=0x15285c001940) at ./Include/internal/pycore_ceval.h:40
#27 function_code_fastcall (tstate=0x15285c001940, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#28 0x00001528856ba22c in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=1, args=0x1528633fdda8, callable=0x15288410d790, tstate=0x15285c001940) at ./Include/cpython/abstract.h:118
#29 method_vectorcall (method=<optimized out>, args=0x1528854e9058, nargsf=<optimized out>, kwnames=0x0) at Objects/classobject.c:61
#30 0x0000152885845086 in t_bootstrap (boot_raw=0x15286367bea0) at ./Modules/_threadmodule.c:1040
#31 0x00001528857ec467 in pythread_wrapper (arg=<optimized out>) at Python/thread_pthread.h:245
#32 0x0000152885289c02 in start_thread () from /lib64/libc.so.6
#33 0x000015288530ec40 in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x1528635ff640 (LWP 292) "python3"):
#0  0x000015288530e21e in epoll_wait () from /lib64/libc.so.6
#1  0x00001528837f965a in select_epoll_poll_impl (maxevents=<optimized out>, timeout_obj=<optimized out>, self=0x152863673890) at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc12/external/python3/3.9.14-b98669a1dd7ad6f9a9402f3cf1f9d11c/Python-3.9.14/Modules/selectmodule.c:1613
#2  select_epoll_poll (self=0x152863673890, args=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>) at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc12/external/python3/3.9.14-b98669a1dd7ad6f9a9402f3cf1f9d11c/Python-3.9.14/Modules/clinic/selectmodule.c.h:871
#3  0x00001528856c1108 in method_vectorcall_FASTCALL_KEYWORDS (func=0x15288410a810, args=0x15285c000f88, nargsf=<optimized out>, kwnames=0x0) at Objects/descrobject.c:409
#4  0x000015288566cd0f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x15285c000f88, callable=0x15288410a810, tstate=0x73474b0) at ./Include/cpython/abstract.h:118
#5  PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=<optimized out>, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#6  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x73474b0) at Python/ceval.c:5077
#7  _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3506
#8  0x000015288579ea91 in _PyEval_EvalFrame (throwflag=0, f=0x15285c000dd0, tstate=0x73474b0) at ./Include/internal/pycore_ceval.h:40
#9  _PyEval_EvalCode (tstate=tstate
entry=0x73474b0, _co=<optimized out>, globals=<optimized out>, locals=locals
entry=0x0, args=<optimized out>, argcount=2, kwnames=0x0, kwargs=0x15285c000d80, kwcount=0, kwstep=1, defs=0x1528840dd508, defcount=1, kwdefs=0x0, closure=0x0, name=0x152884d9bb30, qualname=0x152884100e90) at Python/ceval.c:4329
#10 0x00001528856b769d in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:396
#11 0x000015288566cd0f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x15285c000d70, callable=0x1528840e5670, tstate=0x73474b0) at ./Include/cpython/abstract.h:118
#12 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=<optimized out>, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#13 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x73474b0) at Python/ceval.c:5077
#14 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3506
#15 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x15285c000ba0, tstate=0x73474b0) at ./Include/internal/pycore_ceval.h:40
#16 function_code_fastcall (tstate=0x73474b0, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#17 0x000015288566cd0f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x1528636051c0, callable=0x152864670af0, tstate=0x73474b0) at ./Include/cpython/abstract.h:118
#18 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=<optimized out>, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#19 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x73474b0) at Python/ceval.c:5077
#20 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3506
#21 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863605040, tstate=0x73474b0) at ./Include/internal/pycore_ceval.h:40
#22 function_code_fastcall (tstate=0x73474b0, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#23 0x00001528856ba22c in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=1, args=0x1528635fe8f8, callable=0x15286466df70, tstate=0x73474b0) at ./Include/cpython/abstract.h:118
#24 method_vectorcall (method=<optimized out>, args=0x1528854e9058, nargsf=<optimized out>, kwnames=0x0) at Objects/classobject.c:61
#25 0x0000152885668e83 in do_call_core (kwdict=0x152863678580, callargs=0x1528854e9040, func=0x1528638d0880, tstate=0x73474b0) at Python/ceval.c:5125
#26 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3582
#27 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863604200, tstate=0x73474b0) at ./Include/internal/pycore_ceval.h:40
#28 function_code_fastcall (tstate=0x73474b0, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#29 0x000015288566cd0f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x1528636795b8, callable=0x15288410d700, tstate=0x73474b0) at ./Include/cpython/abstract.h:118
#30 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=<optimized out>, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#31 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x73474b0) at Python/ceval.c:5077
#32 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3506
#33 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863679440, tstate=0x73474b0) at ./Include/internal/pycore_ceval.h:40
#34 function_code_fastcall (tstate=0x73474b0, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#35 0x000015288566cd0f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x1528636041b8, callable=0x15288410d9d0, tstate=0x73474b0) at ./Include/cpython/abstract.h:118
#36 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=<optimized out>, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#37 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x73474b0) at Python/ceval.c:5077
#38 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3506
#39 0x00001528856659fb in _PyEval_EvalFrame (throwflag=0, f=0x152863604040, tstate=0x73474b0) at ./Include/internal/pycore_ceval.h:40
#40 function_code_fastcall (tstate=0x73474b0, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:330
#41 0x00001528856ba22c in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=1, args=0x1528635feda8, callable=0x15288410d790, tstate=0x73474b0) at ./Include/cpython/abstract.h:118
#42 method_vectorcall (method=<optimized out>, args=0x1528854e9058, nargsf=<optimized out>, kwnames=0x0) at Objects/classobject.c:61
#43 0x0000152885845086 in t_bootstrap (boot_raw=0x15286367b930) at ./Modules/_threadmodule.c:1040
#44 0x00001528857ec467 in pythread_wrapper (arg=<optimized out>) at Python/thread_pthread.h:245
#45 0x0000152885289c02 in start_thread () from /lib64/libc.so.6
#46 0x000015288530ec40 in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x152885a22740 (LWP 283) "python3"):
#0  0x00001528852d8a3f in wait4 () from /lib64/libc.so.6
#1  0x000015288524b243 in do_system () from /lib64/libc.so.6
#2  0x000015288496743d in TUnixSystem::StackTrace() () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libCore.so
#3  0x000015288482acf1 in DefaultErrorHandler(int, bool, char const*, char const*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libCore.so
#4  0x00001528848ee3c2 in ErrorHandler () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libCore.so
#5  0x000015288483de64 in TObject::Fatal(char const*, char const*, ...) const () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libCore.so
#6  0x00001528848172f1 in TBuffer::AutoExpand(int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libCore.so
#7  0x00001528834d9718 in TBufferFile::WriteFastArray(double const*, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#8  0x000015288355a3c5 in TGenCollectionStreamer::WritePrimitives(int, TBuffer&) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#9  0x000015288352a403 in TCollectionStreamer::Streamer(TBuffer&, void*, int, TClass*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#10 0x00001528834da8f5 in TBufferFile::WriteFastArray(void*, TClass const*, int, TMemberStreamer*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#11 0x0000152883744323 in int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#12 0x00001528835a8edd in TStreamerInfoActions::GenericWriteAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#13 0x00001528834e0866 in TBufferFile::WriteClassBuffer(TClass const*, void*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#14 0x00001528834df9bf in TBufferFile::WriteObjectClass(void const*, TClass const*, bool) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#15 0x00001528834e706b in TBufferIO::WriteObjectAny(void const*, TClass const*, bool) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#16 0x000015288355bbb1 in TGenCollectionStreamer::WriteObjects(int, TBuffer&) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#17 0x000015288352a403 in TCollectionStreamer::Streamer(TBuffer&, void*, int, TClass*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#18 0x00001528834da8f5 in TBufferFile::WriteFastArray(void*, TClass const*, int, TMemberStreamer*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#19 0x0000152883744323 in int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#20 0x00001528835a8edd in TStreamerInfoActions::GenericWriteAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#21 0x00001528834e0866 in TBufferFile::WriteClassBuffer(TClass const*, void*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#22 0x00001528834df9bf in TBufferFile::WriteObjectClass(void const*, TClass const*, bool) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#23 0x00001528834e717b in TBufferIO::WriteObjectAny(void const*, TClass const*, bool) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#24 0x00001528834daf6c in TBufferFile::WriteFastArray(void**, TClass const*, int, bool, TMemberStreamer*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#25 0x0000152883741ad5 in int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#26 0x00001528835a8edd in TStreamerInfoActions::GenericWriteAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#27 0x00001528834e0866 in TBufferFile::WriteClassBuffer(TClass const*, void*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#28 0x000015288494015b in TStreamerBase::WriteBuffer(TBuffer&, char*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libCore.so
#29 0x0000152883744868 in int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#30 0x00001528835a8edd in TStreamerInfoActions::GenericWriteAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#31 0x00001528834e0866 in TBufferFile::WriteClassBuffer(TClass const*, void*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#32 0x00001528834df9bf in TBufferFile::WriteObjectClass(void const*, TClass const*, bool) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#33 0x00001528834e717b in TBufferIO::WriteObjectAny(void const*, TClass const*, bool) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#34 0x00001528620c1cbc in RooLinkedList::Streamer(TBuffer&) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libRooFitCore.so
#35 0x00001528834da8f5 in TBufferFile::WriteFastArray(void*, TClass const*, int, TMemberStreamer*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#36 0x0000152883741ca8 in int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#37 0x00001528835a8edd in TStreamerInfoActions::GenericWriteAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#38 0x00001528834e0866 in TBufferFile::WriteClassBuffer(TClass const*, void*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#39 0x00001528621cd3e8 in RooWorkspace::Streamer(TBuffer&) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libRooFitCore.so
#40 0x00001528835818f6 in TKey::TKey(TObject const*, char const*, int, TDirectory*) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#41 0x00001528835416a5 in TFile::CreateKey(TDirectory*, TObject const*, char const*, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#42 0x0000152883532c56 in TDirectoryFile::WriteTObject(TObject const*, char const*, char const*, int) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_14_1_0_pre4/external/el9_amd64_gcc12/lib/libRIO.so
#43 0x0000152884840a54 in TObject::Write(char const*, int, int) const () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/lcg/root/6.30.07-8b1a11e1ef0e074fdfd44e162b27e71c/lib/libCore.so
#44 0x0000152864e160c2 in ?? ()
#45 0x00000000832ee2d0 in ?? ()
#46 0x00007fffafc727c0 in ?? ()
#47 0x000000000e1402c0 in ?? ()
#48 0x00007fffafc7284c in ?? ()
#49 0x0000000000000000 in ?? ()
/pool/condor/dir_92485/condor_ptJ0_vbf.sh: line 28:   283 Aborted

ROOT Version: 6.30/07
Platform: linuxx8664gcc
Compiler: g++ (GCC) 12.3.1 20230527


Hello @niharrin, welcome back to the ROOT forum!
I believe @jonas will be able to help you on this.

1 Like

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