[poppler] [PATCH] Poppler Crash Fix: Do not call FT_Done_Freetype in CairoOutputDev

Adrian Johnson ajohnson at redneon.com
Wed Jun 25 16:57:50 PDT 2008

Michael Vrable wrote:
> I came across a rather interesting crash in Evince recently, which I 
> think was due to FT_Done_FreeType being called in CairoOutputDev before 
> all font faces loaded by that instance of FreeType were done being used 
> by Cairo.  The bug was non-deterministic, but usually showed up as a 
> segmentation fault after reloading a document in Evince some number of 
> times (sometimes one reload, sometimes many were needed).

There are a number of Ubuntu bugs reporting poppler crashes in 
FT_Done_Face including this one which is easily reproducible


I tested your patch and it works for me.

More information about the poppler mailing list