[Fontconfig] fontconfig issue

Akira TAGOH akira at tagoh.org
Tue May 15 03:55:13 PDT 2012


Although I can't reproduce that problem here, do you see same error
with fc-match say? I'm suspecting that that code may not call
FcPatternDestroy() for the result of FcFontMatch().

On Tue, May 15, 2012 at 6:45 PM, Archana :) <archnavnr24 at gmail.com> wrote:
> Hey sorry i unkowningly have sent u the previous log.. after fontconfig
> updation below is the valgrind error..
>
> 42,500 (15,360 direct, 27,140 indirect) bytes in 40 blocks are definitely
> lost in loss record 162 of 165
> ==12490==    at 0x4025016: realloc (vg_replace_malloc.c:525)
> ==12490==    by 0x4C67016: FcPatternObjectInsertElt (fcpat.c:358)
> ==12490==    by 0x4C54911: FcConfigPatternAdd (fccfg.c:1355)
> ==12490==    by 0x4C55E85: FcConfigSubstituteWithPat (fccfg.c:1559)
> ==12490==    by 0x4C64310: FcFontRenderPrepare (fcmatch.c:433)
> ==12490==    by 0x4C644C7: FcFontMatch (fcmatch.c:564)
> ==12490==    by 0x4B344C4: FontConfig::Find(char const*, bool, bool)
> (unixfontconfig.cpp:75)
> ==12490==    by 0x4B3439C: FontConfig::FindFont(char const*, bool, bool)
> (unixfontconfig.cpp:49)
> ==12490==    by 0x4B3522E: SIInterface::SI_CreateFont(MM_Object*,
> FI_FontInfo const*, void**) (SITextDrawImpl.cpp:324)
> ==12490==    by 0x625BDE7: HostCallback2<unsigned short, FI_FontInfo const*,
> void**>::Invoke(void*) (si_wrappers.cpp:130)
> ==12490==    by 0x63A1331:
> CorePlayer::InvokeHostCallback(VirtualHostCallback&) (splayer.cpp:12240)
>
> Archana.
>
>
> On Tue, May 15, 2012 at 2:35 PM, Akira TAGOH <akira at tagoh.org> wrote:
>
>> That looks like you failed to update. /usr/lib/libfontconfig.so.1.4.4
>> isn't 2.9.0 anyway. it should be /usr/lib/libfontconfig.so.1.5.0 if
>> you install it properly.
>>
>
>
>>
>> On Tue, May 15, 2012 at 4:08 PM, Archana :) <archnavnr24 at gmail.com> wrote:
>> > Hi ,
>> >
>> > I have upgraded  fontconfig to 2.9.0. and in fontconfig makefile its
>> > compiling with ' -g ' option..
>> >
>> > ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
>> > make
>> > make install
>> >
>> > Still  showing the same issue as
>> >
>> > 53,200 (19,200 direct, 34,000 indirect) bytes in 50 blocks are
>> > definitely
>> > lost in loss record 155 of 158
>> > ==11740==    at 0x4025016: realloc (vg_replace_malloc.c:525)
>> > ==11740==    by 0x4C66966: ??? (in /usr/lib/libfontconfig.so.1.4.4)
>> > ==11740==    by 0x4C547A1: ??? (in /usr/lib/libfontconfig.so.1.4.4)
>> > ==11740==    by 0x4C55C57: FcConfigSubstituteWithPat (in
>> > /usr/lib/libfontconfig.so.1.4.4)
>> > ==11740==    by 0x4C63DC0: FcFontRenderPrepare (in
>> > /usr/lib/libfontconfig.so.1.4.4)
>> > ==11740==    by 0x4C63F09: FcFontMatch (in
>> > /usr/lib/libfontconfig.so.1.4.4)
>> > ==11740==    by 0x4B344B6: FontConfig::Find(char const*, bool, bool)
>> > (unixfontconfig.cpp:74)
>> > ==11740==    by 0x4B3439C: FontConfig::FindFont(char const*, bool, bool)
>> > (unixfontconfig.cpp:49)
>> >
>> > Archana.
>> > _______________________________________________
>> > Fontconfig mailing list
>> > Fontconfig at lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/fontconfig
>> >
>>
>>
>>
>> --
>> Akira TAGOH
>
>



-- 
Akira TAGOH


More information about the Fontconfig mailing list