Deadlock?



I'd like a bit of help figuring out why Nautilus hangs a lot. It's pretty
easy to reproduce this with Nautilus HEAD. Just click on the zoom control to
zoom in or out. I think it's some kind of reentrancy or deadlock problem,
but I'm not really linc/ORBit savvy enough to figure it out.

Help?

#0  0x40bf2227 in __poll (fds=0x83b92f8, nfds=118, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:63
#1  0x40a32e51 in g_main_context_poll (context=0x80cf2e0, timeout=-1,
priority=2147483647, fds=0x83b92f8, n_fds=118)
    at gmain.c:2548
#2  0x40a3243c in g_main_context_iterate (context=0x80cf2e0, block=1,
dispatch=1, self=0x80bb760) at gmain.c:2225
#3  0x40a325cd in g_main_context_iteration (context=0x80cf2e0, may_block=1)
at gmain.c:2289
#4  0x408c436a in linc_main_iteration (block_for_reply=1) at linc.c:174
#5  0x40896b61 in giop_recv_buffer_get (ent=0xbfffd180, block_for_reply=1)
at giop-recv-buffer.c:875
#6  0x4089a1f3 in orbit_small_demarshal (obj=0x8271748, cnx=0x7fffffff,
mqe=0xbfffd180, ev=0xbfffd210, ret=0x0, m_data=0x4087f4d8,
    args=0x0) at orbit-small.c:414
#7  0x4089a74f in ORBit_small_invoke_stub (obj=0x8271748, m_data=0x4087f4d8,
ret=0x0, args=0x0, ctx=0x0, ev=0xbfffd210)
    at orbit-small.c:613
#8  0x40877c99 in Bonobo_Unknown_ref (_obj=0x8271748, ev=0xbfffd210) at
Bonobo_Unknown-stubs.c:23
#9  0x408419b9 in bonobo_object_dup_ref (object=0x8271748, opt_ev=0x0) at
bonobo-object.c:451
#10 0x4005733f in get_metafile (directory=0x8284348) at
nautilus-directory-metafile.c:164
#11 0x400573d1 in nautilus_directory_is_metadata_read (directory=0x8284348)
at nautilus-directory-metafile.c:177
#12 0x4005280a in request_is_satisfied (directory=0x8284348, file=0x8284308,
request=0xbfffd320) at nautilus-directory-async.c:1650
#13 0x40051ee8 in nautilus_directory_check_if_ready_internal
(directory=0x8284348, file=0x8284308, file_attributes=0x84444d8)
    at nautilus-directory-async.c:1285
#14 0x40096c77 in vfs_file_check_if_ready (file=0x1,
file_attributes=0x84444d8) at nautilus-vfs-file.c:91
#15 0x4006afa1 in nautilus_file_check_if_ready (file=0x8284308,
file_attributes=0x84444d8) at nautilus-file.c:4782
#16 0x4007ea05 in nautilus_icon_factory_is_icon_ready_for_file
(file=0x8284308) at nautilus-icon-factory.c:1264
#17 0x4004d82b in nautilus_bookmark_update_icon (bookmark=0x826e3e8) at
nautilus-bookmark.c:358
#18 0x4004da45 in bookmark_file_changed_callback (file=0x8284308,
bookmark=0x826e3e8) at nautilus-bookmark.c:406
#19 0x409d0235 in g_cclosure_marshal_VOID__VOID (closure=0x8284328,
return_value=0x0, n_param_values=1, param_values=0x1,
    invocation_hint=0xbfffd610, marshal_data=0x0) at gmarshal.c:32
#20 0x409bbf0b in g_closure_invoke (closure=0x8284328, return_value=0x0,
n_param_values=1, param_values=0xbfffd720,
    invocation_hint=0xbfffd610) at gclosure.c:437
#21 0x409cf48f in signal_emit_unlocked_R (node=0x81d0e10, detail=0,
instance=0x8284308, emission_return=0x0,
    instance_and_params=0xbfffd720) at gsignal.c:2120
#22 0x409cdd4b in g_signal_emit_valist (instance=0x8284308,
signal_id=1084682560, detail=0, var_args=0xbfffd9ac) at gsignal.c:1883
#23 0x409cdfcd in g_signal_emit (instance=0x8284308, signal_id=185,
detail=0) at gsignal.c:1927
#24 0x4006ad61 in nautilus_file_emit_changed (file=0x8284308) at
nautilus-file.c:4712
#25 0x40059ade in nautilus_directory_emit_change_signals
(directory=0x8284348, changed_files=0x84444b4) at nautilus-directory.c:710
#26 0x40056ee0 in corba_metafile_changed (servant=0x8284308,
file_names=0x84005f8, ev=0xbfffdc00)
    at nautilus-directory-metafile-monitor.c:101
#27 0x400499d4 in 
_ORBIT_skel_small_Nautilus_MetafileMonitor_metafile_changed
(_o_servant=0x8265c44, _o_retval=0x0, _o_args=0x1,
    _o_ctx=0xbfffdb30, _o_ev=0xbfffdc00, _impl_metafile_changed=0x40056e14
<corba_metafile_changed>)
    at nautilus-metafile-server-skels.c:17
#28 0x408a6648 in ORBit_POAObject_invoke (pobj=0x7fffffff, ret=0x0,
args=0xbfffdaf0, ctx=0xbfffdb30, data=0x1, ev=0xbfffdc00)
    at poa.c:1020
#29 0x408a85df in ORBit_OAObject_invoke (adaptor_obj=0x1, ret=0x0,
args=0xbfffdaf0, ctx=0xbfffdb30, data=0xbfffdba0, ev=0xbfffdc00)
    at orbit-adaptor.c:81
#30 0x4089ac1f in ORBit_small_invoke_adaptor (adaptor_obj=0x8265c60,
recv_buffer=0x8400568, m_data=0x400bae60, data=0xbfffdba0,
    ev=0xbfffdc00) at orbit-small.c:781
#31 0x408a6a5e in ORBit_POAObject_handle_request (pobj=0x8265c60,
opname=0x84495e8 "metafile_changed", ret=0x0, args=0x0, ctx=0x0,
    recv_buffer=0x8400568, ev=0xbfffdc00) at poa.c:1192
#32 0x408a6c76 in ORBit_POA_handle_request (poa=0x80cf570,
recv_buffer=0x8400568, objkey=0x8265c60) at poa.c:1272
#33 0x408a8569 in ORBit_handle_request (orb=0x80caf30,
recv_buffer=0x8400568) at orbit-adaptor.c:44
#34 0x40894783 in giop_connection_handle_input (lcnx=0x8400400) at
giop-connection.c:167
#35 0x408c45b6 in linc_connection_connected (gioc=0x8400448,
condition=G_IO_IN, data=0x8400400) at linc-connection.c:95
#36 0x40a4ee55 in g_io_unix_dispatch (source=0x84004a8, callback=0x408c4528
<linc_connection_connected>, user_data=0x8400400)
    at giounix.c:159
#37 0x40a31412 in g_main_dispatch (context=0x80cf2e0) at gmain.c:1616
#38 0x40a320f2 in g_main_context_dispatch (context=0x80cf2e0) at
gmain.c:2149
#39 0x40a3245e in g_main_context_iterate (context=0x80cf2e0, block=1,
dispatch=1, self=0x80bb760) at gmain.c:2230
#40 0x40a325cd in g_main_context_iteration (context=0x80cf2e0, may_block=1)
at gmain.c:2289
#41 0x408c436a in linc_main_iteration (block_for_reply=1) at linc.c:174
#42 0x40896b61 in giop_recv_buffer_get (ent=0xbfffded0, block_for_reply=1)
at giop-recv-buffer.c:875
#43 0x4089a1f3 in orbit_small_demarshal (obj=0x82834e8, cnx=0x7fffffff,
mqe=0xbfffded0, ev=0xbfffdf60, ret=0x0, m_data=0x400bae60,
    args=0xbfffdf38) at orbit-small.c:414
#44 0x4089a74f in ORBit_small_invoke_stub (obj=0x82834e8, m_data=0x400bae60,
ret=0x0, args=0xbfffdf38, ctx=0x0, ev=0xbfffdf60)
    at orbit-small.c:613
#45 0x40049108 in Nautilus_MetafileMonitor_metafile_changed (_obj=0x82834e8,
file_names=0xbfffdfb0, ev=0xbfffdf60)
    at nautilus-metafile-server-stubs.c:29
#46 0x40085c8e in call_metafile_changed (metafile=0x8279d94,
file_names=0xbfffdfb0) at nautilus-metafile.c:664
#47 0x40085ce4 in call_metafile_changed_for_one_file (metafile=0x7fffffff,
file_name=0x83be5d4 "darin") at nautilus-metafile.c:720
#48 0x40085832 in corba_set (servant=0x82642bc, file_name=0x83be5d4 "darin",
key=0x840b614 "icon_view_zoom_level",
    default_value=0x841effc "3", metadata=0x81d9d84 "2", ev=0xbfffe230) at
nautilus-metafile.c:486
#49 0x40049a85 in _ORBIT_skel_small_Nautilus_Metafile_set
(_o_servant=0x82642bc, _o_retval=0x0, _o_args=0x7fffffff,
    _o_ctx=0xbfffe160, _o_ev=0xbfffe230, _impl_set=0x400857b0 <corba_set>)
