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

Silent I/O failure when missing STL container dictionary

    XMLWordPrintable

    Details

      Description

      When there is no dictionary for vector<userclass>, a class member of this type will be written to file as an empty vector. No errors or warnings are reported.
      This looks like a potential data loss, quite nasty, because there is no indication something went wrong.
      TAR file with a reproducer is attached, execute run.sh script to test for the bug.
      Cheers,
      Marcin

        Attachments

        1. reproducer.tar
          10 kB
        2. ROOT8478test_v5.C
          5 kB
        3. ROOT8478test.C
          5 kB

          Activity

            People

            • Assignee:
              dpiparo Danilo Piparo
              Reporter:
              mnowak Marcin Nowak
            • Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: