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

Segfault when printing std map element which is a TString

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.00.02
    • Fix Version/s: 6.02.00
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      kubuntu 14 clang 3.5

    • Development:

      Description

      Typing these lines at the prompt causes a segfault:

      #include <map>
      using namespace std;
      map<Int_t, TString> ha
      ha[0] = "kiki"
      ha[0]

      Same behaviour with vector and list. Not seen with single TStrings or array of TStrings.

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              dpiparo Danilo Piparo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: