Re: Another interoperability problem of ORBit2
- From: Michael Meeks <michael ximian com>
- To: Anders Selander <selander pdc kth se>
- Cc: orbit <orbit-list gnome org>
- Subject: Re: Another interoperability problem of ORBit2
- Date: 14 Mar 2003 15:00:27 +0000
Hi Anders,
On Thu, 2003-03-13 at 17:09, Anders Selander wrote:
> The C client now triggers the following error when used both with the
> Perl and C servers:
...
> ** ERROR **: file orbit-object.c: line 146 (do_unref): assertion failed:
> (robj->refs < ORBIT_REFCOUNT_MAX && robj->refs > 0)
Ok - the root cause of this is that you're unreffing the ORB without
doing a CORBA_ORB_destroy - I've added a more helpful warning to this
effect in CVS HEAD and gnome-2-2 branches. Adding that makes it work
nicely.
> If one tries to connect the Perl client to the C server, it just hangs.
> Eh, no, actually it does not hang - it only takes four minutes for it
> to return! And without error:
That's very odd. I can't repeat this here with my ORBit2/linc [ both
from the gnome-2.2 branch ]. More information appreciated.
> As for enabling ORBit2 debugging - it should be enough with
> ./configure --enable-debug=yes ; make ; make install, and
> export ORBIT2_DEBUG=traces, right? I do not seem to get any debug
> print-outs...
The ORBIT2_DEBUG will only work for the app linking to ORBit2 - so it
needs to be exported before running that; also it prints to stderr, so
if you're doing: ./server 2>ior - or something, the debug will be
appended to the 'ior' file ;-) [ my problem initially ]
If you're doing a tutorial, you prolly want to check out the python
ORBit2 bindings which (I believe) are rather good :-)
HTH,
Michael.
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]