edje: remove debug message that is likely to break the memory. 22/263122/2
authorHermet Park <chuneon.park@samsung.com>
Thu, 26 Aug 2021 09:36:22 +0000 (18:36 +0900)
committerHermet Park <chuneon.park@samsung.com>
Thu, 26 Aug 2021 09:40:51 +0000 (18:40 +0900)
There are potential scenarios that invalid edje objects are passed during the deletion sequence,
In this case, efl encounter the memory corruption, debug message doesn't helpful.

Although this might be the user problems but this bothers us to review the call stack from time to time.

So disable it.

Change-Id: Iccd18073e48135eb6d4fdbd84672c762341e41ee

src/lib/edje/edje_part.c

index b687dd0..5f54ac1 100644 (file)
@@ -199,10 +199,11 @@ _efl_canvas_layout_part_efl_object_debug_name_override(Eo *obj, Efl_Canvas_Layou
 {
    efl_debug_name_override(efl_super(obj, MY_CLASS), sb);
 
-   const char* type = pd->rp ? _part_type_to_string(pd->rp->type) : NULL;
-   const char* group = pd->ed ? pd->ed->group : NULL;
+//TIZEN_ONLY(201210826): Too buggy accessing the memory, if the invalid object is passed here during the deletion.
+//   const char* type = pd->rp ? _part_type_to_string(pd->rp->type) : NULL;
+//   const char* group = pd->ed ? pd->ed->group : NULL;
 
-   eina_strbuf_append_printf(sb, "%s : %s : %s", pd->part, type, group);
+//   eina_strbuf_append_printf(sb, "%s : %s : %s", pd->part, type, group);
 }
 
 #include "efl_canvas_layout_part_type_provider.eo.c"