[omniORB] CORBA::string_dup / CORBA::String_var::string dup, (BUG ?)
Duncan Grisby
dgrisby@uk.research.att.com
Thu, 30 Aug 2001 11:51:42 +0100
On Wednesday 29 August, Martin Trappel wrote:
> I've encountered a strange thing while accidently using
> CORBA::String_var::string_dup instead of CORBA::string_dup.
> [ System: WinNT4.0 sp6 / MSVC++ 5 sp3 ]
[...]
> This got me an debug assertion failure on the client side, when the
> inout value that I passed to omniORB was deleted (before it should
> be assigned to the value set in the server)
This is due to mixing debug application code with the non-debug
omniORB libraries. If you use the debug omniORB libraries, the
assertion will go away.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --