[omniORB] assertion failed only in debug version
Sai-Lai Lo
S.Lo@orl.co.uk
03 Sep 1998 11:28:50 +0100
When you are in debug-mode (under win32), you have to link with the debug=
version of the DLL. That is, omniORB25_rtd.{lib,dll}, *NOT* =
omniORB25_rt.{lib,dll}.
=46rom your stack trace, looks like you are using the non-debug dll.
Regards,
Sai-Lai
>>>>> Joerg Krause writes:
> Hi all,
> I have a problem that only seems to occur in debug-mode not in release
> mode.
> I work with omniorb 2.5.0 and Visual C++5.0 on WinNT 4.0 SP3.
> I am testing an OrbixWeb 3.0 Java Client connected to a C++ server. The=
re
> is
> a callback function called "MyCallback::Progress" which is called from =
the
> server
> to the client
> I get a "Debug assertion failed" on the server side when the server cal=
ls
> the callback function.
> The following is the stack of my server:
> NTDLL! 77f76148()
> NTDLL! 77f830a0()
> KERNEL32! 77f12d96()
> _CrtIsValidHeapPointer(void * 0x004333b0) line 1612
> _free_dbg(void * 0x004333b0, int 1) line 1011 + 9 bytes
> operator delete(void * 0x004333b0) line 49 + 16 bytes
> omniRopeAndKey::~omniRopeAndKey() line 206 + 18 bytes
> _proxy_MyCallback::Progress(long 0) line 28 + 27 bytes
> grid_i::runLong(MyCallback * 0x00cddb08) line 54
> _sk_grid::dispatch(GIOP_S & {...}, char * 0x014eff18, unsigned char 1) =
line
> 836
> OMNIORB25_RT! 100085a1()
> OMNIORB25_RT! 10007c3b()
> OMNIORB25_RT! 10003c79()
-- =
Dr. Sai-Lai Lo | Research Scientist
|
E-mail: S.Lo@orl.co.uk | Olivetti & Oracle Researc=
h Lab
| 24a Trumpington Street
Tel: +44 223 343000 | Cambridge CB2 1QA
Fax: +44 223 313542 | ENGLAND