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

RDataFrame Display() crashes with column of std::string

    XMLWordPrintable

    Details

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

      ROOT 6.18/04

      Description

      Running the Display() method on RDataFrame with a column of type std::string throws a following error:

      terminate called after throwing an instance of 'std::bad_alloc'
        what():  std::bad_alloc
      
      

      and in rare occasion, this error:

      terminate called after throwing an instance of 'std::length_error'
        what():  basic_string::_M_create
      

       

      After replacing the column of std::string values with TString values, everything works fine. Minimal examples with std::string (crashes) and TString (succeeds) are attached to this issue.

      Invoking Display() on columns which are not std::string works fine, even when RDataFrame contains these columns.

        Attachments

          Activity

            People

            • Assignee:
              swunsch Stefan Wunsch
              Reporter:
              jpriessn Jan Priessnitz
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: