ORBit errors when reconnecting.



Hi,

I'm using orbit-0.5.15 for connecting two processes written in
C++.

What I do is:
1. Start my server.
2. Start the client for the first time, do some stuff.
3. Exit the client.
4. Start the client again. (server crashes, client crashes).


The errors messages I get are:

On the server:

ORBit-CRITICAL **: file orbit_object.c: line 530 (ORBit_marshal_object): 
assertion `ORBIT_ROOT_OBJECT(obj)->refs > 0' failed.

On the client:

ORBit-Message: demarshal_profile(): IIOP major is 0
ORBit-Message: demarshal_profile(): IIOP major is 0
ORBit-Message: demarshal_profile(): IIOP major is 0
ORBit-Message: demarshal_profile(): IIOP major is 0
ORBit-Message: demarshal_profile(): IIOP major is 0
ORBit-Message: demarshal_profile(): IIOP major is 0
Segmentation fault


I'm pretty sure this is a problem with my server because if I
write a test client in Java I get the same behavior.

If you would like to see my code I could package it for you, but
it's distributed across several files and interleaved with rather
irrelevant stuff so I'm not going to include it now.

What I'm very curious about is the assertion.

Also, I call some of the __create functions directly. I
notice this is not done in the examples?

Could this be the problem?

Can anyone help me here, please?  :)

Thanks in advance,

-Craig




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