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

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 5 14:54:27 UTC 2013


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



--- Comment #45 from Marek Kašík <mkasik at redhat.com> ---
(In reply to Marek Kašík from comment #44)
> > 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.
> 
> I tried to place mutexes around uses of the FT_Library in cairo but it
> doesn't help. I continue on this...

I tried to place more calls of Freetype's functions in Cairo to the mutex and
it helps. The geeqie doesn't crash anymore with it. I'll prepare a patch and
post it here and upstream (I want to look at which functions really need to be
locked by the mutex yet).

Regards

Marek

-- 
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=KOt8jLTZfk&a=cc_unsubscribe


More information about the fonts-bugs mailing list