Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi

I am trying to get iOS to work on a device and not only in the simulator. I
am stuck in a cpp_uno call, which acts very strangely during documentLoad

The simulator (which is compiled as macosx just with iOS libraries loads
the document without problems, but on the device the same code makes a
throw.

I have debugged the 2 "versions", and found the exact point where they
differentiate, however that is a statement, I have problems understanding.

I am in DocumentLoad, LoadEnv

frame.cxx, 1270,  implts_sendFrameActionEvent(
css::frame::FrameAction_FRAME_ACTIVATED );
cpp2uno.cxx, 204 (Mac version) CPPU_CURRENT_NAMESPACE::raiseException(
&aUnoExc, pThis->getBridge()->getUno2Cpp() ); // has to destruct the any
except.cxx, 290 (Mac version) void raiseException( uno_Any * pUnoExc,
uno_Mapping * pUno2Cpp )

line 341 in raisException: __cxxabiv1::__cxa_throw( pCppExc, rtti,
deleteException );

calls:

exc_thrower.cxx, 205, Any SAL_CALL getCaughtException()

and then

uno2cpp.cxx, 305, unoInterfaceProxyDispatch()
as expected.


Doing the same on the device, everything is identical until
line 341 in raisException: __cxxabiv1::__cxa_throw( pCppExc, rtti,
deleteException );

which throws an exception that ends up in LoadEnv::~LoadEnv().

can somebody please help me under the line __cxxabiv1::__cxa_throw(
pCppExc, rtti, deleteException );
how it in one enviroment uses getCaughtException and in another not.

 I discussed earlier with Tor on IRC, if it was the ASM code in
bridges/source/cpp_uno, but that does not seem to be the problem.

Hope somebody can give me a hint.

rgds
jan I.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.