Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9476 [DF] Upgrade of Data Frame for 6.16
  3. ROOT-9264

TDF: bogus warnings when Snapshotting a TUUID column from multiple threads

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • master
    • 6.16/00
    • None
    • None
    • any

    Description

      First reported in this forum post.

      Minimal reproducer:

      #include <ROOT/TDataFrame.hxx>
      #include <TUUID.h>
      using namespace ROOT::Experimental;
       
      int main()
      {
         // write a root file containing a TUUID
         TDataFrame(1).Define("info_run", []() { return TUUID(); }).Snapshot<TUUID>("t", "test_snap.root", {"info_run"});
       
         ROOT::EnableImplicitMT(); // commenting eliminates the runtime warnings
       
         // read and write it again
         std::cout << "now snapshotting" << std::endl;
         TDataFrame("t", "test_snap.root").Snapshot<TUUID>("t", "out_snap.root", {"info_run"});
       
         return 0;
      }
      

      Attachments

        Activity

          People

            eguiraud Enrico Guiraud
            eguiraud Enrico Guiraud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: