Re: fontconfig issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Akira,

I was out of station for sometime, So i couldnt able to look in to the issue.

As per your last mail regarding FcStrStaticName() ,u asked me to take fontconfig from git repository and compile, i took fontconfig-2.9.0 from http://cgit.freedesktop.org/fontconfig/ site and compiled ..
But still these FcStrStaticName() errors exit.. can u suggest me

Archana M.


On Thu, May 17, 2012 at 8:16 PM, Akira TAGOH <akira@xxxxxxxxx> wrote:
As I said, NO FcStrStaticName() available in git anymore. just try to
build fontconfig from git and see how it works.

Please don't forget to add the list in Cc next time. it would be
always good to share the information public.

On Thu, May 17, 2012 at 9:17 PM, Archana Mathari <archnavnr24@xxxxxxxxx> wrote:
> Hi,
>
> 32 bytes in 2 blocks are possibly lost in loss record 52 of 140
> ==17933==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
> ==17933==    by 0x4C667A6: FcStrStaticName (fcpat.c:1065)
> ==17933==    by 0x4C6B81D: FcPopExpr (fcxml.c:179)
> ==17933==    by 0x4C6B951: FcPopBinary (fcxml.c:1775)
> ==17933==    by 0x4C6D508: FcEndElement (fcxml.c:1958)
> ==17933==    by 0x4EB7AD4: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EB8920: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EB9E30: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EBA9E9: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EB16CB: XML_ParseBuffer (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4C6A95A: FcConfigParseAndLoad (fcxml.c:2782)
> ==17933==    by 0x4C6ACAB: FcConfigParseAndLoad (fcxml.c:2668)
> ==17933==
> ==17933== 48 bytes in 2 blocks are possibly lost in loss record 60 of 140
> ==17933==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
> ==17933==    by 0x4C667A6: FcStrStaticName (fcpat.c:1065)
> ==17933==    by 0x4C6B6F9: FcExprCreateString (fcxml.c:107)
> ==17933==    by 0x4C6B793: FcPopExpr (fcxml.c:1709)
> ==17933==    by 0x4C6B951: FcPopBinary (fcxml.c:1775)
> ==17933==    by 0x4C6D59B: FcEndElement (fcxml.c:2021)
> ==17933==    by 0x4EB7AD4: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EB8920: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EB9E30: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EBA9E9: ??? (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4EB16CB: XML_ParseBuffer (in /lib/libexpat.so.1.5.2)
> ==17933==    by 0x4C6A95A: FcConfigParseAndLoad (fcxml.c:2782)
>
> Can u please tell me how to check FcStrStaticName() in git master..Because i
> am new to this..And i am getting almost all the FcStrStaticName() related
> errors.
>
> Archana.
>
>
>
> On Thu, May 17, 2012 at 3:51 PM, Akira TAGOH <akira@xxxxxxxxx> wrote:
>>
>> On Thu, May 17, 2012 at 6:52 PM, Archana Mathari <archnavnr24@xxxxxxxxx>
>> wrote:
>> > since const char* filename = NULL; i have to set the filename pointer
>> > with
>> > str.I cannot copy rite..
>>
>> I don't care what your code is supposed to work, this is a quote from doc:
>>
>>    Note that these (like FcPatternGet) do not make a copy of any data
>> structure referenced by the return value.
>>
>> So it will be freed by FcPatternDestroy(). I guess you know what that
>> means :)
>>
>> > With this change now that error has gone ,but still two more FcFontMatch
>>
>> We don't have FcStrStaticName() in git anymore. so it might be
>> improved. please check if it works with git master.
>>
>> --
>> Akira TAGOH
>
>



--
Akira TAGOH

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux