[gs-bugs] [Bug 691578] New: mupdf crashes on some pdfs when built with -ggdb3

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Aug 27 04:08:17 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691578

           Summary: mupdf crashes on some pdfs when built with -ggdb3
           Product: MuPDF
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: fitz
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: graham.gower at gmail.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


The attached pdf reproduces the problem and comes from:
http://diveintopython.org/download/diveintopython-pdf-5.4.zip

ximage: mode 16/16 0000f800 000007e0 0000001f (11,5,0) lsb
ximage: RGBA8888 to RGB565
ximage: XShmPutImage
+ fitz/res_font.c:208: fz_newfontfrombuffer(): freetype: cannot load font:
unknown file format
| mupdf/pdf_fontfile.c:131: pdf_loadbuiltinfont(): cannot load freetype font
from buffer
| mupdf/pdf_font.c:526: loadsimplefont(): cannot load simple font (12 0 R)
| mupdf/pdf_font.c:979: pdf_loadfont(): cannot load font (12 0 R)
| mupdf/pdf_interpret.c:841: pdf_runkeyword(): cannot load font (12 0 R)
| mupdf/pdf_interpret.c:1463: pdf_runcsifile(): cannot run keyword 'endobj'
| mupdf/pdf_interpret.c:1484: pdf_runcsibuffer(): cannot parse content stream
| mupdf/pdf_interpret.c:1505: pdf_runpage(): cannot parse page content stream
| apps/pdfapp.c:269: pdfapp_showpage(): cannot draw page 1 in 'Dive Into
Python'
\ apps/x11_main.c:89: winerror(): aborting

The below error is seen when -ggbd3 is added to CFLAGS, but does not occur
otherwise. I have tried gcc-4.4.4 on a native x86_64 build and gcc-4.4.4 cross
build for mipsel.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list