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

[PyROOT] Segfault with RDataFrame.Take

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.22/02
    • Component/s: PyROOT, RDataFrame
    • Labels:
    • Environment:

      Running on todays master (commit 6b48032d93cd868f79872533718e3d3a7292aa4c)

      Current PyROOT (not experimental)
      Linux

    • Development:

      Description

      Following snipplet does result in a segfault:

      import ROOT
      df = ROOT.RDataFrame(4).Define("x", "(float)rdfentry_")
      x = df.Take("float")("x").GetValue()
      print(x)
      

      However, works fine with the snipplet below:

      import ROOT
      df = ROOT.RDataFrame(4).Define("x", "(float)rdfentry_")
      x = df.Take("float")("x")
      print(x.GetValue())
      

        Attachments

          Activity

            People

            Assignee:
            etejedor Enric Tejedor Saavedra
            Reporter:
            swunsch Stefan Wunsch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: