-
Notifications
You must be signed in to change notification settings - Fork 150
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
Infinite loop in Page() #29
Comments
@RebotPtyLtd this problem is also still present in your fork (but I can't report it there because you don't have issues enabled) |
I'm facing the same issue. I have a sample PDF that I can share, would it help? Yes, the file is a single page PDF, without any text whatsoever. For my purpose, it doesn't matter, all I need is some return, even if empty. I've located the loop to be happening at this function bellow:
|
I have a PDF (which unfortunately I am not allowed to share) that causes an infinite loop in the Page() function.
Basically, none of the two if checks in the kid handling return true and the outer loop just keeps repeating
I'm not a go developer and have no idea about the inner workings of the PDF format, so I don't know how to address this.
Here are two screenshots from the debugger showing the state within the function:
PS I realize that this is probably a problem with the PDF, but I would prefer an error instead of an infinite loop.
The text was updated successfully, but these errors were encountered: