Fix issue to delete timer again that which seems dead already 95/317895/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 13 Sep 2024 07:52:35 +0000 (16:52 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 20 Sep 2024 09:12:27 +0000 (18:12 +0900)
callstack 1

0  _eo_obj_pointer_invalid (line=2319, file=0xb60bc8d4 "../src/lib/eo/eo.c", func_name=0xb60be064 <__func__.21443> "efl_data_scope_safe_get", domain=0 '\000', data=0xfb12c0, obj_id=2147744833)
    at ../src/lib/eo/eo_ptr_indirection.c:36
1  _eo_obj_pointer_get (obj_id=obj_id@entry=2147744833, func_name=0xb60be064 <__func__.21443> "efl_data_scope_safe_get", file=0xb60bc8d4 "../src/lib/eo/eo.c", line=line@entry=2319)
    at ../src/lib/eo/eo_ptr_indirection.c:192
2  0xb60af3d6 in efl_data_scope_safe_get (obj_id=0x8003fc41, klass_id=0x40000032) at ../src/lib/eo/eo.c:2319
3  0xb6b0362e in ecore_timer_del () from /lib/libecore.so.1
4  0xaa91e16c in _e_gesture_pan_cancel () at e_mod_gesture_events.c:947
5  0xaa91eef2 in _e_gesture_process_pan_up (ev=0xaa813130) at e_mod_gesture_events.c:1091
6  _e_gesture_process_mouse_button_up (event=0xaa813130) at e_mod_gesture_events.c:1748
7  e_gesture_process_events (event=0xaa813130, type=133) at e_mod_gesture_events.c:2003

callstack 2

0  _eo_obj_pointer_invalid (line=2319, file=0xb61038d4 "../src/lib/eo/eo.c", func_name=0xb6105064 <__func__.21443> "efl_data_scope_safe_get", domain=0 '\000', data=0xbd92c0, obj_id=2147626520)
    at ../src/lib/eo/eo_ptr_indirection.c:36
1  _eo_obj_pointer_get (obj_id=obj_id@entry=2147626520, func_name=0xb6105064 <__func__.21443> "efl_data_scope_safe_get", file=0xb61038d4 "../src/lib/eo/eo.c", line=line@entry=2319)
    at ../src/lib/eo/eo_ptr_indirection.c:192
2  0xb60f63d6 in efl_data_scope_safe_get (obj_id=0x80022e18, klass_id=0x40000032) at ../src/lib/eo/eo.c:2319
3  0xb6b4a62e in ecore_timer_del () from /lib/libecore.so.1
4  0xaa954408 in _e_gesture_pinch_cancel () at e_mod_gesture_events.c:1132
5  0xaa954dc4 in _e_gesture_process_pinch_up (ev=0xaa8146e8) at e_mod_gesture_events.c:1251
6  _e_gesture_process_mouse_button_up (event=0xaa8146e8) at e_mod_gesture_events.c:1754
7  e_gesture_process_events (event=0xaa8146e8, type=133) at e_mod_gesture_events.c:2005

Change-Id: Id049e033ab5ad51a2accaf1607fcf8cbc41eee31
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/e_mod_gesture_events.c

index a7dfc174691287d383a2da574b531db7808750b5..e66e34522ed9c50c35a6cc90502359b31fa9b3a3 100644 (file)
@@ -488,6 +488,8 @@ _e_gesture_timer_edge_swipe_start(void *data)
         if (gesture->gesture_events.event_keep)
           _e_gesture_event_flush();
      }
+
+   edge_swipes->start_timer = NULL;
    return ECORE_CALLBACK_CANCEL;
 }
 
@@ -502,6 +504,7 @@ _e_gesture_timer_edge_swipe_done(void *data)
    if (gesture->gesture_events.event_keep)
      _e_gesture_event_flush();
 
+   edge_swipes->done_timer = NULL;
    return ECORE_CALLBACK_CANCEL;
 }
 
@@ -946,6 +949,8 @@ _e_gesture_timer_pan_start(void *data)
      {
         _e_gesture_pan_cancel();
      }
+
+   pans->start_timer = NULL;
    return ECORE_CALLBACK_CANCEL;
 }
 
@@ -1103,6 +1108,7 @@ _e_gesture_timer_pinch_start(void *data)
      {
         _e_gesture_pinch_cancel();
      }
+   pinch->start_timer = NULL;
    return ECORE_CALLBACK_CANCEL;
 }