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

Crash calling in TTree::Draw a user function with many arguments

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.04/06
    • None
    • None
    • None
    • seen on linux SLC6 using root/6.02, but reproduced also with 6.04/06 taken from CERN AFS.
      same code works fine in root 5

    Description

      If I define a function in a file loaded with ".L file.cc+", I can normally use it within a TTree::Draw. However, in root6 I get crashes with segmentation violation with functions that take too many arguments.

      A proof of concept code reproducing the error is in http://gpetrucc.web.cern.ch/gpetrucc/drop/poc.cxx to be run with root.exe -n -b -l -q poc.cxx++
      On 6.04/06, if I uncomment the lines that call the function with 12 arguments in the TTree:Draw, the code crashes, while functions with up to 10 arguments work fine.

      Attachments

        Issue Links

          Activity

            People

              bbockelm Brian Paul Bockelman
              gpetrucc Giovanni Petrucciani
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Actual End: