https://bz.apache.org/ooo/show_bug.cgi?id=127315

--- Comment #23 from [email protected] ---
It is difficult what went wrong, when this isn't a debug build, but
disassembling from frame #18 in the "Save As" stack trace:

   0xb6d0686f <+315>:   call   0xb6c18ee0
<_ZN9framework18InteractionRequest13CreateRequestERKN3com3sun4star3uno3AnyENS4_8SequenceINS4_9ReferenceINS3_4task24XInteractionContinuationEEEEE@plt>
   0xb6d06874 <+320>:   mov    -0x30(%ebp),%ecx
   0xb6d06877 <+323>:   mov    %esi,(%esp)
   0xb6d0687a <+326>:   push   %edi
   0xb6d0687b <+327>:   call   *%ecx
=> 0xb6d0687d <+329>:   mov    %esi,(%esp)
   0xb6d06880 <+332>:   call   0xb6cbc456

The manged C++ symbol demangles to
framework::InteractionRequest::CreateRequest(com::sun::star::uno::Any const&,
com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::task::XInteractionContinuation>
>)

which is from main/sfx2/source/doc/docfile.cxx:

sal_Bool SfxMedium::CallApproveHandler( const uno::Reference<
task::XInteractionHandler >& xHandler, uno::Any aRequest, sal_Bool bAllowAbort
)
{
    sal_Bool bResult = sal_False;

    if ( xHandler.is() )
    {
        try
        {
            uno::Sequence< uno::Reference< task::XInteractionContinuation > >
aContinuations( bAllowAbort ? 2 : 1 );

            ::rtl::Reference< ::comphelper::OInteractionApprove > pApprove( new
::comphelper::OInteractionApprove );
            aContinuations[ 0 ] = pApprove.get();

            if ( bAllowAbort )
            {
                ::rtl::Reference< ::comphelper::OInteractionAbort > pAbort( new
::comphelper::OInteractionAbort );
                aContinuations[ 1 ] = pAbort.get();
            }

            xHandler->handle(::framework::InteractionRequest::CreateRequest
(aRequest,aContinuations));
            bResult = pApprove->wasSelected();
        }
        catch( const Exception& )
        {
        }
    }

    return bResult;
}


I still can't really tell where it goes wrong though. Can we get a debug build
from the buildbot?

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to