Bug 690360

Summary: Blank page and "jbig2dec FATAL ERROR decoding image: error decoding symbol id table: run length with no antecedent! (segment 0x04) "
Product: jbig2dec Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: ParsingAssignee: Masaki Ushizaka <masaki.ushizaka>
Status: NOTIFIED FIXED    
Severity: normal CC: henry.stiles
Priority: P2    
Version: master   
Hardware: Macintosh   
OS: MacOS X   
Customer: 170 Word Size: ---
Attachments: 2.pdf

Description Marcos H. Woehrmann 2009-03-26 09:35:26 UTC
The attached file (a page out of the longer customer supplied file) generates a "jbig2dec FATAL ERROR 
decoding image: error decoding symbol id table: run length with no antecedent! (segment 0x04)" error 
and a blank page.  Both Apple Preview and Adobe Acrobat 9 Pro open the file correctly.

The command line I'm using:

  bin/gs -sDEVICE=tiff24nc -o test.tif ./2.pdf
Comment 1 Marcos H. Woehrmann 2009-03-26 09:35:49 UTC
Created attachment 4869 [details]
2.pdf
Comment 2 Ralph Giles 2009-04-01 17:57:22 UTC
Reproduced with gs r9613. The development jbig2dec (git 9b525fc5) doesn't
complain about the symbol id table, but the output characters are garbled.
Comment 3 Nathan Aldridge 2009-04-27 11:18:43 UTC
I notice this as well with some of my JBIG2 image objects (see bug # 690282)

I get a 'jbig2dec FATAL ERROR decoding image: error decoding symbol id table:
run length with no antecedent! (segment 0x05)'
Comment 4 Masaki Ushizaka 2009-08-12 23:45:05 UTC
Gs 8.70 (r9912) and current head (r9974) do not crash but output image is garbled.
(jbig2dec was updated to 0.10 release at r9769.)
Comment 5 Masaki Ushizaka 2010-04-05 11:41:39 UTC
Current turnk (r11009) seems to render the test file properly.  I will try to find what version made this change later.
Comment 6 Masaki Ushizaka 2010-04-21 11:56:54 UTC
Please forget my comment #4.  The image was correct on gs 8.70 and r9974.  I probably did something wrong at that time.
I confirmed this problem was fixed since jbig2dec 0.10 r9769.  Closing.
Comment 7 Marcos H. Woehrmann 2011-09-18 21:46:50 UTC
Changing customer bugs that have been resolved more than a year ago to closed.