[Bug 1870508] Re: ubiquity crashed with SIGSEGV in g_type_check_instance_is_a()

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Apr 16 14:52:00 UTC 2020


This crash looks to be due to an infinite loop between a child and
parent in atk.

This is what I think is happening:

- The loops begins with a call to atk_component_get_extents() on a gtk
notebook page.

- atk_component_get_extents() then calls iface->get_extents() [1]

- which translates to gtk_notebook_page_accessible_get_extents() [2]

- the gtk notebook page then calls atk_component_get_extents() on it's
child [3]

- where child's iface->get_extents() translates to
atk_socket_component_real_get_extents() [4]

- in which the child calls atk_component_get_extents() again on its
parent [5]

- - - -

[1] https://salsa.debian.org/gnome-
team/atk/-/blob/9118d44778e4d3a05810012cdcaa69eb4db2c389/atk/atkcomponent.c#L299

[2]
https://source.puri.sm/dorota.czaplejewicz/gtk/blob/2be4474a19d16a1a4862d730f5114169b1ccf5ed/gtk/a11y/gtknotebookpageaccessible.c#L340

[3]
https://source.puri.sm/dorota.czaplejewicz/gtk/blob/2be4474a19d16a1a4862d730f5114169b1ccf5ed/gtk/a11y/gtknotebookpageaccessible.c#L323

[4] https://salsa.debian.org/gnome-
team/atk/-/blob/e7276a0c47a0bd3cfb5654583ca3358ddf51a609/atk/atksocket.c#L104

[5] https://salsa.debian.org/gnome-
team/atk/-/blob/e7276a0c47a0bd3cfb5654583ca3358ddf51a609/atk/atksocket.c#L198

-- 
You received this bug notification because you are a member of
Accessibility, which is subscribed to atk1.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1870508

Title:
  ubiquity crashed with SIGSEGV in g_type_check_instance_is_a()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/atk1.0/+bug/1870508/+subscriptions



More information about the Ubuntu-accessibility-bugs mailing list