Bug 2241

Summary: Crash when specifiying direct collocation with no direct collocation generated
Product: TAO Reporter: Johnny Willemsen <jwillemsen>
Component: ORBAssignee: Marijke Hengstmengel <mhengstmengel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.5.6   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 2454, 2626    

Description Johnny Willemsen 2005-09-27 01:48:30 CDT
Because of a user question I have started the debugger on
tao/orbsvcs/examples/rtec/rmcast. I start the exe with the following options:

 -ORBCOllocation global -ORBCollocatioNStrategy direct

What I now see in the debugger is that it crashes because cpb_ has the value 0xDEAD.

This happens when direct collocation is specified but no direct collocation stub
is generated by the IDL compiler. In the past we gave an exception instead of
just crashing with an access violation
Comment 1 Ossama Othman 2006-01-12 12:24:32 CST
Mine.
Comment 2 Johnny Willemsen 2006-04-13 09:17:59 CDT
Ossama, any proposals how to address this, then we as Remedy could fix this easier.
Comment 3 Johnny Willemsen 2006-08-15 06:20:29 CDT
updated version
Comment 4 Johnny Willemsen 2007-02-21 06:39:26 CST
updated version
Comment 5 Ossama Othman 2007-12-19 03:52:16 CST
I won't have time to look at this issue for quite some time.  Reassigning to tao-support.
Comment 6 Johnny Willemsen 2011-09-29 09:36:10 CDT
to Marijke, we will resolve with the following behavior:
- through poa collocation without through poa collocation stubs will lead to a corba exception
- direct collocation without direct collocation stubs will lead to a corba exception (not a crash like now)
- a new best collocation option will be added which will lead to the best optimization possible, direct when there are direct collocation stubs, if not, than through poa if through poa stubs are there, if not, than remote call will be used
Comment 7 Johnny Willemsen 2011-10-11 12:27:50 CDT
fixed in our workbranch