[omniORB] Memory management on NT 4.0

Duncan Grisby dgrisby@uk.research.att.com
Fri, 05 Oct 2001 10:43:10 +0100


On Friday 5 October, Lars von Wedel wrote:

> we've started developing with omniORB 3.0.2 and VC6++ on NT 4.0.
> However, during runtime, I get exceptions whenever memory from any
> CORBA objects is deallocated, e.g. when a X_var variable goes out of
> scope of when I assign to a sequence variable a second time (and
> thereby the former content is going to be freed up).

The only time I have heard of this problem, it was due to incompatible
debug set-up between the application and the omniORB libraries. What
exception do you get?  Do the omniORB echo examples work?  What if you
modify eg1.cc to do some extra messing with String_vars, then compile
it with our makefiles?

I believe the issue isn't quite as simple as just selecting debug or
non-debug -- I think you have to choose the right debug settings from
a number of options.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --