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

First of the tree tutorials crashes when trying to histogram a leaf

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.18/04
    • Fix Version/s: 6.20/00, 6.18/06
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      g++ 7.4.0, Linux Mint 19.2

      Description

      Tried to play with $ROOTSYS/tutorials/tree/tree1.C sample. Loaded it in Cling first:

      $ root
      root [0] .x tree1.C
      (TTreeViewer *) 0x55cc8190bb80
      File name : tree1.root
      root [1]

      Everything is going well so far, the browser and tree viewer are there both. But clicking on 'px' leaf just crashes ROOT:

      root [1] *** stack smashing detected ***: <unknown> terminated

      I also tried to reproduce that in v6.10/08 version, but it didn't crash there.

      UPD Tried to reproduce on macOS also in ROOT 6.18/04 (built by clang-1001.0.46.4), and it also crashed, but after clicking on 'pz' leaf instead, with this log:

      root [1] root.exe(62631,0x113d925c0) malloc: *** error for object 0x408387980062c6b0: pointer being freed was not allocated

      root.exe(62631,0x113d925c0) malloc: *** set a breakpoint in malloc_error_break to debug

      Hope this helps.

        Attachments

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              182988ac05d8daab9236 Timur Elzhov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: