[gs-bugs] [Bug 691336] New: UFST build segfault on start.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sat May 22 20:05:55 UTC 2010


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

           Summary: UFST build segfault on start.
           Product: Ghostscript
           Version: other
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Font API
        AssignedTo: ken.sharp at artifex.com
        ReportedBy: hintak at ghostscript.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


r11302 built with ./configure --disable-freetype && make clean && make
UFST_BRIDGE=1 UFST_ROOT=../ufst UFST_CFLAGS=-DGCCx86 UFST_LIB_EXT=.a .

running with -dDisableFAPI=true www.belldandy.idv.hk/GS/source.pdf
(test file in bug 690029) is fine, but using the FAPI gives an immediate
segfault:

(gdb) bt
#0  0x000000000054709d in open_UFST ()
#1  0x0000000000547132 in ensure_open ()
#2  0x0000000000543621 in zFAPIpassfont ()
#3  0x0000000000483e46 in interp ()
#4  0x000000000048562b in gs_interpret ()
#5  0x000000000047a2ec in gs_main_run_string_end ()
#6  0x000000000047b34e in run_string ()
#7  0x000000000047ba9e in runarg ()
#8  0x000000000047d41c in gs_main_init_with_args ()
#9  0x000000000040a844 in main ()

I removed the object file and just compile that object with -g and re-make, and
give this:


Program received signal SIGSEGV, Segmentation fault.
0x000000000054709d in open_UFST (r=<value optimized out>, server_param=<value
optimized out>, server_param_size=<value optimized out>)
    at ./psi/fapiufst.c:190
190        emprintf(r->ff->memory,

#0  0x000000000054709d in open_UFST (r=<value optimized out>,
server_param=<value optimized out>, server_param_size=<value optimized out>)
    at ./psi/fapiufst.c:190
#1  0x0000000000547132 in ensure_open (server=0x16a54a0, server_param=<value
optimized out>, server_param_size=<value optimized out>)
    at ./psi/fapiufst.c:207
#2  0x0000000000543621 in zFAPIpassfont ()

This is on x86_64 linux.

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