Frederic Crozat wrote:> And you''ll get nice crash when starting any application using > fontconfig :)I think I''ve now committed a (one-line) patch which solves this problem; please test. sunmoon: I wasn''t comfortable with removing the iteration, which I think needs to stay there. However, in the iteration, I was forgetting to bump up l as well as lp. pat
Le mercredi 16 novembre 2005 ? 12:28 +0100, Frederic Crozat a ?crit :> Hi, > > we have recently switched Mandriva cooker to fontconfig 2.3.92 and I''ve > got a lot of bug report on a reproducible bug when configuration file is > invalid : > > create ~/.fonts.conf with the following data : > > <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> > <fontconfig> > <match target="font" > > <edit mode="assign" name="hintstyle" > > <const>full</const> > </edit> > </match> > </fontconfig> > > And you''ll get nice crash when starting any application using > fontconfig :) > > BTW, running valgrind with this particular config file is causing a lot > of invalid memory access warning in valgrind.The attached patch doesn''t fix the crash but ensure fontconfig prints a warning when invalid const value are used. I''ll investigate further to try to fix the crash but this part of fontconfig is a little like black magic for me :) -- Frederic Crozat <fcrozat@mandriva.com> Mandriva -------------- next part -------------- A non-text attachment was scrubbed... Name: fontconfig-2.3.92-constantwarning.patch Type: text/x-patch Size: 736 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051116/d6c50329/fontconfig-2.3.92-constantwarning.bin
Hi, we have recently switched Mandriva cooker to fontconfig 2.3.92 and I''ve got a lot of bug report on a reproducible bug when configuration file is invalid : create ~/.fonts.conf with the following data : <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font" > <edit mode="assign" name="hintstyle" > <const>full</const> </edit> </match> </fontconfig> And you''ll get nice crash when starting any application using fontconfig :) BTW, running valgrind with this particular config file is causing a lot of invalid memory access warning in valgrind. -- Frederic Crozat <fcrozat@mandriva.com> Mandriva