Re: [orbitcpp-list] Re: passing a reference to another process
Status: Beta
Brought to you by:
philipd
From: Phil D. <ph...@us...> - 2000-11-22 11:10:41
|
Hi Martin, Glad you solved your problem - sorry about my reply arriving too late. I agree that it's unfortunate that this sort of mistake results in such a nebulus error - can you think of a way we could trap this in orbitcpp?. Cheers, Phil Martin Schulze writes: > Hi, > > I'm sorry to have bothered you that way! > After a few hours' debugging session I found I made a silly mistake: > > I didn't _duplicate() the reference in pA (I thought everything would > be fine duplicating it in pB, the prosess that holds the referred > object) so it got freed at the end of the cpp-skeleton of the retrieving > function and my reference got invalid. > However a SEGFAULT in my opinion is a little overreacted; but this is > not an orbitcpp- but an orbit-related topic. > > Cu, Martin. > |