URP: queryInterface request message with unknown OID received

Lionel Elie Mamane lionel at mamane.lu
Tue Jun 2 05:32:14 PDT 2015


On Mon, Jun 01, 2015 at 11:54:05AM +0200, Lionel Elie Mamane wrote:
> On Mon, Jun 01, 2015 at 09:55:19AM +0200, Stephan Bergmann wrote:
> > On 06/01/2015 09:48 AM, Lionel Elie Mamane wrote:

>>> Interesting... I got that error on my machine, I made some changes,
>>> and then didn't get it on three consecutive "make JunitTest_dbaccess_complex"
>>> so I thought it gone. The operative part is

>>>    Caught UNO exception 'URP: queryInterface request message with unknown OID received'

>>> Anybody has a clue what this is about?

>> The UNO remote protocol represents each UNO object with a unique OID string.
>> The error means that one end of a remote connection sent a queryInterface
>> request with a OID representing an object that the other end claims it does
>> not know about.  Which sounds like a scary bug somewhere.  Any way to
>> reproduce that?

> It seems to be linked to the *number* *of* *tests* in
> dbaccess/qa/complex/dbaccess/RowSet.java

> I never got it when I commented out any one of the "@Test" there.

Well, I ran it many other times (on another machine), and it is
definitely happens with some (even several) "@Test" commented out, and
even in the absence of the "uncaught exception from other thread"
phenomenon. The magic mix seems to be having at least both
testRowSet() and testRowSetEvents() active.

The exact moment where it happens varies. With the attached patch, I
get it about one out of two times. It seems to happen more often if
you uncomment more "@Test".

So, if you would like to work on that (which would make me happier),
then apply the attached patch, then:
 make JunitTest_dbaccess_complex
several times in a row, and you should get the problem. If not, try
uncommenting more "@Test" instances.

It is *not* related per se to the multithreaded test, it happens even
if that test is disabled.

Thanks in advance!

-- 
Lionel Mamane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FOO
Type: text/x-diff
Size: 3234 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150602/feaf7aca/attachment.diff>


More information about the LibreOffice mailing list