[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mico-devel
Subject:    Re: [mico-devel] idl --feed-ir SEGV
From:       520065607613-0001 () t-online ! de (Frank Pilhofer)
Date:       2002-05-25 12:22:03
[Download RAW message or body]

Gerhard Doeppert wrote:
>
> I successfully compiled mico2.3.7 with g++3.1 on linux but I get segfaults  
> when idl tries to feed something to the interface repository.
>
> I guess, in this case the problem might come from IRCopier returning a
> _ptr to an object controlled by a local _var smart pointer.
>

  Hi,

 you're right, this is buggy. However, you should not use a _var type
as parameter or return type; the problem should rather be fixed by
changing the "return res;" to "return res._retn();". I made the change
to the CVS.

	Frank


-- 
Frank Pilhofer  ...........................................  fp@fpx.de
A supermarket is where you spend half an hour hunting for instant
coffee! - Alfred E. Neuman
_______________________________________________
mico-devel mailing list
mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic