[omniORB] omni_condition::~omni_condition

Alex Tingle alex.tingle at bronermetals.com
Thu Mar 18 18:32:36 GMT 2004


Any chance of seeing a stack dump?

-Alex

--
Dammit Jim, I'm a programmer... not a mind reader!
On 18 Mar 2004, at 18:19, glblock at rockwellcollins.com wrote:

>
>
>
>
> All
>
> OS = vxWorks
> BRD = powerpc
>
> the destructor for the omni_condition ( sema_ ) is being trashed and
> exceptions are being thrown on the destructor.
>
> This usually occurs when doing the following.
>
>    CosNaming::Name name;
>    // register with Naming Service
>    name.length(1);
>    name[0].id = CORBA::string_dup("MyName");
>    name[0].kind = CORBA::string_dup("");
>    try
>    {
>       rootContext->bind_new_context(name);
>    }
>    catch (...)
>    {
>             ok here....never gets here..
>     }
>
>
>    // register   with Naming Service
>    name.length(2);
>    name[1].id = CORBA::string_dup("MyManager");
>    name[1].kind = CORBA::string_dup("");
>    try
>    {
>       rootContext->rebind(name, theManager);
>    }
>    catch (...)
>    {
>       This succeeds to this point but the item that throws the error
> will
> be the omni_condition destructor ??
>   }
>
>  exception occurs here after the above.... the sema_  value seems to be
> trashed and the semDelete is where the exception bubbles up from.
>
>
> Thanks
>
> Gary
>
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list