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/03/10 14:43:00 UTC

[jira] [Resolved] (DAFFODIL-2662) P8 cyclic deadlock regression

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

Mike Beckerle resolved DAFFODIL-2662.
-------------------------------------
    Resolution: Fixed

fixed in 55f638de74edfa400ce6cba1de19162069c9298a

> P8 cyclic deadlock regression
> -----------------------------
>
>                 Key: DAFFODIL-2662
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2662
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End, Middle &quot;End&quot;
>    Affects Versions: 3.3.0
>            Reporter: Mike Beckerle
>            Assignee: Mike Beckerle
>            Priority: Blocker
>             Fix For: 3.3.0
>
>
> Affects 3.3.0-SNAPSHOTS since 9043425760dae277eff36087a2e715c70793db9c
> (alignment/deadlock fix)
> I got this backtrace running P8 testResync1c in roundTrip="onePass" mode. 
>  
> {code:java}
> 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){code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)