[Libreoffice-bugs] [Bug 47368] Many crashes when accessibility enabled on MacOS X

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 12 18:21:29 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=47368

Michael Meeks <michael.meeks at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.meeks at novell.com

--- Comment #31 from Michael Meeks <michael.meeks at novell.com> 2012-07-12 09:21:29 PDT ---
Of course, it'd be fantastic to have a stack-trace with full symbols for this
SEGV:

0   libsvtlo.dylib                    0x00af5de2
ValueSetAcc::getAccessibleAtPoint(com::sun::star::awt::Point const&) + 146
1   libvcllo.dylib                    0x01936c31
hitTestRunner(com::sun::star::awt::Point,
com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleContext>)
+ 257
...

uno::Reference< accessibility::XAccessibleContext > SAL_CALL
ValueSetAcc::getAccessibleContext()
    throw (uno::RuntimeException)
{
    ThrowIfDisposed();
    return this;
}

We don't throw - since we get a SEGV; so ThrowIfDisposed must be accessing
invalid memory at: address 0x00000000fe000007 - so not related to a NULL ptr I
suppose.

svtools/source/control/valueimp.hxx shows this inheriting from:

class ValueSetAcc :
    public ::comphelper::OBaseMutex,
    public ValueSetAccComponentBase

typedef ::cppu::PartialWeakComponentImplHelper6<...

cppuhelper/inc/cppuhelper/compbase_ex.hxx

inc/cppuhelper/interfacecontainer.h:typedef OBroadcastHelperVar<
OMultiTypeInterfaceContainerHelper ,
OMultiTypeInterfaceContainerHelper::keyType > OBroadcastHelper;

It -seems- that the 'r' prefix is misleading, and that this is
a true member of the class; not a reference/pointer that can go
bad; so 'this' must be bad at the ValueSetAcc point.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list