To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80589
User af changed the following:
What |Old value |New value
================================================================================
Assigned to|af |obr
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Fri Aug 17 09:20:53 +0000
2007 -------
It took some time but I know now what happens.
When the views are switched toolbars are exchanged. Some are disposed while
others are created and displayed. For some reason, maybe a due to a timing
problem, one of the just disposed toolbars (or one that is being disposed (not
yet finished)) is asked by GTK accessibility for its state set.
This leads to a call to wrapper_ref_state_set() in
vcl/unx/gtk/a11y/atkwrapper.cxx. An AtkStateSet object is created to be filled
with the appropriate values. Calling getAccessibleStateSet() at the
accessibility object of the toolbar, however, leads to a DisposedException being
thrown. This exception is caught, but not the empty state set object is returned
but a NULL pointer (empty reference).
Although this seems to be a valid return value for
_AtkObjectClass.ref_state_set, the returned NULL pointer is not handled
gracefully by imp_accessibility_accessible_get_state() in
at-spi-1.*/libspi/accessible.c. Instead of handling it like a missing object it
is passed to spi_state_set_new() and then to spi_base_construct() where a
g_assert(G_IS_OBJECT(gobject)) leads to a sudden termination.
Possible fixes are:
1. wrapper_ref_state_set() should not return a NULL pointer but an empty
AtkStateSet instead.
2. imp_accessibility_accessible_get_state() should handle the NULL pointer
(without crashing) instead of just passing it on.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]