[omniORB] Assertion Faults
Sandy Scott
sscott at marathontechnologies.com
Wed Jan 21 14:49:44 GMT 2004
I just solved this same problem, although I am using Visual Studio .NET 2003
(the VC++ 7.1 compiler). The issue that I ran into was caused by the fact
that we were linking our code with the Multithreaded run time library,
whereas omniORB 4.0.3 was linked with the Multithreaded DLL runtime library.
That is, we were linking statically, whereas omniORB was linked dynamically
with the MSVCRTL. You cannot mix versions of the RTL, because heap
management is different. Be sure your Visual Studio 6.0 setting is correct:
in the Project Settings, on the C++ property page, choose "Category: Code
Generation" and under "Run Time Library" select "Multithreaded DLL." Once I
made sure all our our DLLs were doing the same thing, we quit seeing these
debug asserts.
Good luck,
Sandy Scott
-----Original Message-----
From: Croonen Davy [mailto:croonen.davy at pandora.be]
Sent: Wednesday, January 21, 2004 1:57 PM
To: omniorb-list at omniorb-support.com
Subject: [omniORB] Assertion Faults
Hi everybody,
I downloaded the pre-build omniORB-4.0.3 version for windows. I followed the
installation rules and everything went fine. I tried manually the examples
and they are fine too. Now I wanted to get some experience by using these
examples, so I set up my Visual Studio 6.0 according to the guidelines that
came with omniORB-4.0.3. After compiling everything I started the omniNames
server and the serverside of example 3 (eg3_impl). When I now start the
client side (eg3_clt), I get the output:
I said, "Hello".
The Echo object replied, "Hello".
On the same time I also get the following two assertion faults:
File: dbgheap.c
Line: 1011
Expression: _CrtIsValidHeapPointer(pUserData)
File: dbgheap.c
Line: 1076
Expression: _pFirstBlock == pHead
I'm using the debug libraries: omniORB403_rtd.lib omniDynamic403_rtd.lib
omnithread30_rtd.lib
(Other system info: Intel Pentium 4, 512mb RAM, 2.66GHz processor and WinXP)
Does anybody know how I can solve this problem? For me it is very important
because I want to use omniORB for practical part of my end scription.
Thanks in advance
Greetz Davy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040121/ea3b280a/attachment.htm
More information about the omniORB-list
mailing list