[omniORB] Seg Fault in client code

James M. Moe moe_jim@burr-brown.com
Thu, 05 Aug 1999 18:02:07 -0700 (MST)


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.


    In the IDL file:
	void lotMIRmake (...., out phaseKeyT phasekey);

which becomes c++
	void lotMIRmake (...., phaseKeyT *& phasekey);


    Linux redhat 6.0; omniorb 2.7.1; egcs-2.91.66.



Jim Moe