Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10019

[TTreeReader] Throw exception instead of segfaulting if branch "disappears" when switching files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.18/00
    • Component/s: None
    • Labels:
      None

      Description

      When reading TChains with TTreeReader, it might happen that a malformed TTree in the TChain is missing one of the branches. It seems that in that case, trying to access the contents of the corresponding TTreeReaderValue causes a segfault.

      This causes hard to debug issues, especially when using TTreeReader through RDataFrame.

        Attachments

          Activity

            People

            • Assignee:
              dpiparo Danilo Piparo
              Reporter:
              eguiraud Enrico Guiraud
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                PlannedEnd:
                PlannedStart:
                Actual Start:
                Actual End: