The "input fd gets closed" problem - a backtrace



Hi,

here's a backtrace:

=====
(gdb) frame
#0  0x40201bbb in close () from /lib/libc.so.6
(gdb) x/i $eip
0x40201bbb <close+11>:	int    $0x80
(gdb) print $ebx
$22 = 0
(gdb) bt
#0  0x40201bbb in close () from /lib/libc.so.6
#1  0x400df899 in linc_connection_real_state_changed (cnx=0x80d75c8, status=LINC_DISCONNECTED) at linc-connection.c:138
#2  0x403cc028 in giop_connection_real_state_changed (cnx=0x80d75c8, status=LINC_DISCONNECTED) at giop-connection.c:221
#3  0x400dfba0 in linc_connection_state_changed (cnx=0x80d75c8, status=LINC_DISCONNECTED) at linc-connection.c:243
#4  0x403cbcf9 in giop_connection_close (cnx=0x80d75c8) at giop-connection.c:125
#5  0x403cbd2a in giop_connection_dispose (obj=0x80d75c8) at giop-connection.c:133
#6  0x402eb79a in g_object_last_unref (object=0x80d75c8) at gobject.c:424
#7  0x402ee620 in g_object_unref (_object=0x80d75c8) at gobject.c:1323
#8  0x403cc31a in giop_connection_initiate (proto_name=0x403f3b43 "IPv4", remote_host_info=0x80d7488 "einstein", 
    remote_serv_info=0xbfffef48 "35806", options=GIOP_CONNECTION_SSL, giop_version=GIOP_1_2) at giop-connection.c:307
#9  0x403d7360 in ORBit_object_get_connection (obj=0x80d7548) at corba-object.c:242
#10 0x403d751c in CORBA_Object_non_existent (obj=0x80d7548, ev=0xbfffefe8) at corba-object.c:321
#11 0x403b1907 in bonobo_activation_service_get_internal (base_service=0xbffff070, existing_only=0, ev=0xbffff030)
    at bonobo-activation-base-service.c:381
#12 0x403b1ac4 in bonobo_activation_service_get (base_service=0xbffff070) at bonobo-activation-base-service.c:431
#13 0x403b3cdd in bonobo_activation_activation_context_get () at bonobo-activation-init.c:196
#14 0x403b0acc in bonobo_activation_activate (
    requirements=0x80d71d8 "repo_ids.has ('IDL:Bonobo/Moniker:1.0') AND bonobo:moniker.has ('config:')", 
    selection_order=0x0, flags=0, ret_aid=0x0, ev=0xbffff1bc) at bonobo-activation-activate.c:193
#15 0x40370d02 in bonobo_moniker_client_new_from_name (name=0x80d7058 "config:", opt_ev=0xbffff1bc)
    at bonobo-moniker-util.c:443
#16 0x403712d6 in bonobo_get_object (name=0x80d7058 "config:", interface_name=0x406185b7 "IDL:Bonobo/PropertyBag:1.0", 
    opt_ev=0xbffff1bc) at bonobo-moniker-util.c:622
#17 0x402d70de in guile_bonobo_get_object (moniker=0x4028f628, class=0x8088d50) at guile-corba.c:824
#18 0x40047015 in scm_ceval (x=0x2974, env=0x4028f5e0) at eval.c:2948
#19 0x4004994b in scm_i_eval_x (exp=0x4028f638, env=0x4028f5e0) at eval.c:4010
#20 0x40049a4f in scm_primitive_eval_x (exp=0x4028f638) at eval.c:4028
#21 0x4006d2fc in load (data=0x4028ab60) at load.c:97
#22 0x400386df in scm_internal_dynamic_wind (before=0x4006d260 <swap_port>, inner=0x4006d2ac <load>, 
====

Some more info:

====
(gdb) up
#1  0x400df899 in linc_connection_real_state_changed (cnx=0x80d75c8, status=LINC_DISCONNECTED) at linc-connection.c:138
138	        close(cnx->fd);
(gdb) print cnx
$23 = (LINCConnection *) 0x80d75c8
(gdb) print *cnx
$24 = {parent = {g_type_instance = {g_class = 0x80d7598}, ref_count = 1, qdata = 0x0}, proto = 0x0, 
  remote_host_info = 0x0, remote_serv_info = 0x0, gioc = 0x0, tag = 0x0, fd = 0, status = LINC_CONNECTING, options = 0, 
  was_initiated = 0 '\000', is_auth = 0 '\000'}
====

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]