freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] segfault in psaux/psft.c:98


From: Markus Trippelsdorf
Subject: Re: [ft-devel] segfault in psaux/psft.c:98
Date: Wed, 22 Nov 2017 11:40:27 +0100

On 2017.11.22 at 11:35 +0100, Markus Trippelsdorf wrote:
> Trying to view the current C++ standard with okular leads to a crash:
> 
> address@hidden source % 
> LD_PRELOAD=/home/markus/freetype2/objs/.libs/libfreetype.so.6.14.0 gdb --args 
> okular std.pdf
> Reading symbols from okular...done.
> (gdb) set follow-fork-mode parent
> (gdb) run
> ...
> Thread 6 "Okular::PixmapG" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffe0a60700 (LWP 11854)]
> cf2_setGlyphWidth (address@hidden, width=<optimized out>) at 
> /home/markus/freetype2/src/psaux/psft.c:98
> 98          *decoder->glyph_width = cf2_fixedToInt( width );
> (gdb) bt
> #0  cf2_setGlyphWidth (address@hidden, width=<optimized out>) at 
> /home/markus/freetype2/src/psaux/psft.c:98
> #1  0x00007ffff7fbdd50 in cf2_decoder_parse_charstrings (decoder=<optimized 
> out>, charstring_base=<optimized out>, charstring_len=14)
>     at /home/markus/freetype2/src/psaux/psft.c:436
> #2  0x00007ffff7f79020 in T1_Parse_Glyph_And_Get_Char_String (address@hidden, 
> address@hidden,
>     address@hidden, address@hidden "") at 
> /home/markus/freetype2/src/type1/t1gload.c:113
> #3  0x00007ffff7f7a974 in T1_Load_Glyph (t1glyph=0x7fffd804c220, 
> t1size=0x7fffd804c3d0, glyph_index=12, load_flags=10) at 
> /home/markus/freetype2/src/type1/t1gload.c:421
> #4  0x00007ffff7f602d2 in FT_Load_Glyph (face=0x7fffd804b330, glyph_index=12, 
> load_flags=10) at /home/markus/freetype2/src/base/ftobjs.c:915
> #5  0x00007fffe1300b22 in SplashFTFont::makeGlyph(int, int, int, 
> SplashGlyphBitmap*, int, int, SplashClip*, SplashClipResult*) () from 
> /usr/lib/libpoppler.so.72
> ...
> 
> Started with:
> 
> commit b9bd2d14e2836122028b4f41eee937fc31e6b93c AD)
> Author: Ewald Hew <address@hidden>
> Date:   Wed Nov 22 12:32:47 2017 +0800
> 
>     [psaux] Fix CFF advance widths. (#52466)

 % pdflatex small2e
 % okular small2e.pdf

is enough to reproduce.

-- 
Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]