[omniORB] Invalid heap pointer assertion when string destructor called

Chris Peat chris.peat at heavens-above.com
Wed Dec 3 17:51:42 GMT 2003


We are having a problem with a DLL using omniORB 4.0.3 under Windows XP.
We have a server object which makes a callback to our client and passes
a string as part of a variant-like union to the callback function. If
the string field is not used and the integer field is filled instead,
there is no problem, but when a string is passed, we always get a client
debug assertion in DBGHEAP.C (invalid heap pointer) when the callback
function exits (and presumably the union is destructed). Even if we do
nothing with the returned union the error still occurs.
 
The strange thing is - when we ran the same code in a compiled
executable it worked perfectly. Are there any special settings we need
to make for compiling into a DLL ? We are using Microsoft VC6 (VC .NET
caused too many other problems).
 
We need to use a DLL so we can export function to be used by a VB.NET
program.
 
Many thanks in advance,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20031203/9c51123c/attachment.htm


More information about the omniORB-list mailing list