[omniORB] Problem with eg2_clt

Gary D. Duzan gdd0@gte.com
Mon, 03 May 1999 09:03:07 -0400


In Message <372D0C3E.E3F382B5@lincoln.midcoast.com> ,
   "Mark D. Landry" <mdlandry@lincoln.midcoast.com> wrote:

=>After starting eg2_impl and running eg2_clt, I simply get "Caught a
=>system exception." Why would eg2 exhibit this behavior when eg1 and eg3
=>work correctly?

   Well, the first thing I would suspect would be the
string_to_object() or object_to_string() code, since eg2 is the only of
the three which requires them. Can you post the IOR string and the output
of "catior -x IOR:<a bunch of hex digits>"?

					Gary Duzan
					GTE Laboratories



=>Using dbx to trace the execution:
=>...
=>trace in bufferedStream.h:  711       pd_in_mkr = (void*) (p1 + nbytes);
=>
=>trace in bufferedStream.h:  712       if( pd_in_mkr > pd_out_mkr )
=>overrun_error();
=>trace in bufferedStream.h:  713       return (void*) p1;
=>trace in bufferedStream.h:  714     }
=>trace in bufferedStream.h:  548     }
=>trace in bufferedStream.h:  999     if (s.unRead() < (l*elmSize)) {
=>trace in bufferedStream.h:  642       if (pd_in_mkr < pd_out_mkr)
=>trace in bufferedStream.h:  643         return
=>((omni::ptr_arith_t)pd_out_mkr -
=>trace in bufferedStream.h:  647     }
=>trace in bufferedStream.h: 1000       _CORBA_marshal_error();
=>trace in exception.cc:  375     throw
=>CORBA::MARSHAL(0,CORBA::COMPLETED_NO);
=>trace in CORBA.h:  857     STD_EXCEPTION (MARSHAL);
=>trace in CORBA.h:  799       SystemException(ULong minor,
=>CompletionStatus status) {
=>trace in CORBA.h:  799       SystemException(ULong minor,
=>CompletionStatus status) {
=>trace in CORBA.h:  770       Exception() {}
=>trace in CORBA.h:  800         pd_minor = minor;
=>trace in CORBA.h:  801         pd_status = status;
=>trace in CORBA.h:  802         return;
=>trace in CORBA.h:  803       }
=>Caught a system exception.
=>program exited
=>(dbx)
=>
=>Environment: AIX 4.3; xlC 3.6.4.0; omniORB_2.7.1
=>
=>
=>