Hi Cedric, On Mon, Nov 26, 2012 at 05:23:15PM +0900, Cedric BAIL wrote: > Yop, > > On Wed, Nov 21, 2012 at 2:42 AM, Leandro Dorileo <dori...@profusion.mobi> > wrote: > > What happens if a group has 2 name statements("double named")? > > edje will fail to free the groups cache while shuting down due > > the collection directory entry hash having two entries with > > different names but pointing to the same object - the second try > > to free the part mem pool will fail - since it was freed before - > > and issue an abort. > > > > Attached goes a patch to fix the issue. > > Just got back from vacation and reading your patch. Wouldn't > current_de->entry be set to something != NULL, before the parse_str(0) > call ? If that's the case, it would be a way better patch in my > opinion.
I'm not sure if I correctly understand your suggestion but current_de->entry *is* something != NULL. What the patch does is try to find if current_de is already in in the edje_file->collection. What currently happens is that the same current_de is been added twice case a group is "double named" - two name statements for the same group. This behavior doesn't look correct to me. Thanks for reviewing.... -- Leandro Dorileo ProFUSION embedded systems http://profusion.mobi ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel