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 2020/02/22 20:13:00 UTC
[jira] [Resolved] (DAFFODIL-2283) ATO and HL7 saved parsers fail
with Stack Overflow errors during generation on commit 7e8e1b3e
[ https://issues.apache.org/jira/browse/DAFFODIL-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Beckerle resolved DAFFODIL-2283.
-------------------------------------
Fix Version/s: 2.6.0
Resolution: Fixed
My understanding is that increasing stack size to 4M solves this problem.
There is a general issue with stack depth being very deep and unpredictably so, But daffodil has a compiler, and using up .4% of a gigabyte (4 Megabytes) for stack to avoid this problem is clearly the right way to fix it rather than worrying about depth of recursion.
> ATO and HL7 saved parsers fail with Stack Overflow errors during generation on commit 7e8e1b3e
> ----------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-2283
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2283
> Project: Daffodil
> Issue Type: Bug
> Components: DFDL Schemas
> Affects Versions: 2.5.0
> Environment: Nightly test platform.
> Reporter: Dave Thompson
> Assignee: Mike Beckerle
> Priority: Blocker
> Fix For: 2.6.0
>
> Attachments: ATO_SavedParserFail.txt, HL7_SavedParserFail.txt
>
>
> The ATO and HL7 saved parser (.bin) files fail to be generated on commit 7e8e1b3ed110efe939908cdf1e12df50d1f86527, commit for schema compilation speed improvement.
> Both formats fail with a Stack Overflow error.
> Attached are the trace back message for each.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)