Page MenuHomePhabricator

Elm_code crash when deleting
Closed, ResolvedPublic

Description

Create a line of text wider than the widht of the window > hit enter > use backspace

I get:

(gdb) bt
#0  0xb7aa6083 in elm_code_line_merge_up (line=0x0) at lib/elementary/elm_code_line.c:135
#1  0xb7aaef96 in _elm_code_widget_backspaceline (widget=widget@entry=0x8002fd6c, nextline=nextline@entry=0 '\000') at lib/elementary/elm_code_widget.c:1585
#2  0xb7aaf34a in _elm_code_widget_backspace (widget=0x8002fd6c) at lib/elementary/elm_code_widget.c:1615
#3  0xb7ab282f in _elm_code_widget_key_down_cb (data=0x8002fd6c, evas=0x80002abc, obj=0x8002fd6c, event_info=0xf4c550) at lib/elementary/elm_code_widget.c:1810
#4  0xb76a7a7e in _eo_evas_object_cb (data=0xd31070, event=0xbfc2f95c) at lib/evas/canvas/evas_callbacks.c:198
#5  0xb66d110e in _event_callback_call (legacy_compare=1 '\001', event_info=0x80052ae1, desc=0xb7903674 , pd=0xd6e8d8, obj_id=0x8002fd6c) at lib/eo/eo_base_class.c:1698
#6  0xb66d110e in _efl_object_event_callback_legacy_call (obj_id=0x8002fd6c, pd=0xd6e8d8, desc=0xb7903674 , event_info=0x80052ae1) at lib/eo/eo_base_class.c:1771
#7  0xb66cb757 in efl_event_callback_legacy_call (obj=0x8002fd6c, desc=0xb7903674 , event_info=0x80052ae1) at lib/eo/eo_base_class.c:1774
#8  0xb66cb757 in efl_event_callback_legacy_call (obj=0x8002fd6c, desc=0xb7903674 , event_info=0x80052ae1) at lib/eo/eo_base_class.c:1774
#9  0xb76a837f in evas_object_event_callback_call (eo_obj=0x8002fd6c, obj=0xd6e908, type=EVAS_CALLBACK_KEY_DOWN, event_info=0x80052ae1, event_id=57496, efl_event_desc=0xb7903674 )
    at lib/evas/canvas/evas_callbacks.c:414
#10 0xb76a840c in evas_object_event_callback_call (eo_obj=0x8002fded, obj=0xd6ec68, type=EVAS_CALLBACK_KEY_DOWN, event_info=0x80052ae1, event_id=57496, efl_event_desc=0xb7903674 )
    at lib/evas/canvas/evas_callbacks.c:459
#11 0xb76ac117 in _key_event_dispatch (e=e@entry=0xaa4dd8, event_info=event_info@entry=0x80052ae1, device=, efl_event_desc=0xb7903674 , evas_event_type=EVAS_CALLBACK_KEY_DOWN, event_id=57496) at lib/evas/canvas/evas_events.c:3211
#12 0xb76ad796 in _canvas_event_feed_key_down_internal (e=, ev=0xa2ebb8) at lib/evas/canvas/evas_events.c:3302
#13 0xb76ae21d in _evas_canvas_event_key_cb (data=0xaa4dd8, event=0xbfc2fc5c) at lib/evas/canvas/evas_events.c:4134
#14 0xb66d0f87 in _event_callback_call (legacy_compare=1 '\001', event_info=0x80052ae1, desc=0xb7903674 , pd=0xaa4da8, obj_id=0x80002abc) at lib/eo/eo_base_class.c:1675
#15 0xb66d0f87 in _efl_object_event_callback_legacy_call (obj_id=0x80002abc, pd=0xaa4da8, desc=0xb7903674 , event_info=0x80052ae1) at lib/eo/eo_base_class.c:1771
#16 0xb66cb757 in efl_event_callback_legacy_call (obj=0x80002abc, desc=0xb7903674 , event_info=0x80052ae1) at lib/eo/eo_base_class.c:1774
#17 0xb7107e11 in _direct_key_updown_cb (ee=ee@entry=0xab9080, info=info@entry=0xeec7c0, down=down@entry=1 '\001') at lib/ecore_evas/ecore_evas.c:4983
#18 0xb710886e in _ecore_evas_input_direct_cb (window=0xab9080, type=15, info=0xeec7c0) at lib/ecore_evas/ecore_evas.c:5011
#19 0xb70f963c in _ecore_event_evas_key (e=0xeec7c0, press=ECORE_DOWN) at lib/ecore_input_evas/ecore_input_evas.c:429
#20 0xb7982d71 in _ecore_event_message_handler_efl_loop_message_handler_message_call (obj=0x800002eb, pd=0x90bc80, message=0x8005d2cd) at lib/ecore/ecore_event_message_handler.c:359
#21 0xb798a207 in efl_loop_message_handler_message_call (obj=0x800002eb, message=0x8005d2cd) at lib/ecore/efl_loop_message_handler.eo.c:14
#22 0xb7985dbd in _efl_loop_message_process (obj=0x80000066, pd=0x907098) at lib/ecore/efl_loop.c:633
#23 0xb7984859 in efl_loop_message_process (obj=0x80000066) at lib/ecore/efl_loop.c:663
#24 0xb797f7e7 in _ecore_main_loop_iterate_internal (obj=obj@entry=0x80000066, pd=pd@entry=0x907098, once_only=once_only@entry=0) at lib/ecore/ecore_main.c:2450
#25 0xb798002b in _ecore_main_loop_begin (obj=0x80000066, pd=0x907098) at lib/ecore/ecore_main.c:1183
#26 0xb7985ced in _efl_loop_begin (obj=0x80000066, pd=0x907098) at lib/ecore/efl_loop.c:83
#27 0xb7984b36 in efl_loop_begin (obj=0x80000066) at lib/ecore/efl_loop.eo.c:28
#28 0xb79800fd in ecore_main_loop_begin () at lib/ecore/ecore_main.c:1266
#29 0x0046ffb9 in elm_main ()
#30 0x00470049 in main ()
(gdb)

Related Objects

ApB created this task.Aug 7 2018, 1:52 PM
indefini triaged this task as Showstopper Issues priority.Aug 14 2018, 4:38 AM
indefini added a project: efl (efl-1.21).

It's a crash so I think this should be a showstopper.

@indefini could you give the patch from netstar a try and confirm if it fixed the issue for you?

zmike added a comment.Aug 16 2018, 7:00 AM

Confirmed.

@stefan_schmidt yes confirmed, no crash with the patch.