You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2021/08/19 13:53:15 UTC

[GitHub] [daffodil] stevedlawrence opened a new pull request #622: Fix parser serialization stack overflow regression

stevedlawrence opened a new pull request #622:
URL: https://github.com/apache/daffodil/pull/622


   Commit 126789891ed5e834037198e5aa59e1f6b34dcb04 added a fix to prevent
   stack overflows during serialization by making parent backpointers
   transient and manually serializing them, which avoids serialization of a
   highly connected/cyclic graph that requires a large stack depth.
   
   Commit eb603e7f4a342e1a63d1e07f59c714cf531724bc removed the need for
   most transient parameters, but accidentally removed the transient
   annotations for these parents needed to fix the stack overflow issue.
   
   This adds back the @transient annotations needed to prevent stack
   overflows, as well as additional comments to hopefully ensure we don't
   accidentally remove these transients in the future.
   
   DAFFODIL-2551


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [daffodil] stevedlawrence merged pull request #622: Fix parser serialization stack overflow regression

Posted by GitBox <gi...@apache.org>.
stevedlawrence merged pull request #622:
URL: https://github.com/apache/daffodil/pull/622


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org