GNOME Bugzilla – Bug 55729
Passing a bad value to string_to_object breaks subsequent calls with a valid IOR (raises CORBA.MARSHAL)
Last modified: 2004-12-22 21:47:04 UTC
For example: client = CORBA_ORB_string_to_object(orb, "foo", &ev); client = CORBA_ORB_string_to_object(orb, valid_ior_string, &ev); The first call fails, as expected (raises CORBA.MARSHAL), but the second call, which receives a valid IOR, also raises CORBA.MARSHAL.
You need to clear any exception value between calls - it doesn't go away by itself.