at nautilus-metafile-server-skels.c:98
#50 0x408a6648 in ORBit_POAObject_invoke (pobj=0x7fffffff, ret=0x0,
args=0xbfffe110, ctx=0xbfffe160, data=0x1, ev=0xbfffe230)
    at poa.c:1020
#51 0x408a85df in ORBit_OAObject_invoke (adaptor_obj=0x1, ret=0x0,
args=0xbfffe110, ctx=0xbfffe160, data=0xbfffe1d0, ev=0xbfffe230)
    at orbit-adaptor.c:81
#52 0x4089ac1f in ORBit_small_invoke_adaptor (adaptor_obj=0x8273388,
recv_buffer=0x8444d60, m_data=0x400bb170, data=0xbfffe1d0,
    ev=0xbfffe230) at orbit-small.c:781
#53 0x408a6a5e in ORBit_POAObject_handle_request (pobj=0x8273388,
opname=0x83ffe10 "set", ret=0x0, args=0x0, ctx=0x0,
    recv_buffer=0x8444d60, ev=0xbfffe230) at poa.c:1192
#54 0x408a6c76 in ORBit_POA_handle_request (poa=0x80cf570,
recv_buffer=0x8444d60, objkey=0x8273388) at poa.c:1272
#55 0x408a8569 in ORBit_handle_request (orb=0x80caf30,
recv_buffer=0x8444d60) at orbit-adaptor.c:44
#56 0x40894783 in giop_connection_handle_input (lcnx=0x8280d20) at
giop-connection.c:167
#57 0x408c45b6 in linc_connection_connected (gioc=0x8280d68,
condition=G_IO_IN, data=0x8280d20) at linc-connection.c:95
#58 0x40a4ee55 in g_io_unix_dispatch (source=0x8280dc8, callback=0x408c4528
<linc_connection_connected>, user_data=0x8280d20)
    at giounix.c:159
#59 0x40a31412 in g_main_dispatch (context=0x80cf2e0) at gmain.c:1616
#60 0x40a320f2 in g_main_context_dispatch (context=0x80cf2e0) at
gmain.c:2149
#61 0x40a3245e in g_main_context_iterate (context=0x80cf2e0, block=1,
dispatch=1, self=0x80bb760) at gmain.c:2230
#62 0x40a325cd in g_main_context_iteration (context=0x80cf2e0, may_block=1)
at gmain.c:2289
#63 0x408c436a in linc_main_iteration (block_for_reply=1) at linc.c:174
#64 0x40896b61 in giop_recv_buffer_get (ent=0xbfffe500, block_for_reply=1)
at giop-recv-buffer.c:875
#65 0x4089a1f3 in orbit_small_demarshal (obj=0x8271748, cnx=0x7fffffff,
mqe=0xbfffe500, ev=0xbfffe5c0, ret=0x0, m_data=0x400bb170,
    args=0xbfffe570) at orbit-small.c:414
#66 0x4089a74f in ORBit_small_invoke_stub (obj=0x8271748, m_data=0x400bb170,
ret=0x0, args=0xbfffe570, ctx=0x0, ev=0xbfffe5c0)
    at orbit-small.c:613
#67 0x4004947b in Nautilus_Metafile_set (_obj=0x8271748, file_name=0x8284288
"darin", key=0x80ae714 "icon_view_zoom_level",
    default_value=0x8456c40 "3", metadata=0x8455d48 "2", ev=0xbfffe5c0) at
nautilus-metafile-server-stubs.c:170
#68 0x40057842 in nautilus_directory_set_file_metadata (directory=0x8271748,
file_name=0x8284288 "darin",
    key=0x80ae714 "icon_view_zoom_level", default_metadata=0x8456c40 "3",
metadata=0x8455d48 "2")
    at nautilus-directory-metafile.c:295
#69 0x40057c19 in nautilus_directory_set_integer_file_metadata
(directory=0x8284348, file_name=0x8284288 "darin",
    key=0x80ae714 "icon_view_zoom_level", default_metadata=3, metadata=2) at
nautilus-directory-metafile.c:440
#70 0x40067427 in nautilus_file_set_integer_metadata (file=0x8284308,
key=0x80ae714 "icon_view_zoom_level", default_metadata=3,
    metadata=2) at nautilus-file.c:2252
#71 0x08092d19 in fm_icon_view_set_zoom_level (view=0x8269260,
new_level=NAUTILUS_ZOOM_LEVEL_SMALL, always_set_level=0)
    at fm-icon-view.c:1019
