Please report new issues athttps://github.com/DOCGroup
Direct collocation is used in implementation of CORBA Policies. If a reference was obtained to a Policy object, later the servant destroyed, and then a method is invoked on the reference we get a seg fault. This is a valid use scenario - for example, the actions can be happenning concurrently from two threads. Need to use through POA collocation scheme.
To be precise, the current stubs for the policy classes use direct invocation on the servants. The solution would be to change the stubs to use the thru-POA approach.
Nanbor has been medling with collocated objects, i think he should lead this effort.
Will work on this later.
The Event Channel(s) need policies working correctly to safely remove non existent clients.
Irfan: i don't see how the thru-POA strategy would help, these guys are locality constrained, i undestand that locality constrained objects are not activated with the POA, at least the comment in the Local_Servant_Base class states so. The "Right Thing"[tm] to do is to implement locality constrained objects as specified in the CCM spec. Nanbor: do you have any news on that? Could you have an entry in bugzilla for that task? If so we could add a dependency for this bug too.
I've planned on implementing local interface long ago but couldn't find a chance to do it. I'll work on it soon
I need this stuff for fixing the Event Service. Now that Nanbor fixed bug #465 this is much easier to do.
I'm accepting this bug. It is causing me problems in the event channel (bug 515)
Re-generate the code for the Messaging and TAO specific policies using the local interfaces. This is the first step to solve the problem, now we can concentrate on fixing the memory management and concurrency issues. See the following ChangeLog entries for details: Fri Apr 28 20:09:34 2000 Carlos O'Ryan <coryan@uci.edu> Fri Apr 28 21:32:34 2000 Carlos O'Ryan <coryan@uci.edu>
The last round of changes in the ORB core have fixed the problem. My tests pass without problems, at least on NT and Linux.
My bad I was thinking of another bug report (that is already marked 'FIXED'). We still have to deal with potential concurrency problems with this one!
Re-accepting the bug.
Clear the resolution.
The problem should be fixed now, please check the following ChangeLog entry for more details: Fri May 12 14:36:21 2000 Carlos O'Ryan <coryan@uci.edu>
The problem has been solved through reference counting of policy objects and a test added. Closing the bug.