Bug 458 - Running tao_idl with -Sp -Gd causes application code to crash
Summary: Running tao_idl with -Sp -Gd causes application code to crash
Status: RESOLVED
Alias: None
Product: TAO
Classification: Unclassified
Component: IDL Compiler (show other bugs)
Version: 1.0.14
Hardware: All All
: P2 normal
Assignee: Jeff Parsons
URL:
Depends on:
Blocks:
 
Reported: 2000-02-25 11:30 CST by Byron Harris
Modified: 2000-02-25 13:06 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Byron Harris 2000-02-25 11:30:31 CST
When having tao_idl suppress the generation of thru_poa stub code (-Sp) and
generating direct collocation code (-Gd) the application code will crash when
running with -ORBCollocationStrategy direct. The application will run okay if
-Sp is not passed to the tao_idl compiler.

This behavior can be seen for example by modifiying the Makefile in the
GettingStarted/collocation example found in
http://download.ociweb.com/examples_tar.gz to include TAO_IDLFLAGS = -Sp -Gd.
Comment 1 Byron Harris 2000-02-25 13:06:59 CST
Duh! I wasn't passing -ORBCollocationStrategy direct to the server ORB_init,
only to the client ORB_init.