Re: ORBit2 Segfault - was Re: [PATCH] bad ...



Michael Meeks wrote:
> Hi Greg,
> 
> On Fri, 2003-04-04 at 17:33, Greg Edwards wrote:
> 
>>Attached are the makefile, server, client, and idl source files.  The 
>>orbtrace file is from an "strace -o orbtrace orb_echo_server" run, the 
>>client segfaults at the same trace point.
> 
> 
> 	Ok - so major problem no. 1 is that you're pulling in libIIOP from
> ORBit1 as you link to ORBit2 ;-) that explains the really wierd
> debugging output. You should use pkg-config thus:
> 
> CFLAGS=`pkg-config --cflags ORBit-2.0`
> LIBS=`pkg-config --libs ORBit-2.0`
> 
> 	etc.
> 
> 
>>There's an I'm here scaffold in the server source blocked by "DEBUG" 
>>comments.
> 
> 
> 	As for adding your own object with this strange object id; that it
> appears doesn't work in ORBit2 - I forget the precise rational for this;
> Mark may know - either way, I'd like this feature to work so well tested
> patches are welcome to make it do so.
> 
> 	HTH,
> 
> 		Michael.
> 

Michael,

This helps.  The tarball that I downloaded did not have any mention of 
"pkg-config" in the docs or examples.  I'm not positive but I think I 
got the tarball from the GNOME project site.

Now I get

==================================

** ERROR **: file poa.c: line 739 (ORBit_POA_create_object): assertion 
failed: (objid->_length == sizeof (CORBA_unsigned_long) + 
ORBIT_OBJECT_ID_LEN)
aborting...
Aborted

==================================

from

PortableServer_POA_activate_object_with_id(poa, &objid,
                                            &poa_echo_servant, &ev);

I have not been able to look at the doc Frank sent or any details of 
what this next issue involves.  I will be turning my focus over to this 
later today since the CORBA management is next on my list for this 
project.  I'll get back later with my results (good or bad).  Thanks.

OBTW, you lost me with the "adding your own object..." note.

-- 
Greg Edwards
New Age Software, Inc. - http://www.nas-inet.com
======================================================
Galactic Outlaw        - http://goutlaw.nas-inet.com
   The ultimate cyberspace adventure!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]