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


On Thu, May 28, 2015 at 11:16 AM, Michael Meeks
<michael.meeks at collabora.com> wrote:

        + Windows 64 status (David O)
           + all fine, poking some Base test with Stephan
           + an OLE test, failing on some machines not others;
             environment dependent. Thorsten's machine doesn't crash.

That is the exception not the rule.
I could not get a build to finish, and cloph also reproduce the ole bug.

Just rechecked: I'm not able to reproduce the failure: [1] on most
recent master. If I read the code correctly:

void VBATest::testMiscOLEStuff()
{
[...]
    if( xContext.is() )
    {
        uno::Reference<lang::XMultiComponentFactory> xSMgr =
xContext->getServiceManager();
        xOLEFactory = uno::Reference<lang::XMultiServiceFactory>(
            xSMgr->createInstanceWithContext(
                "com.sun.star.bridge.OleObjectFactory",
                xContext ), uno::UNO_QUERY );
    }
    bool bOk = false;
    if( xOLEFactory.is() )
    {
        uno::Reference< uno::XInterface > xExcel =
xOLEFactory->createInstance( "Excel.Application" );
        uno::Reference< uno::XInterface > xADODB =
xOLEFactory->createInstance( "ADODB.Connection" );
       bOk = xExcel.is() && xADODB.is();
    }
    if ( !bOk )
        return; // can't do anything, skip test

It's crashing during the load of UNO components, instead exiting with
"can't do anything, skip test" code path.

Can someone who can reproduce this failure debug it? Two options are
needed to activate 64bit windows build: [2].

Thanks!

[1] http://pastebin.com/2tRsXiQn
[2]
https://wiki.documentfoundation.org/Development/msvc-x86_64#Configure_options_known_to_work


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.