Trying to read a pdf file using PDFJS.getDocument function. The pdf worker is throwing


UnknownErrorException {
 name: "UnknownErrorException", 
 message: "Invalid root reference", 
 details: "FormatError: Invalid root reference"
}

The error can be easily reproduced calling PDFJS.getDocument(pdfUrl) using the attached pdf
[110229_10312017_6810306.pdf](https://github.com/mozilla/pdf.js/files/1444166/110229_10312017_6810306.pdf)


const stream = parser.lexer.stream;
    const tableState = this.tableState;
    stream.pos = tableState.streamPos;
    parser.buf1 = tableState.parserBuf1;
    parser.buf2 = tableState.parserBuf2;
    
    let obj;
    while (true) {
      if (!("firstEntryNum" in tableState) || !("entryCount" in tableState)) {
        if (isCmd((obj = parser.getObj()), "trailer")) {
          break;
        }
        tableState.firstEntryNum = obj;
        tableState.entryCount = parser.getObj();
      }