[omniORB] Seg Fault in client code

Gary D. Duzan gdd0@gte.com
Fri, 06 Aug 1999 08:51:27 -0400


In Message <E11CYPV-0005Kn-00@shallot.uk.research.att.com> ,
   "James M. Moe" <moe_jim@burr-brown.com> wrote:

=>Hello,
=>
=>    In the client code:
=>
=>	prodLot::phaseKeyT_var pk;
=>	pk->testPhaseID = 14;	   // <-- Causes seg fault!!!
=>
=>	// ...
=>
=>	lot_obj->lotMIRmake(...., pk);
=>
=>The second line causes a segmentation fault. Why would it do that?
=>If I leave the assignment out, I get a marshalling exception.

   _vars are like pointers; you have to set them to point them at
something, in this case a "new prodLot::phaseKeyT()".

					Gary Duzan
					GTE Laboratories