Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2284

Non-thread safe failures with JSON schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None

    Description

      Commit 7e8e1b3ed110efe939908cdf1e12df50d1f86527 causes random failures when doing performance tests with a JSON schema (schema and test file attached), e.g.:

      daffodil performance -s json.dfdl.xsd -t 2 -N 2 random.json
      

      The likely cause is that we've always had some non-thread-safe code that we just never happened to hit. But with that commit, there is much more sharing going on and so much more likely for non-thread-safe code to get triggered. No other information as to where the bad code is, but it's very repeatable with this schema.

      Attachments

        1. random.json
          0.4 kB
          Steve Lawrence
        2. json5.dfdl.xsd
          15 kB
          Steve Lawrence

        Activity

          People

            slawrence Steve Lawrence
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: