After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 93928 - ORBit_small_get_iinterface() crashes remote objects?
ORBit_small_get_iinterface() crashes remote objects?
Status: RESOLVED FIXED
Product: ORBit2
Classification: Deprecated
Component: general
2.4.X
Other Linux
: Normal normal
: ---
Assigned To: ORBit maintainers
ORBit maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-23 01:22 UTC by James Henstridge
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Program to crash remote object. (1.15 KB, text/plain)
2002-09-23 15:36 UTC, James Henstridge
Details

Description James Henstridge 2002-09-23 01:22:23 UTC
I was trying to get my Python ORBit bindings to generate stubs in cases
where the corresponding typelibs have not been initialised.  I did this by
trying to get the interface def with ORBit_small_get_iinterface().

Unfortunately, when doing this on a remote object, they seem to die.  (I
killed my panel a few times, for instance).  I assume this isn't supposed
to be possible ...
Comment 1 James Henstridge 2002-09-23 01:42:11 UTC
Just for the record, I would expect the fucntion to return NULL/raise
an exception if it couldn't fullfil the request.  Not crash the remote
object.
Comment 2 James Henstridge 2002-09-23 15:35:39 UTC
Here is a sample trace from the echo-server example program in ORBit2.
 The test program (which I will attach shortly) was run with the IOR
of the echo server as an argument.

  • #0 giop_send_buffer_append_string
    at giop-send-buffer.c line 497
  • #1 ORBit_marshal_value
    at corba-any.c line 204
  • #2 ORBit_marshal_value
    at corba-any.c line 172
  • #3 ORBit_marshal_value
    at corba-any.c line 225
  • #4 ORBit_marshal_value
    at corba-any.c line 172
  • #5 ORBit_marshal_value
    at corba-any.c line 225
  • #6 ORBit_marshal_value
    at corba-any.c line 172
  • #7 ORBit_marshal_arg
    at corba-any.c line 369
  • #8 ORBit_small_invoke_adaptor
    at orbit-small.c line 865
  • #9 ORBit_POAObject_handle_request
    at poa.c line 1099
  • #10 ORBit_POA_handle_request
    at poa.c line 1186
  • #11 ORBit_handle_request
    at orbit-adaptor.c line 90
  • #12 giop_connection_handle_input
    at giop-recv-buffer.c line 1202
  • #13 linc_connection_io_handler
    at linc-connection.c line 863
  • #14 linc_source_dispatch
    at linc-source.c line 56
  • #15 g_main_dispatch
    at gmain.c line 1642
  • #16 g_main_context_dispatch
    at gmain.c line 2186
  • #17 g_main_context_iterate
    at gmain.c line 2267
  • #18 g_main_loop_run
    at gmain.c line 2487
  • #19 linc_main_loop_run
    at linc.c line 150
  • #20 CORBA_ORB_run
    at corba-orb.c line 1077
  • #21 main
    at echo-server.c line 33
  • #22 __libc_start_main
    from /lib/i686/libc.so.6

Comment 3 James Henstridge 2002-09-23 15:36:50 UTC
Created attachment 11219 [details]
Program to crash remote object.
Comment 4 Michael Meeks 2002-09-30 11:34:32 UTC
fixed in CVS HEAD; thanks.
Comment 5 Mark McLoughlin 2002-10-14 04:13:41 UTC
Jamesh: I've merged this into gnome-2-0 btw