[omniORB] Sequence problem when upgrading omniORB

Duncan Grisby duncan at grisby.org
Fri May 12 13:34:34 BST 2006


On Friday 12 May, "Anders Werholt" wrote:

> I have some problems trying to upgrade an old omniOrb 2.7.1 project (VC++6) to omniORB 4.0.7 (VC++7).
> Some functions are working, others are not.
> Func1 below is working (returns a sequence of short).
> Func2 below is not working as it did before (returns a sequence of a complex struct). The client gets the result, but at the same time the server crashes with the following error:
> HEAP[xxx.exe]: Invalid Address specified to RtlValidateHeap( 003C0000, 0052BA30 )
> Unhandled exception at 0x7c901230 in xxx.exe: User breakpoint.

This is almost certainly due to mixing code with different debug
options. Make sure everything, including the omniORB libraries, is
compiled with the same options. In particular, make sure you are using
the debug omniORB libraries if your application code is compiled with
debugging.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list