elementary: atspi - fix dbus abort 41/153841/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 28 Sep 2017 11:46:44 +0000 (20:46 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Sat, 30 Sep 2017 08:45:27 +0000 (17:45 +0900)
commit873c0ab0db109dea98633ce1ed5c69fea355912e
treed97aa3fc039606986da2d69d225a7ea40b659bf4
parentdcc8199642e1fc9a190ae261c39199d1e18c20bd
elementary: atspi - fix dbus abort

This patch set fix following abort occured on dbus side.

(gdb) bt
0   __GI_raise (sig=sig@entry=6)
1   __GI_abort ()
2   _dbus_abort ()
3   _dbus_warn_check_failed
4   dbus_message_iter_append_basic
5   append_basic
6   eldbus_message_iter_basic_append
7   _bridge_signal_send
8   _text_text_removed_send
9   _bridge_accessible_event_dispatch
10  _elm_interface_atspi_accessible_event_emit
11  elm_interface_atspi_accessible_event_emit
12  _entry_changed_user_signal_cb

(gdb) f 12
(gdb) p *$1
$2 = {change = {insert = {content = 0x0, pos = 0, plain_length = 1},
                del = {content = 0x0, start = 0, end = 1}},
      insert = 0 '\000', merge = 0 '\000'}

The following patch set would fix the root cause of this problem.
https://phab.enlightenment.org/D5240

Change-Id: Ifea8c2fead631f06b7d54ce9a6517f795b3cbf06
src/lib/elm_atspi_bridge.c