#72 0x08092e03 in fm_icon_view_bump_zoom_level (view=0x8269260,
zoom_increment=-1) at fm-icon-view.c:1044
#73 0x08089bff in fm_directory_view_bump_zoom_level (view=0x8269260,
zoom_increment=-1) at fm-directory-view.c:2454
#74 0x080888b4 in zoomable_zoom_out_callback (zoomable=0x8263b80,
directory_view=0x8269260) at fm-directory-view.c:1704
#75 0x409d0235 in g_cclosure_marshal_VOID__VOID (closure=0x8263db0,
return_value=0x0, n_param_values=1, param_values=0x1,
    invocation_hint=0xbfffe900, marshal_data=0x0) at gmarshal.c:32
#76 0x409bbf0b in g_closure_invoke (closure=0x8263db0, return_value=0x0,
n_param_values=1, param_values=0xbfffea10,
    invocation_hint=0xbfffe900) at gclosure.c:437
#77 0x409cf48f in signal_emit_unlocked_R (node=0x8263a98, detail=0,
instance=0x8263b80, emission_return=0x0,
    instance_and_params=0xbfffea10) at gsignal.c:2120
#78 0x409cdd4b in g_signal_emit_valist (instance=0x8263b80,
signal_id=1084682560, detail=0, var_args=0xbfffec9c) at gsignal.c:1883
#79 0x409cdfcd in g_signal_emit (instance=0x8263b80, signal_id=240,
detail=0) at gsignal.c:1927
#80 0x402e1917 in impl_Bonobo_Zoomable_zoomOut (servant=0x8263b80,
ev=0xbfffee50) at bonobo-zoomable.c:196
#81 0x40852697 in _ORBIT_skel_small_Bonobo_Zoomable_zoomOut
(_o_servant=0x8263b94, _o_retval=0x0, _o_args=0x0, _o_ctx=0xbfffed80,
    _o_ev=0xbfffee50, _impl_zoomOut=0x402e18cc
<impl_Bonobo_Zoomable_zoomOut>) at Bonobo-skels.c:1842
#82 0x408a6648 in ORBit_POAObject_invoke (pobj=0x7fffffff, ret=0x0,
args=0x0, ctx=0xbfffed80, data=0x1, ev=0xbfffee50)
    at poa.c:1020
#83 0x408a85df in ORBit_OAObject_invoke (adaptor_obj=0x1, ret=0x0, args=0x0,
ctx=0xbfffed80, data=0xbfffedf0, ev=0xbfffee50)
    at orbit-adaptor.c:81
#84 0x4089ac1f in ORBit_small_invoke_adaptor (adaptor_obj=0x8263bd0,
recv_buffer=0x8457100, m_data=0x40868ab4, data=0xbfffedf0,
    ev=0xbfffee50) at orbit-small.c:781
#85 0x408a6a5e in ORBit_POAObject_handle_request (pobj=0x8263bd0,
opname=0x83ffda8 "zoomOut", ret=0x0, args=0x0, ctx=0x0,
    recv_buffer=0x8457100, ev=0xbfffee50) at poa.c:1192
#86 0x408a6c76 in ORBit_POA_handle_request (poa=0x80cf570,
recv_buffer=0x8457100, objkey=0x8263bd0) at poa.c:1272
#87 0x408a8569 in ORBit_handle_request (orb=0x80caf30,
recv_buffer=0x8457100) at orbit-adaptor.c:44
#88 0x40894783 in giop_connection_handle_input (lcnx=0x8271800) at
giop-connection.c:167
#89 0x408c45b6 in linc_connection_connected (gioc=0x8271848,
condition=G_IO_IN, data=0x8271800) at linc-connection.c:95
#90 0x40a4ee55 in g_io_unix_dispatch (source=0x82671c0, callback=0x408c4528
<linc_connection_connected>, user_data=0x8271800)
    at giounix.c:159
#91 0x40a31412 in g_main_dispatch (context=0x80cd2f8) at gmain.c:1616
#92 0x40a320f2 in g_main_context_dispatch (context=0x80cd2f8) at
gmain.c:2149
#93 0x40a3245e in g_main_context_iterate (context=0x80cd2f8, block=1,
dispatch=1, self=0x80bb760) at gmain.c:2230
#94 0x40a32b1a in g_main_loop_run (loop=0x810b2b8) at gmain.c:2450
#95 0x4083d75d in bonobo_main () at bonobo-main.c:291
#96 0x08064ce6 in main (argc=1, argv=0xbffff2fc) at nautilus-main.c:293
#97 0x40b2f177 in __libc_start_main (main=0x80647b4 <main>, argc=1,
ubp_av=0xbffff2fc, init=0x8058294 <_init>,
    fini=0x809c930 <_fini>, rtld_fini=0x4000e184 <_dl_fini>,
stack_end=0xbffff2ec) at ../sysdeps/generic/libc-start.c:129

    -- Darin




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