Page MenuHomePhabricator

segfault in edje_player
Closed, ResolvedPublic

Description

if you try open edje_player with this group it will die:

collections {
   group { name: "cc";
      parts {
         part {
            type: TEXT;
            name: "part";
            entry_mode: PASSWORD;
            description {
               text.text: "DIEEEEEEEEEEEEEEEEEEEEEE";
            }
         }
      }
   }
}
bu5hm4n triaged this task as Showstopper Issues priority.Jun 10 2018, 11:24 AM
bu5hm4n moved this task from Backlog to rendering on the efl board.Jun 10 2018, 12:36 PM
bu5hm4n lowered the priority of this task from Showstopper Issues to High.
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:54 AM
bu5hm4n edited projects, added efl: layout engine; removed Restricted Project.Jun 11 2018, 7:52 AM
zmike assigned this task to herdsman.Jun 20 2018, 8:46 AM
zmike edited projects, added efl: widgets; removed efl: layout engine.
zmike added a subscriber: zmike.
==14959== Invalid read of size 8
==14959==    at 0x53BF565: evas_object_textblock_replace_char_set (evas_object_textblock.c:7406)
==14959==    by 0x5B71E13: _edje_entry_real_part_init (edje_entry.c:2946)
==14959==    by 0x5B7C70C: _edje_object_file_set_internal (edje_load.c:1333)
==14959==    by 0x5B9CE44: _efl_canvas_layout_efl_file_mmap_set (edje_smart.c:414)
==14959==    by 0x9AF38B6: efl_file_mmap_set (efl_file.eo.c:5)
==14959==    by 0x9AF364D: _efl_file_file_set (efl_file.c:36)
==14959==    by 0x9AF3ADF: efl_file_set (efl_file.eo.c:10)
==14959==    by 0x5B9CF20: edje_object_file_set (edje_smart.c:440)
==14959==    by 0x10C81A: _edje_load_or_show_error (edje_player.c:872)
==14959==    by 0x10CB05: _create_edje (edje_player.c:945)
==14959==    by 0x10D4A9: main (edje_player.c:1182)
==14959==  Address 0x1ab846d8 is 8 bytes before a block of size 24 alloc'd
==14959==    at 0x4C31A1E: calloc (vg_replace_malloc.c:711)
==14959==    by 0x54D5EDF: evas_bidi_paragraph_props_new (evas_bidi_utils.c:606)
==14959==    by 0x53A937B: evas_object_text_init (evas_object_text.c:1633)
==14959==    by 0x53A5C16: _evas_text_efl_object_constructor (evas_object_text.c:389)
==14959==    by 0x9D24A30: efl_constructor (efl_object.eo.c:60)
==14959==    by 0x9D16604: _efl_add_internal_start (eo.c:917)
==14959==    by 0x53A5BA9: evas_object_text_add (evas_object_text.c:382)
==14959==    by 0x5B7B4E4: _edje_object_file_set_internal (edje_load.c:1047)
==14959==    by 0x5B9CE44: _efl_canvas_layout_efl_file_mmap_set (edje_smart.c:414)
==14959==    by 0x9AF38B6: efl_file_mmap_set (efl_file.eo.c:5)
==14959==    by 0x9AF364D: _efl_file_file_set (efl_file.c:36)
==14959==    by 0x9AF3ADF: efl_file_set (efl_file.eo.c:10)
==14959==    by 0x5B9CF20: edje_object_file_set (edje_smart.c:440)
==14959==    by 0x10C81A: _edje_load_or_show_error (edje_player.c:872)
==14959==    by 0x10CB05: _create_edje (edje_player.c:945)
==14959==    by 0x10D4A9: main (edje_player.c:1182)
==14959== 
==14959== Invalid write of size 8
==14959==    at 0x53BF59E: evas_object_textblock_replace_char_set (evas_object_textblock.c:7407)
==14959==    by 0x5B71E13: _edje_entry_real_part_init (edje_entry.c:2946)
==14959==    by 0x5B7C70C: _edje_object_file_set_internal (edje_load.c:1333)
==14959==    by 0x5B9CE44: _efl_canvas_layout_efl_file_mmap_set (edje_smart.c:414)
==14959==    by 0x9AF38B6: efl_file_mmap_set (efl_file.eo.c:5)
==14959==    by 0x9AF364D: _efl_file_file_set (efl_file.c:36)
==14959==    by 0x9AF3ADF: efl_file_set (efl_file.eo.c:10)
==14959==    by 0x5B9CF20: edje_object_file_set (edje_smart.c:440)
==14959==    by 0x10C81A: _edje_load_or_show_error (edje_player.c:872)
==14959==    by 0x10CB05: _create_edje (edje_player.c:945)
==14959==    by 0x10D4A9: main (edje_player.c:1182)
==14959==  Address 0x1ab846d8 is 8 bytes before a block of size 24 alloc'd
==14959==    at 0x4C31A1E: calloc (vg_replace_malloc.c:711)
==14959==    by 0x54D5EDF: evas_bidi_paragraph_props_new (evas_bidi_utils.c:606)
==14959==    by 0x53A937B: evas_object_text_init (evas_object_text.c:1633)
==14959==    by 0x53A5C16: _evas_text_efl_object_constructor (evas_object_text.c:389)
==14959==    by 0x9D24A30: efl_constructor (efl_object.eo.c:60)
==14959==    by 0x9D16604: _efl_add_internal_start (eo.c:917)
==14959==    by 0x53A5BA9: evas_object_text_add (evas_object_text.c:382)
==14959==    by 0x5B7B4E4: _edje_object_file_set_internal (edje_load.c:1047)
==14959==    by 0x5B9CE44: _efl_canvas_layout_efl_file_mmap_set (edje_smart.c:414)
==14959==    by 0x9AF38B6: efl_file_mmap_set (efl_file.eo.c:5)
==14959==    by 0x9AF364D: _efl_file_file_set (efl_file.c:36)
==14959==    by 0x9AF3ADF: efl_file_set (efl_file.eo.c:10)
==14959==    by 0x5B9CF20: edje_object_file_set (edje_smart.c:440)
==14959==    by 0x10C81A: _edje_load_or_show_error (edje_player.c:872)
==14959==    by 0x10CB05: _create_edje (edje_player.c:945)
==14959==    by 0x10D4A9: main (edje_player.c:1182)
==14959== 
==14959== Invalid read of size 1
==14959==    at 0x53C60DE: _evas_textblock_invalidate_all (evas_object_textblock.c:10449)
==14959==    by 0x53BF5C1: evas_object_textblock_replace_char_set (evas_object_textblock.c:7409)
==14959==    by 0x5B71E13: _edje_entry_real_part_init (edje_entry.c:2946)
==14959==    by 0x5B7C70C: _edje_object_file_set_internal (edje_load.c:1333)
==14959==    by 0x5B9CE44: _efl_canvas_layout_efl_file_mmap_set (edje_smart.c:414)
==14959==    by 0x9AF38B6: efl_file_mmap_set (efl_file.eo.c:5)
==14959==    by 0x9AF364D: _efl_file_file_set (efl_file.c:36)
==14959==    by 0x9AF3ADF: efl_file_set (efl_file.eo.c:10)
==14959==    by 0x5B9CF20: edje_object_file_set (edje_smart.c:440)
==14959==    by 0x10C81A: _edje_load_or_show_error (edje_player.c:872)
==14959==    by 0x10CB05: _create_edje (edje_player.c:945)
==14959==    by 0x10D4A9: main (edje_player.c:1182)
==14959==  Address 0x1a941304 is 22 bytes after a block of size 94 alloc'd
==14959==    at 0x4C2FB6B: malloc (vg_replace_malloc.c:299)
==14959==    by 0x5856D4F: _eina_share_common_head_alloc (eina_share_common.c:406)
==14959==    by 0x5856D8F: _eina_share_common_add_head (eina_share_common.c:421)
==14959==    by 0x585767F: eina_share_common_add_length (eina_share_common.c:758)
==14959==    by 0x585FB84: eina_stringshare_add_length (eina_stringshare.c:605)
==14959==    by 0x585FBBC: eina_stringshare_add (eina_stringshare.c:613)
==14959==    by 0x582A477: eina_file_sanitize (eina_file_common.c:572)
==14959==    by 0x5881AE2: eina_file_open (eina_file.c:801)
==14959==    by 0x5B792A5: edje_file_collection_list (edje_load.c:267)
==14959==    by 0x10D034: main (edje_player.c:1112)
==14959== 
==14959== Invalid write of size 1
==14959==    at 0x53C60E5: _evas_textblock_invalidate_all (evas_object_textblock.c:10449)
==14959==    by 0x53BF5C1: evas_object_textblock_replace_char_set (evas_object_textblock.c:7409)
==14959==    by 0x5B71E13: _edje_entry_real_part_init (edje_entry.c:2946)
==14959==    by 0x5B7C70C: _edje_object_file_set_internal (edje_load.c:1333)
==14959==    by 0x5B9CE44: _efl_canvas_layout_efl_file_mmap_set (edje_smart.c:414)
==14959==    by 0x9AF38B6: efl_file_mmap_set (efl_file.eo.c:5)
==14959==    by 0x9AF364D: _efl_file_file_set (efl_file.c:36)
==14959==    by 0x9AF3ADF: efl_file_set (efl_file.eo.c:10)
==14959==    by 0x5B9CF20: edje_object_file_set (edje_smart.c:440)
==14959==    by 0x10C81A: _edje_load_or_show_error (edje_player.c:872)
==14959==    by 0x10CB05: _create_edje (edje_player.c:945)
==14959==    by 0x10D4A9: main (edje_player.c:1182)
==14959==  Address 0x1a941304 is 22 bytes after a block of size 94 alloc'd
==14959==    at 0x4C2FB6B: malloc (vg_replace_malloc.c:299)
==14959==    by 0x5856D4F: _eina_share_common_head_alloc (eina_share_common.c:406)
==14959==    by 0x5856D8F: _eina_share_common_add_head (eina_share_common.c:421)
==14959==    by 0x585767F: eina_share_common_add_length (eina_share_common.c:758)
==14959==    by 0x585FB84: eina_stringshare_add_length (eina_stringshare.c:605)
==14959==    by 0x585FBBC: eina_stringshare_add (eina_stringshare.c:613)
==14959==    by 0x582A477: eina_file_sanitize (eina_file_common.c:572)
==14959==    by 0x5881AE2: eina_file_open (eina_file.c:801)
==14959==    by 0x5B792A5: edje_file_collection_list (edje_load.c:267)
==14959==    by 0x10D034: main (edje_player.c:1112)
==14959== 
==14959== 
==14959== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==14959==  General Protection Fault
==14959==    at 0x53C60DE: _evas_textblock_invalidate_all (evas_object_textblock.c:10449)
==14959==    by 0x53BF5C1: evas_object_textblock_replace_char_set (evas_object_textblock.c:7409)
==14959==    by 0x5B71E13: _edje_entry_real_part_init (edje_entry.c:2946)
==14959==    by 0x5B7C70C: _edje_object_file_set_internal (edje_load.c:1333)
==14959==    by 0x5B9CE44: _efl_canvas_layout_efl_file_mmap_set (edje_smart.c:414)
==14959==    by 0x9AF38B6: efl_file_mmap_set (efl_file.eo.c:5)
==14959==    by 0x9AF364D: _efl_file_file_set (efl_file.c:36)
==14959==    by 0x9AF3ADF: efl_file_set (efl_file.eo.c:10)
==14959==    by 0x5B9CF20: edje_object_file_set (edje_smart.c:440)
==14959==    by 0x10C81A: _edje_load_or_show_error (edje_player.c:872)
==14959==    by 0x10CB05: _create_edje (edje_player.c:945)
==14959==    by 0x10D4A9: main (edje_player.c:1182)