If there is a PDF document which doesn't comply with the PDF reference and its DocInfo object is not a dictionary, then XRef::createDocInfoIfNoneExists() will fail. And apparently (as Bug 97134 shows) there are such documents.
Created attachment 125452 [details] [review] [PATCH] XRef::createDocInfoIfNoneExists(): don't presume that DocInfo is a dictionary
Pushed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.