You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/05/20 12:35:08 UTC

[jira] [Closed] (DAFFODIL-2034) Pool leaks if encodingErrorPolicy="error" globally

     [ https://issues.apache.org/jira/browse/DAFFODIL-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-2034.
-----------------------------------

Closed due to no activity and  no re-occurrence. If the issue re-occurs the ticket can be reopened or addressed in a new one.

> Pool leaks if encodingErrorPolicy="error" globally
> --------------------------------------------------
>
>                 Key: DAFFODIL-2034
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2034
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 2.2.0
>            Reporter: Mike Beckerle
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.3.0
>
>
> 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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)