Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.3.0
-
None
Description
Affects 3.3.0-SNAPSHOTS since 9043425760dae277eff36087a2e715c70793db9c
(alignment/deadlock fix)
I got this backtrace running P8 testResync1c in roundTrip="onePass" mode.
org.apache.daffodil.tdml.TDMLExceptionImpl: (Implementation: daffodil) SuspensionDeadlockException: Runtime Schema Definition Error: Expressions/Unparsers are circularly deadlocked (mutually defined): - AlignmentFillUnparserSuspendableOperation for sequence[1] - AlignmentFillUnparserSuspendableOperation for sequence[1] - AlignmentFillUnparserSuspendableOperation for sequence[1] - AlignmentFillUnparserSuspendableOperation for messagePriority - AlignmentFillUnparserSuspendableOperation for routingData - SuspendableExpression(dfdl:newVariableInstance, expr={ CDSHeader/messageLength }) - AlignmentFillUnparserSuspendableOperation for length - target length for TOMSMessage expr <EvaluatableExpression eName='TOMSMessage' expr='{ xs:unsignedInt( $p8:messageLength - ( 15 + dfdl:valueLength( ../TOMSHeader, "bytes" )) ) }' /> - AlignmentFillUnparserSuspendableOperation for sequence[1] - SimpleTypeRetryUnparserSuspendableOperation for messageLength - AlignmentFillUnparserSuspendableOperation for sequence[1] - AlignmentFillUnparserSuspendableOperation for TTL Schema context: messageLength Location line 60 column 8 in file:/home/mbeckerle/Documents/dataiti/git/dfdl-schemas/dfdl-p8/target/classes/com/owlcyberdefense/p8/xsd/headers.dfdl.xsd Data location was preceding byte 124 at org.apache.daffodil.tdml.TDMLException$.apply(TDMLException.scala:32) at org.apache.daffodil.tdml.ParserTestCase.doOnePassRoundTripUnparseExpectSuccess(TDMLRunner.scala:1145)