[Ace-users] [tao-users] Facing memory corruption error in TAO1.5

Johnny Willemsen jwillemsen at remedy.nl
Mon Feb 18 01:54:56 CST 2008


Hi,

>    CosNaming::Binding_var = (CosNaming::Binding*)0;

CosNaming::Binding::_nil() should also work

> (The ugly C-style cast may not be necessary.)
> </thinking-out-loud>
> 
> At this point, you can:
> 
> - Try the above suggestion.
> - Try this code against the latest TAO 1.5a patch release.
> - Try this code against the latest DOC Group beta.
> - Use a memory checker (such as valgrind or Purify) to see if
>    you can pinpoint the problem.

I agre with Steve that the problem is probably in your code, check with
valgrind.

Johnny



More information about the Ace-users mailing list