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

Pool leaks if encodingErrorPolicy="error" globally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Back End
    • None

    Description

      I've discovered many

      TLRegistersPool.returnToPool(delimReg)

      Unprotected by try/catch logic. You can search and find them.

      If a test case fails with say, Assert.nyi (such as for encodingErrorPolicy="error") such as test_hexBinary_unparse_14, then the pool is not properly cleaned up, and a subsequent test that just so happens to run on the same thread, then gets an error. E.g., test test_hexBinary_unparse_15 fails with a pool error, as does test_hexBinary_unparse_19. Even though if you run each of these tests individually, it passes.

      This creates a situation where tests that should be isolated from each other are in fact interacting with eachother.

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: