To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=114012
                 Issue #|114012
                 Summary|sd: a11y crash because ctor chain calls back into obje
                        |ct before ctor is complete
               Component|Drawing
                 Version|OOO330m4
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|graphicsneedsconfirm
             Reported by|cmc





------- Additional comments from [email protected] Fri Aug 20 09:50:52 +0000 
2010 -------
AccessibleSlideSorterView::AccessibleSlideSorterView
has...
mpImpl(new Implementation(*this,rSlideSorter,pContentWindow)),
that AccessibleSlideSorterView::Implementation ctor calls UpdateChildren which
calls that AccessibleSlideSorterView::Implementation::GetAccessibleChild which
calls mrAccessibleSlideSorter.FireAccessibleEvent where mrAccessibleSlideSorter
is the original "this" object of the AccessibleSlideSorterView which is still
being constructed

The callback from that FireAccessibleEvent is the 
AccessibleSlideSorterView::getAccessibleChildCount of the parent object where
mpImpl is still unset because we're still in a stacktrace from
AccessibleSlideSorterView::AccessibleSlideSorterView mpImpl(... which hasn't
completed yet.

Attached is a patch to split the initialization so that we call the bits that
callback into the parent object *after* mpImpl has been set

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