[omniORB] String & WinXP, VC6.0

Slava Garelin garelin@ukr.net
Fri, 25 Jan 2002 11:44:20 +0200


On Thursday 24 January 2002 16:06, Duncan Grisby wrote:
> On Thursday 24 January, Slava Garelin wrote:
> > Interested bug discovered. When trying to call function on another
> > machine server with CORBA::String in parameter or with returning function
> > type CORBA::String we got segmentation (related to memory problems,
> > probably when freeing memory as I can see from debugger output, but I
> > don't sure).
>
> Let me guess -- you're getting a crtIsValidHeapPointer exception?  If
> so, see
>
>  
> http://www.uk.research.att.com/cgi-bin/omni-wiki/moin.cgi/FrequentlyAskedQu
>estions#line61
>
> If that isn't the error, what exactly happens?
>

When trying to call function on another machine server with CORBA::String in 
parameter or with returning function type CORBA::String we got segmentation 
(related to memory problems, probably when freeing memory as I can see from 
debugger output, but I don't sure).
---
HEAP[trade.exe]: Invalid Address specified to RtlValidateHeap( 003A0000, 
0085E190 )
---
We run server on WinXP, VC6.0 SP5 and client on KSI Linux.

idl: void Test(in string Str);
c: void Test(const char* Str){
};
    
I have troubles while leaving method imlementation.



-- 
Slava Garelin