in. 80442 thank you.
------------------------------------ -Regards, Hermet- -----Original Message----- From: "SHILPA ONKAR SINGH"<shilpa.si...@samsung.com> To: "Daniel Juyung Seo"<seojuyu...@gmail.com>; "Enlightenment developer list"<enlightenment-devel@lists.sourceforge.net>; Cc: Sent: 2012-12-06 (목) 22:45:53 Subject: Re: [E-devel] [Elc_Naviframe]: Crash on evas_object_del fix. Hi, This crash happens if pop_transition_cb gets scheduled first but transition is not completed and before that itself evas_object_del is called, with below code it might be hard to reproduce, as per below code pop_transition_cb will not even get a chance to get scheduled. so to reproduce this crash you can call item_pop in some button click callback and then call evas_object_del in a timer callback and give time gap of 0.3 seconds. when you do this pop_transition_cb gets called first, then evas_object_del before animation is complete and hence the crash can be reproduced. I have got this crash with various apps which I am testing here on target (as they have their own cleanup code before calling del the above scenario was created almost everywhere) and logically if you check the item pointer from sd->popping list needs to be removed only after pop operation is complete. instead its being done in pop_transition_cb which begins the animation. Thanks & Regards Shilpa Singh ------- Original Message ------- Sender : Daniel Juyung Seo<seojuyung2>@gmail.com> Date : Dec 06, 2012 17:25 (GMT+09:00) Title : Re: [E-devel] [Elc_Naviframe]: Crash on evas_object_del fix. Dear Shilpa, it doesn't crash here. Do you have any reproducable code? I tried with the following code. --- a/elementary/src/bin/test_naviframe.c +++ b/elementary/src/bin/test_naviframe.c @@ -190,6 +190,10 @@ _page2(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) Evas_Object *bt, *content, *ic, *nf = data; Elm_Object_Item *it; +elm_naviframe_item_pop(data); +evas_object_del(data); +return; + bt = elm_button_add(nf); evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_smart_callback_add(bt, "clicked", _page3, nf); Daniel Juyung Seo (SeoZ) On Thu, Dec 6, 2012 at 3:51 PM, SHILPA ONKAR SINGH > wrote: > Hi All, > > Please find attached bug fix patch for Naviframe. > This patch fixes crash in naviframe which happens when evas_object_del > is called immediately after item_pop. > > Change description: > elc_naviframe: Crash on calling evas_object_del of naviframe > immediately after item_pop fixed. > > Signed-Off by: Shilpa Singh(shilpa.si...@samsung.com) > > Thanks & Regards > Shilpa Singh > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel