[omniORB] Newbie Question: Heap Problems with VC++ 7

Markus Sabin msabin at digithurst.de
Wed Aug 24 15:28:21 BST 2005


Hi again,

I finally managed to re-compile all libs, exes and DLLs with VC7 
according to the readme.win32. Unfortunately, my problems keep 
persisting. In order to make sure that I have no bugs in my 
client/servant implementation, I tried to get the echo example running, 
but it shows the same behavior as my program: heap corruptions when 
de-allocating CORBA::String_var. Exceptions when resolving references to 
the NameService and so on.
What I have already tried is to link against static/debug/release 
libraries - no effect. Strange enough that the NameService - which was 
rebuilt with VC7 - seems to work properly.

Any hint will be greatly appreciated!

Best regards

Markus

Markus Sabin wrote:

> Dear all,
>
> I encounter strange behavior with omniorb 4.06. Especially, the 
> de-allocation of CORBA::String_var objects causes the debugger to 
> complain about invalid heap pointers. I have found a hint in the 
> mailing-list archive that the binaries have been built with VC++ 6 and 
> are incompatible with VC++ 7.  I could obtain a version 
> omniORB-4.0.6-win32-vc7.zip from sourceforge, but the readmes still 
> tell me that it contains VC6 binaries and the heap problems persist.
>
> So my questions are:
> Do I have the correct version? Are there binaries for VC7?
> Is there a VC6 or VC7 workspace that I could use to rebuild the 
> libraries?
>
> Thanks in advance for your help
>
> Markus
>





More information about the omniORB-list mailing list