16.07.2013, 13:38, "Werner LEMBERG" <[email protected]>:
>> Here's a small set of patches that slightly improve the performance
>> of FreeType when compiled for ARM and x86_64 with GCC. I also
>> checked that it doesn't negatively affect x86 performance.
>
> Applied, thanks, with slight revisions (and formatting). Please
> check.
I get segfaults in Firefox:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3a94d7f in gray_find_cell (worker=worker@entry=0x1db4900) at
/var/tmp/freetype2/src/smooth/ftgrays.c:557
557 if ( cell == NULL || cell->x > x )
(gdb) bt
#0 0x00007ffff3a94d7f in gray_find_cell (worker=worker@entry=0x1db4900) at
/var/tmp/freetype2/src/smooth/ftgrays.c:557
#1 gray_record_cell (worker=worker@entry=0x1db4900) at
/var/tmp/freetype2/src/smooth/ftgrays.c:587
#2 0x00007ffff3a94e9d in gray_record_cell (worker=0x1db4900) at
/var/tmp/freetype2/src/smooth/ftgrays.c:626
#3 gray_set_cell (worker=worker@entry=0x1db4900, ex=ex@entry=12, ey=-29,
ey@entry=4) at /var/tmp/freetype2/src/smooth/ftgrays.c:630
#4 0x00007ffff3a9521e in gray_render_line (worker=0x1db4900, to_x=4652,
to_y=13572) at /var/tmp/freetype2/src/smooth/ftgrays.c:872
#5 0x00007ffff3a95b92 in gray_line_to (to=<optimized out>, worker=<optimized
out>) at /var/tmp/freetype2/src/smooth/ftgrays.c:1200
#6 0x00007ffff3a49da9 in FT_Outline_Decompose
(outline=outline@entry=0x1db5028,
func_interface=func_interface@entry=0x7ffff3ac8f40 <func_interface>,
user=user@entry=0x1db4900) at /var/tmp/freetype2/src/base/ftoutln.c:161
#7 0x00007ffff3a95d33 in gray_convert_glyph_inner
(worker=worker@entry=0x1db4900) at /var/tmp/freetype2/src/smooth/ftgrays.c:1791
#8 0x00007ffff3a9607d in gray_convert_glyph (worker=0x1db4900) at
/var/tmp/freetype2/src/smooth/ftgrays.c:1894
#9 0x00007ffff3a94abe in ft_smooth_render_generic (render=0x1db9b00,
slot=slot@entry=0x65bb9f0, mode=FT_RENDER_MODE_LCD_V, origin=<optimized out>,
required_mode=required_mode@entry=FT_RENDER_MODE_LCD_V) at
/var/tmp/freetype2/src/smooth/ftsmooth.c:288
#10 0x00007ffff3a94ccf in ft_smooth_render_lcd_v (render=<optimized out>,
slot=0x65bb9f0, mode=<optimized out>, origin=<optimized out>)
at /var/tmp/freetype2/src/smooth/ftsmooth.c:445
#11 0x00007ffff3a4dea3 in FT_Render_Glyph_Internal (library=0x19910c0,
slot=0x65bb9f0, render_mode=FT_RENDER_MODE_LCD_V) at
/var/tmp/freetype2/src/base/ftobjs.c:4055
#12 0x00007ffff61e3564 in ?? () from /usr/lib64/firefox/libxul.so
...
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel