On Fri, Jun 4, 2010 at 5:08 PM, Carsten Haitzler <ras...@rasterman.com> wrote: > On Fri, 4 Jun 2010 11:43:49 +0800 Brian Wang <brian.wang.0...@gmail.com> said: > > ok. leak was actually something else. the below leak report seems totally odd > to me - doesn't make sense given the code.
That one seems to be plugged. Thanks. :-) There are more like this: ==29708== 2,976 (256 direct, 2,720 indirect) bytes in 1 blocks are definitely lost in loss record 2,066 of 2,134 ==29708== at 0x4025016: realloc (vg_replace_malloc.c:525) ==29708== by 0x4498966: ??? (in /usr/lib/libfontconfig.so.1.4.4) ==29708== by 0x44993C4: ??? (in /usr/lib/libfontconfig.so.1.4.4) ==29708== by 0x4499B1B: ??? (in /usr/lib/libfontconfig.so.1.4.4) ==29708== by 0x4499BFC: ??? (in /usr/lib/libfontconfig.so.1.4.4) ==29708== by 0x448C160: FcDefaultSubstitute (in /usr/lib/libfontconfig.so.1.4.4) ==29708== by 0x40A7E58: evas_font_load (evas_font_dir.c:457) ==29708== by 0x409149C: evas_object_text_font_set (evas_object_text.c:218) ==29708== by 0x47134D0: _edje_part_recalc_single_text (edje_calc.c:865) ==29708== by 0x47147AC: _edje_part_recalc_single (edje_calc.c:1319) ==29708== by 0x47161FE: _edje_part_recalc (edje_calc.c:1867) ==29708== by 0x4711C84: _edje_recalc_do (edje_calc.c:253) Is it libfontconfig or EFL problem? It's kind of cryptic to me... > >> Hello all, >> >> valgrind complains about it and it does seem to leak the memory quite >> a bit if the objects (elm_entry) are created/destroyed from time to >> time. I took a look at the code but could not come up with a proper >> fix. Any suggestions? Please find the log below and thanks in >> advance. :-) >> >> valgrind log: >> ==21088== 2,160 bytes in 108 blocks are definitely lost in loss record >> 204 of 216 >> ==21088== at 0x4024F20: malloc (vg_replace_malloc.c:236) >> ==21088== by 0x41A0F67: eina_array_new (eina_array.c:400) >> ==21088== by 0x41A043B: eina_module_list_get (eina_module.c:581) >> ==21088== by 0x49E2DD3: ecore_imf_module_init (ecore_imf_module.c:37) >> ==21088== by 0x49E1AE0: ecore_imf_init (ecore_imf.c:52) >> ==21088== by 0x47717E8: _edje_entry_real_part_init (edje_entry.c:1895) >> ==21088== by 0x473973C: _edje_object_file_set_internal (edje_load.c:534) >> ==21088== by 0x4741A04: _edje_smart_file_set (edje_smart.c:324) >> ==21088== by 0x4738638: edje_object_file_set (edje_load.c:40) >> ==21088== by 0x41D2CCA: _elm_theme_set (elm_theme.c:140) >> ==21088== by 0x41D2B88: _elm_theme_object_set (elm_theme.c:117) >> ==21088== by 0x41EA2F2: elm_entry_add (elm_entry.c:1295) >> >> >> -- >> brian >> ------------------ >> >> Cool-Karaoke - The smallest recording studio, in your palm, open-sourced >> http://cool-idea.com.tw/ >> >> iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > -- brian ------------------ Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel