[gs-bugs] [Bug 692637] New: out of memory crash when processing PLRM.pdf on 1st generation iPad

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sat Oct 29 17:16:46 UTC 2011


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

           Summary: out of memory crash when processing PLRM.pdf on 1st
                    generation iPad
           Product: MuPDF
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P4
         Component: mupdf
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: support at zumadev.com
         QAContact: gs-bugs at ghostscript.com


Created an attachment (id=8049)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=8049)
PostScript Language Reference Manual

After selecting PLRM.pdf on a 1st generation iPad running iOS 4.3.3, it
processes PLRM.pdf for a moment and then fails.

The console messages say:
applicationDidBecomeActive!
open xref
'/var/mobile/Applications/BCE161B2-EF18-4965-A23B-B0023B205B39/Documents/PLRM.pdf'
loading page 0 for size 768 x 1004
fatal error: out of memory (integer overflow)

The debugger stack says:
Program received signal:  “SIGABRT”
[...]
#0  0x33850a1c in __pthread_kill ()
#1  0x369413ba in pthread_kill ()
#2  0x36939bfe in abort ()
#3  0x00008b68 in fz_calloc (count=41041, size=130892) at fitz/base_memory.c:26
#4  0x0001f696 in fz_new_pixmap_with_data (colorspace=0x641de0, w=32723,
h=41041, samples=0x0) at fitz/res_pixmap.c:38
#5  0x0001f81a in fz_new_pixmap (colorspace=0x641de0, w=32723, h=41041) at
fitz/res_pixmap.c:62
#6  0x0001f870 in fz_new_pixmap_with_rect (colorspace=0x641de0, r={x0 = -35249,
y0 = -41041, x1 = -2526, y1 = 0}) at fitz/res_pixmap.c:69
#7  0x00004446 in renderPage (xref=0x4424000, number=0, width=768, height=1004)
at /Users/artford/ghostscript/tor/mupdf/ios/main.m:165
#8  0x00004042 in __35-[MuDocumentController reloadPage:]_block_invoke_0
(.block_descriptor=0x46e2b90) at
/Users/artford/ghostscript/tor/mupdf/ios/main.m:427

-- 
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