[omniORB] assertion failed only in debug version
Joerg Krause
Jkrause@hdpp.de
Thu, 3 Sep 1998 13:26:47 +0200
Dear Sai Lai,
you are right. Thank you for support!
Joerg
S.Lo@orl.co.uk on 09/03/98 12:28:50 PM
To: Joerg Krause/NIP
cc: omniorb-list@cam-orl.co.uk
Subject: Re: [omniORB] assertion failed only in debug version
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}.
>From 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. There
> 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 calls
> 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 Research
Lab
| 24a Trumpington Street
Tel: +44 223 343000 | Cambridge CB2 1QA
Fax: +44 223 313542 | ENGLAND