[omniORB] .NET 2003 & omniOrb403 invalid heap crash

John, Gareth (Poole) gareth.john at siemens.com
Mon Apr 26 15:56:51 BST 2004


Hi,

After updgrading our project to VS .NET 2003 using omniorb403 windows
binaries, when running in debug I get an 

"Invalid heap pointer exception when string destructor called." in
_CrtIsValidHeapPointer

I have checked the archives and this seems to be normally due to incorrect
libraries being used. I have checked this and believe them to be correct, as
they are the same as under Visual Studio V6.0.

The readme.win32 file states to use the following libs, however this folder
does not exist, so I have assumed this should be the x86_win32 folder

   3. Under Linker -> General (Additional Library Directories), Enter the
      directory where you installed the omniORB library files (this is 
      <Top-Level>\lib\win-32)  

Debug settings

C++ code generation = Multi-threaded Debug DLL (/MDd)
Linker dependancies
------------------------------
ws2_32.lib
mswsock.lib
omniORB403_rtd.lib
omniDynamic403_rtd.lib
omnithread30_rtd.lib

If I run in release I also get the same problem unless I turn off "generate
debug info" link option.

Release settings

C++ code generation = Multi-threaded DLL (/MD)
Linker dependancies
------------------------------
ws2_32.lib
mswsock.lib
omniORB403_rt.lib
omniDynamic403_rt.lib
omnithread30_rt.lib


Any one else had this problem and resolved it?
Are the released omnOrb binaries complied with .NET200?

Thanks


Siemens Traffic Controls is a division of Siemens plc. Registered No.
727817, England. 
Registered office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ. 

This communication contains information which is confidential and 
may also be privileged. It is for the exclusive use of the addressee. 
If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication 
or the information in it is prohibited.  If you have received this 
communication in error, please contact us immediately and also 
delete the communication from your computer. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040426/8263a680/attachment.htm


More information about the omniORB-list mailing list