Closed pig123123 closed 1 year ago
Your PDF is corrupted in some way. There is an online tool to check whether your PDF adheres to the standard. You can find their website here and the online tool here.
Your PDF crashed their tool.
borb
seems to spend its time in (attempting to) read the cross-reference table.
The cross-reference table is sort of the general lookup for a PDF.
If a page needs something (like a Font
, or an Image
) it can simply say "I need object 38".
And the cross-reference table (abbreviated to xref) will reply with "object 38 starts at byte 39403 in this file".
In short, the xref is extremely important. And in the case of this document, probably corrupt.
Other PDF tools might handle this in different ways. They might decide to abandon the xref and attempt to rebuild it.
And that logic is present in borb
as well. But it doesn't get triggered. So it seems like your xref is valid enough not to trigger a rebuild, but also corrupt enough to mess with borb
and cause an infinite loop somewhere.
Either way, I am closing this issue. As the proverb goes, garbage in --> garbage out.
Kind regards, Joris Schellekens
Describe the bug loading a large PDF (around 100mb) is very slow
To Reproduce I just want to loads a PDF and then split it.
Expected behaviour It should be an easy task for borb. But I've wait nearly half an hour and it haven't finished it's loading.
Screenshots
Desktop (please complete the following information):
Additional context