To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59550





------- Additional comments from [EMAIL PROTECTED] Mon Dec 19 04:49:28 -0800 
2005 -------
fs->ab: The problem seems to be that the ImplIntrospectionAdapter (which is the
instance implementing the adapter returned by queryAdapter) holds a reference to
an Any which is owned by the ImplIntrospectionAccess instance.

When the latter is destroyed (which happens automatically when
xIntrospectionAccess is cleared in the above example),
ImplIntrospectionAdapter::mrInspectedObject refers to a already-deleted object
then, and thus crashes upon access.

I think that ImplIntrospectionAdapter should hold alive its
ImplIntrospectionAccess instance - as long as the former lives, the latter
should live, too. However, this would have the disadvantage of a cyclic
reference, since ImplIntrospectionAccess also holds a reference to the
ImplIntrospectionAdapter.
Probably the reference from the Access to the Adapter should be made weak ....

---------------------------------------------------------------------
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]

Reply via email to