[Bug 678397] gray_find_cell() - longjmp causes uninitialized stack frame

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 4 09:35:26 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=678397



--- Comment #42 from Marek Kašík <mkasik at redhat.com> ---
(In reply to Steve Tyler from comment #41)
> This backtrace shows two threads with the same worker pointer
> (Bug 977517, Attachment 764742 [details]):
> 
> Thread 3 (Thread 0x7fcf50cba9c0 (LWP 2278)):
> #0  gray_find_cell (worker=0x10d7b50) at
> /usr/src/debug/freetype-2.4.11/src/smooth/ftgrays.c:480
> 
> Thread 1 (Thread 0x7fcf43ccd700 (LWP 2280)):
> #0  gray_find_cell (worker=0x10d7b50) at
> /usr/src/debug/freetype-2.4.11/src/smooth/ftgrays.c:480
> 
> Marek, can you suggest a way that could happen?

It can be there because grayPWorker is part of gray_PRaster, gray_PRaster is as
a FT_Raster (see gray_raster_reset()) part of FT_Renderer which is part of
FT_Library. The FT_Library is used by multiple threads in cairo.
Maybe some mutexes in cairo could help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=t9zzL59N96&a=cc_unsubscribe


More information about the fonts-bugs mailing list