[Magick-bugs] mogrify(1) bug in calling FT_Outline_Decompose()...

Sean Chittenden sean at chittenden.org
Thu Feb 5 15:12:11 PST 2009


>> horrible SIGSEGV death *grin*).  Any thoughts?  Very reproducible.
>
> Unfortunately we cannot reproduce the problem.  We're using  
> ImageMagick
> 6.4.8-9 and Freetype 2.3.8.  Your command completes without complaint.

Having dug much further into this than I'd like, I can report the  
following bits:

I believe this issue is specific to the way that ImageMagick chooses  
to use its fonts in a Solaris environment.  Specifically, copying  
types-windows.xml over types-solaris.xml, then modifying types- 
solaris.xml to use absolute paths to the ttf files worked around this  
particular crash.

I believe that FreeType is properly loading the fonts, however that  
ImageMagick isn't properly initializing/reusing the glyphs based on  
the font type (i.e. a font not ttf).

That said, this regression is not caught in the regression tests, but  
is reproducible on Solaris with the mogrify(1) command included  
earlier.  Running the same mogrify(1) command on Linux of FreeBSD does  
not result in a crash.

-sc

--
Sean Chittenden
sean at chittenden.org





More information about the Magick-bugs mailing list