Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new USFM crash #589

Open
johnml1135 opened this issue Dec 23, 2024 · 4 comments
Open

new USFM crash #589

johnml1135 opened this issue Dec 23, 2024 · 4 comments
Assignees

Comments

@johnml1135
Copy link
Collaborator

johnml1135 commented Dec 23, 2024

For Engine 67670ddcdf523878b567e8f1...

Serval.Machine.Shared.Services.PreprocessBuildJob[0]
      Build faulted (67670e60df523878b567e904)
      System.InvalidOperationException: An error occurred while parsing the text 'EXO' in project 'ABC'. Verse: EXO :0, line: 421, character: 31, error: 'Stack empty.'
       ---> System.InvalidOperationException: Stack empty.
         at System.Collections.Generic.Stack`1.ThrowForEmptyStack()
         at SIL.Machine.Corpora.UsfmTextBase.TextRowCollector.EndVerseText(UsfmParserState state, IReadOnlyList`1 scriptureRefs)
         at SIL.Machine.Corpora.ScriptureRefUsfmParserHandlerBase.Verse(UsfmParserState state, String number, String marker, String altNumber, String pubNumber)
         at SIL.Machine.Corpora.UsfmParser.ProcessToken()
@johnml1135 johnml1135 self-assigned this Dec 23, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Serval Dec 23, 2024
@Enkidu93
Copy link
Collaborator

Is this a test project or have you intentionally obscured the project name?

@johnml1135
Copy link
Collaborator Author

I'm checking it out now. I'll post more data here soon (yes, I obscured the project name because I don't know if it is sensitive or not).

@johnml1135
Copy link
Collaborator Author

Minimum USFM to reproduce:

\id MAT - Test
\c 1
1 This is the 1\v 00 verse.

johnml1135 added a commit to sillsdev/machine that referenced this issue Dec 23, 2024
@johnml1135
Copy link
Collaborator Author

@Enkidu93 - I was able to identify the issue and make it reproducable (see https://github.com/sillsdev/machine/tree/usfm_error_589). Can you bring this to completion?

@johnml1135 johnml1135 assigned Enkidu93 and unassigned johnml1135 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants