To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72991
                 Issue #|72991
                 Summary|InitAtkBridge doesn't handle correctly A11Y start fail
                        |ure
               Component|gsl
                 Version|OOo 2.1
                Platform|All
                     URL|
              OS/Version|Unix, X11
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|fcrozat





------- Additional comments from [EMAIL PROTECTED] Fri Dec 29 05:20:35 -0800 
2006 -------
In InitAtkBridge, sscanf is called directly with result of
atk_get_toolkit_version. Unfortunately, atk_get_toolkit_version can return NULL
if a11y can't be loaded correctly, causing crash with the following stacktrace.

Easy fix is to check for non-null return value and return false for
InitAtkBridge is NULL is returned by atk_get_toolkit_version.

> (gdb) bt
> > #0  0xf6c2dbc0 in rawmemchr () from /lib/libc.so.6
> > #1  0xf6c22ed6 in _IO_str_overflow () from /lib/libc.so.6
> > #2  0xf6c17c43 in vsscanf () from /lib/libc.so.6
> > #3  0xf6c12a0e in sscanf () from /lib/libc.so.6
> > #4  0xf63dabdf in InitAtkBridge ()
> >    from /usr/lib/ooo-2.0/program/libvclplug_gtk680li.so
> > #5  0xf63d908a in create_SalInstance ()
> >    from /usr/lib/ooo-2.0/program/libvclplug_gtk680li.so
> > #6  0xf7f4eaa2 in SalGetDesktopEnvironment ()
> >    from /usr/lib/ooo-2.0/program/libvcl680li.so
> > #7  0xf7f4eb72 in SalGetDesktopEnvironment ()
> >    from /usr/lib/ooo-2.0/program/libvcl680li.so
> > #8  0xf7d0a60d in InitVCL () from /usr/lib/ooo-2.0/program/libvcl680li.so
> > #9  0xf7d0aa21 in InitVCL () from /usr/lib/ooo-2.0/program/libvcl680li.so
> > #10 0xf7d0abc5 in SVMain () from /usr/lib/ooo-2.0/program/libvcl680li.so
> > #11 0x0805f6f4 in sal_main ()
> > #12 0x0805f766 in main ()
>

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