mozilla/pdf.js — Issue #1250: error: p is undefined in ccittFaxStreamGetTwoDimCode
Author: skierpage
Created: 2012-02-19 23:18:38+00:00
State: open

I installed pdf.js 0.2.218 in Firefox Nightly "Mozilla/5.0 (X11; Linux x86_64; rv:13.0a1) Gecko/20120216 Firefox/13.0a1" , very nice!

A search for "sample PDF" returned http://sdrc.lib.uiowa.edu/traveling-culture/chau1/pdf/austindw/1/brochure.pdf , when I visit it I get an error bar that reports "An error occurred while rendering the page." with details:

PDF.JS Build: 38a6cd6
Message: p is undefined
Stack: ccittFaxStreamGetTwoDimCode()@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:27569
ccittFaxStreamLookChar()@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:27271
ccittFaxStreamReadBlock()@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:27186
decodestream_getBytes(796500)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:25642
getImageBytes(796500)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:21608
fillRgbaBuffer([object Uint8Array],2353,2700)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:21567
([object Object])@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:12499
([object Array])@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:21366
promiseResolve([object Array])@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:1179
(null)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:1126
promiseResolve(null)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:1179
buildImage((function (imageObj) {"use strict";var drawWidth = imageObj.drawWidth;var drawHeight = imageObj.drawHeight;var imgData = {width: drawWidth, height: drawHeight, data: new Uint8Array(drawWidth * drawHeight * 4)};var pixels = imgData.data;imageObj.fillRgbaBuffer(pixels, drawWidth, drawHeight);handler.send("obj", [objId, "Image", imgData]);}),[object Object],[object Object],[object Object],[object Object],false)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:21375
buildPaintImageXObject([object Object],false)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:12501
partialEvaluatorGetIRQueue([object Object],[object Object],[object Object],[object Array])@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:12615
pageGetIRQueue([object Object],[object Array])@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:228
wphSetupPageRequest(2)@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:27914
messageHandlerComObjOnMessage([object MessageEvent])@blob:0f8e9587-4394-4fdb-ae2a-9665992a710d:27848