openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steele, Raymond" <>
Subject RE: EXTERNAL: Re: Extension Manager Add Crashes
Date Tue, 08 Apr 2014 17:30:38 GMT
Is there any one that is familiar with this code and able to lend a hand. I do not understand
what is going on here.  I suspect that the crash is cpp_vtable_call is due to a RuntimeException
thrown in Reference.hxx because pQueried is equal to (nil). Here is the  stack trace leading
up to the RunTimeException during the registration of my .oxt file.  

=>[1] com::sun::star::uno::BaseReference::iquery_throw(pInterface = 0x9e348ac, rType =
CLASS), line 81 in "Reference.hxx"
     [2] dp_registry::backend::component::_unamed_AjaA7n_a0TEvD::BackendImpl::ComponentPackageImpl::processPackage_(this
= 0xea4f9a88,   _ARG2 = CLASS, doRegisterPackge = true, startup = false, abortChannel = CLASS,
xCmdEnv = CLASS), line 1554 in "dp_component.cxx"
     [3] dp_registry::backend::Package::processPackage_Impl(this = 0xea4f9a88, doRegisterPackage
= true, startup = false, xAbortChannel = CLASS, xCmdEnv = CLASS), line 675 in "dp_backend.cxx"
     [4] dp_registy::backend::Package::registerPackage(this = 0xe9b94c58, startup = '\0',
xAbortChannel = CLASS, xCmdEnv = CALSS), line 725 in "dp_backend.cxx"

I really need to get over this hurdle.

-----Original Message-----
From: Steele, Raymond 
Sent: Friday, April 04, 2014 5:52 PM
Subject: RE: EXTERNAL: Re: Extension Manager Add Crashes

I am still plugging away at this issue. This is what I have determined.  addExtension is called
in dp_extensionmanager.cxx. However,  a RuntimeException is thrown somewhere and caught on
line 819.  Then on line 830,  the code then tries to recover the "original status"  then call
activateExtension, which then leads up to the crash, which happens after an attempt to register
and process the package in dp_component.cxx. I am not sure if the initial RuntimeException
is causing the problem, but something is not correct.  Here is high level stack trace (typed

[1] cpp_vtable_call(nFunctionIndex = 3, nVtableOffset = 0, pCallStack = 0xe90acea8, nRegReturn
= -1649035904490436800LL) in cpp2uno.cxx [2] privateSnippetExecutorGeneral(0x9daf5d4, 0xe91d7294,
0xe90ad250, 0xe90ad1ec, 0x0, 0x0), at 0xf83516a2 [3] dp_registry::backend::component::_unamed_AjaA7n_aOTEvD::BackendImpl::ComponentPackageImpl::processPackage_(this-
0xe91d7240, _ARG2 = CLASS, doRegisterPackage = true, startup = false,abortChannel = CLASS,
xCmdEnv = CLASS), line 1554 in "dp_component.cxx"

-----Original Message-----
From: Carl Marcum []
Sent: Friday, April 04, 2014 3:53 PM
Subject: Re: EXTERNAL: Re: Extension Manager Add Crashes

On 04/04/2014 12:38 PM, Kay Schenk wrote:
> On Fri, Apr 4, 2014 at 3:49 AM, Carl Marcum <> wrote:
>> On 04/03/2014 07:29 PM, Steele, Raymond wrote:
>>> I am not convinced the issue is with the extension.  I created 
>>> another simple extension using the Netbeans plugin and I receive the 
>>> same crash.  I don't know where to go from here.
>>>   ...
>> Raymond,
>> What version of AOO and netbeans are you using.
>> For AOO4+ and NB7+ you should try this one:
>> openoffice-extensions-4.0.5.alpha.nbm
>> I can't say how much testing it's had, therefore the alpha designation.
>> Best regards,
>> Carl
> Carl --
> Is is OK to update the wiki page --
> oad_and_Installation
> with this new version regardless of "alpha" status? This would give 
> more visibility and testing.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

I will leave that to the group.
At the time I had only been able to test it using Netbeans 7.2, AOO
4.0.0 on Fedora 17 x86-64.
I know of no testing on Windows or Mac.

When I posted the update, I believe Juergen Schmidt was on vacation at the time but was going
to look at it for some other changes being made so I waited until I heard back.

The thread is here:

The change that broke backward compatibility was for Addons.xcu here:

3-Layer removal here:

I would have some time to make changes if we find issues.

Also NB 8 is out now so I don't know if that breaks anything also.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message