CORBA_Object_release() bug ???

KC <[email protected]>
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
Hi,

This question probably had been asked couple times, but I didn't
find any explanation about it ... so let me to ask it again.

A simple example:


#include <stdlib.h>
#include <orbit/orbit.h>

int main (int argc, char *argv[])
{
    CORBA_ORB orb;
    CORBA_Environment ev;

    CORBA_exception_init(&ev);
    orb = CORBA_ORB_init(&argc, argv, "orbit-local-orb", &ev);

    CORBA_Object_release((CORBA_Object)orb, &ev);
    CORBA_exception_free(&ev);
    exit(0);
}


Will cause error message at CORBA_Object_release():

** ERROR **: file orbit-object.c: line 146 (do_unref): assertion
failed: (robj->refs < ORBIT_REFCOUNT_MAX && robj->refs > 0)
aborting...
Aborted


Anyone know what's wrong ?


Thanks
KC
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.