From 86690663830aed11e5f92a111db3e960f476af71 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 26 Aug 2021 18:36:22 +0900 Subject: [PATCH] edje: remove debug message that is likely to break the memory. 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/edje/edje_part.c b/src/lib/edje/edje_part.c index b687dd0..5f54ac1 100644 --- a/src/lib/edje/edje_part.c +++ b/src/lib/edje/edje_part.c @@ -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" -- 2.7.4