You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2022/01/24 18:54:00 UTC
[jira] [Comment Edited] (DAFFODIL-2626) Circular deadlock when computing stored length around prefixed-length elements
[ https://issues.apache.org/jira/browse/DAFFODIL-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481286#comment-17481286 ]
Mike Beckerle edited comment on DAFFODIL-2626 at 1/24/22, 6:53 PM:
-------------------------------------------------------------------
Added test test_prefixedAroundDelimitedString1 for this prefixed-length aspect, in git hash 54ee07216996c80e74749db46200273d48da948b
This might be two entirely separate issues. Keeping them together as one ticket until we know that for certain.
was (Author: mbeckerle):
Added test test_prefixedAroundDelimitedString1 for this prefixed-length aspect, in PR [https://github.com/apache/daffodil/pull/734]
This might be two entirely separate issues. Keeping them together as one ticket until we know that for certain.
> Circular deadlock when computing stored length around prefixed-length elements
> ------------------------------------------------------------------------------
>
> Key: DAFFODIL-2626
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2626
> Project: Daffodil
> Issue Type: Bug
> Components: Back End
> Affects Versions: 3.2.1
> Reporter: Mike Beckerle
> Priority: Major
>
> I have a small schema with a messageLength element as the first element, which has outputValueCalc on the message payload.
> The message payload contains prefixed-length strings.
> I get a deadlock on unparsing:
> {code}
> org.apache.daffodil.tdml.TDMLExceptionImpl: (Implementation: daffodil) SuspensionDeadlockException: Runtime Schema Definition Error: Expressions/Unparsers are circularly deadlocked (mutually defined):
> - SimpleTypeRetryUnparserSuspendableOperation for messageLength
> - ElementUnusedUnparserSuspendableOperation for payload
> - AlignmentFillUnparserSuspendableOperation for address
> Schema context: messageLength Location line 59 column 18 in file:/tmp/s__3044777217024912267.dfdl.xsd
> Data location was preceding byte 0
> {code}
> See test test_computedLengthAroundPrefixedLengths1u
> Test test_computedLengthAroundPrefixedLengths1p is the same thing, just testing the parse direction.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)