To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93831
                 Issue #|93831
                 Summary|[a11y] g_aWindowList collects every window, doesn't kn
                        |ow if they get deleted
               Component|gsl
                 Version|DEV300m31
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Fri Sep 12 14:58:53 +0000 
2008 -------
I see that in vcl/unx/gtk/a11y/atkutil.cxx that

there is a

static std::set< Window * > g_aWindowList;

which is used as..

handle_get_focus

        if( g_aWindowList.find(pWindow) == g_aWindowList.end() )
            g_aWindowList.insert(pWindow);

and theres no other code that touchs g_aWindowList

so
a) it grows without bound
b) it contains pointers to deleted windows, and the built-in allocator is
*especially* good at reusing pointers for similarly sized objects so its quite
possible for it to hand out a pointer previously allocated and deleted for a
newly allocated window, so this code will think it has seen that window before

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