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

Nested std::pair written with 6.14/GCC 8.2 not readable with 6.18/GCC 8.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.18/00
    • Fix Version/s: 6.16/02, 6.20/00, 6.18/06
    • Component/s: I/O
    • Labels:
      None
    • Environment:

      GCC 8.3

      Description

      I tired updating our software from GCC 8.2 to 8.3 and ROOT from 6.14 to 6.18 and ran into the problem that I can no longer files containing nested pairs

      I attached two srcipts and an example root file and when trying to read the file with 6.18 I get the following error:

      Error in <TBufferFile::ReadVersion>: Could not find the StreamerInfo with a checksum of 0x9a9b1f98 for the class "pair<double,pair<double,double> >" in test.root.
       Error in <TBufferFile::CheckByteCount>: object of class pair<double,pair<double,double> > read too few bytes: 6 instead of 40
      

      I strongly suspect that this is related to ROOT-9808

        Attachments

        1. read6.18.py
          0.1 kB
        2. test.root
          0.8 kB
        3. write6.14.py
          0.2 kB

          Issue Links

            Activity

              People

              • Assignee:
                pcanal Philippe Canal
                Reporter:
                9784214ad6c464d2626b Martin Ritter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Actual End: