GNOME Bugzilla – Bug 548559
spi_atk_tidy_windows prints a critical if atk_get_root() returns NULL
Last modified: 2008-08-29 02:03:36 UTC
Please describe the problem: spi_atk_tidy_windows calls atk_get_root(), then retrieves the number of children on the returned object. We will likely modify the UIA-to-ATK bridge to remove its get_root handler before _exit is called, since the Mono runtime is gone by then and we would otherwise get a crash. A critical gets displayed in this situation because atk-bridge calls atk_object_get_n_accessible_children on a null object. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 117021 [details] [review] Simple patch
Do you mean the GUI objects are destroyed before spi_atk_tidy_windows is called?
Yes, the objects are gone along with the infrastructure to return a root object.
Do you have commit permission?
No, I don't have commit permission.
Li, thanks for committing. However, please note, you confused the number of the bug in the changelog: http://svn.gnome.org/viewvc/at-spi?view=revision&revision=1046 Can you fix the changelog? Thanks.
Oops, thanks for reminding me. Have updated the changelog.