Bug 24111 - gconf-editor is very very slow
Summary: gconf-editor is very very slow
Status: ASSIGNED
Alias: None
Product: at-spi2
Classification: Unclassified
Component: atk (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Mark Doffman
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-23 06:28 UTC by Willie Walker
Modified: 2010-01-24 08:42 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Willie Walker 2009-09-23 06:28:03 UTC
1) Enable the new infrastructure
2) Run gconf-editor
3) gconf-editor just sits there with a gray window

I assume gconf-editor will eventually come up, but I've never been patient enough to wait.  In attaching to it in the debugger, it seems to be repeatedly calling atk_object_ref_accessible_child at frame 27 below, though it seems to be done at about 1 second intervals.

If I disable the infrastructure, gconf-editor pops up very quickly.

t@1 (l@1) stopped in __writev at 0xd1702955
0xd1702955: __writev+0x0015:	jae      __writev+0x21	[ 0xd1702961, .+0xc ]
Current function is append_children
  245         current = atk_object_ref_accessible_child (accessible, i);
(dbx) where
current thread: t@1
  [1] __writev(0xd, 0x80dc2f0, 0x2, 0xd16ef5a2), at 0xd1702955 
  [2] writev(0xd, 0x80dc2f0, 0x2, 0xcccafd52), at 0xd16ef616 
  [3] write_data_T(0x80a08c0, 0x8044cd0, 0x8044d08, 0xcccb00b8), at 0xcccafdb7 
  [4] link_connection_writev(0x80a08c0, 0x80dc2f0, 0x2, 0x80fce40), at 0xcccb0138 
  [5] giop_send_buffer_write(0x80dc270, 0x80a08c0, 0x0, 0x8178e08), at 0xccc90f79 
  [6] orbit_small_marshal(0x81037f8, 0x80a08c0, 0x8044dec, 0x8044e2c, 0xccd33598, 0x8044ee4, 0x0, 0x8044e2c), at 0xccc955ce 
  [7] ORBit_small_invoke_stub(0x81037f8, 0xccd33598, 0x0, 0x8044ee4, 0x0, 0x8044f1c, 0x14, 0xccc95d68), at 0xccc95edc 
  [8] ORBit_small_invoke_stub_n(0x81037f8, 0xccd33234, 0xd, 0x0, 0x8044ee4, 0x0, 0x8044f1c, 0xccca8672), at 0xccc95d9c 
  [9] ORBit_c_stub_invoke(0x81037f8, 0xccd33234, 0xd, 0x0, 0x8044ee4, 0x0, 0x8044f1c, 0x0, 0x38, 0xccd193c0, 0x8044ef4, 0xccd1c088), at 0xccca8764 
  [10] ConfigDatabase_all_dirs(0x81037f8), at 0xccd1c0cd 
  [11] gconf_engine_all_dirs(0x8105118, 0x822d428, 0x8044f78, 0xccd15f95), at 0xccd10d55 
  [12] gconf_client_all_dirs(0x80d7e50, 0x822d428, 0x0, 0x8087b48), at 0xccd15fe3 
  [13] gconf_tree_model_iter_has_child(0x8087b48, 0x8044fec, 0x8044fd4, 0xd12811a5), at 0x80657ec 
  [14] gtk_tree_model_iter_has_child(0x8087b48, 0x8044fec, 0x804506c, 0xd128a38c), at 0xd12811c4 
  [15] gtk_tree_model_sort_iter_has_child(0x80a0820, 0x804506c, 0x8045034, 0xd12811a5), at 0xd128a3d6 
  [16] gtk_tree_model_iter_has_child(0x80a0820, 0x804506c, 0x80450dc, 0xccf46586), at 0xd12811c4 
  [17] count_rows(0x80a0820, 0x80450dc, 0x0, 0x8045368, 0x6, 0x7fffffff, 0x804514c, 0xccf46586), at 0xccf4663f 
  [18] count_rows(0x80a0820, 0x804514c, 0x0, 0x8045368, 0x5, 0x7fffffff, 0x80451bc, 0xccf46586), at 0xccf4665d 
  [19] count_rows(0x80a0820, 0x80451bc, 0x0, 0x8045368, 0x4, 0x7fffffff, 0x804522c, 0xccf46586), at 0xccf4665d 
  [20] count_rows(0x80a0820, 0x804522c, 0x0, 0x8045368, 0x3, 0x7fffffff, 0x804529c, 0xccf46586), at 0xccf4665d 
  [21] count_rows(0x80a0820, 0x804529c, 0x0, 0x8045368, 0x2, 0x7fffffff, 0x804530c, 0xccf46586), at 0xccf4665d 
  [22] count_rows(0x80a0820, 0x804530c, 0x0, 0x8045368, 0x1, 0x7fffffff, 0x0, 0xccf46586), at 0xccf4665d 
  [23] count_rows(0x80a0820, 0x0, 0x0, 0x8045368, 0x0, 0x7fffffff, 0x8045374, 0xd12a85b8), at 0xccf4665d 
  [24] get_row_count(0x80a0820), at 0xccf467a7 
  [25] gail_tree_view_get_n_children(0x81e8ae8, 0x80e4fa8, 0x8045424, 0xccf40cd1), at 0xccf40c6f 
  [26] gail_tree_view_ref_child(0x81e8ae8, 0x37, 0x8045444, 0xccecb4b0), at 0xccf40cf9 
  [27] atk_object_ref_accessible_child(0x81e8ae8, 0x37), at 0xccecb4d8 
=>[28] append_children(accessible = 0x81e8ae8, traversal = 0x820a4a0), line 245 in "accessible-register.c"
  [29] register_subtree(accessible = 0x81e8ae8), line 295 in "accessible-register.c"
  [30] atk_dbus_object_attempt_registration(accessible = 0x81e8ae8), line 400 in "accessible-register.c"
  [31] emit(accessible = 0x81e8ae8, klass = 0xcce9f8dc "org.freedesktop.atspi.Event.Object", major = 0x80d2af8 "visible-data-changed", minor = 0xcce9fa74 "", detail1 = 0, detail2 = 0, type = 0xcce9f880 "i", val = (nil)), line 194 in "event.c"
  [32] generic_event_listener(signal_hint = 0x8045608, n_param_values = 1U, param_values = 0x810b490, data = 0x80e4f60), line 667 in "event.c"
  [33] signal_emit_unlocked_R(0x80d32e0, 0x0, 0x81e8ae8, 0x0, 0x810b490, 0x81e8ae8, 0x0, 0xd0fd58e1), at 0xd0fd7186 
  [34] g_signal_emit_valist(0x81e8ae8, 0x6c, 0x0, 0x8045808), at 0xd0fd6298 
  [35] g_signal_emit_by_name(0x81e8ae8, 0xccf4e36c, 0x8045838, 0xccf4569e), at 0xd0fd65f2 
  [36] traverse_cells(0x81e8ae8, 0x0, 0x0, 0x0), at 0xccf45864 
  [37] gail_tree_view_size_allocate_gtk(0x81831d0, 0x8045c10, 0x0, 0xd0fd8fb6), at 0xccf436c7 
  [38] g_cclosure_marshal_VOID__BOXED(0x81fd228, 0x0, 0x2, 0x81ca228, 0x8045a08, 0x0), at 0xd0fd9025 
  [39] g_closure_invoke(0x81fd228, 0x0, 0x2, 0x81ca228, 0x8045a08, 0xffffffff, 0x0, 0xd0fd66b9), at 0xd0fbf896 
  [40] signal_emit_unlocked_R(0x80d1048, 0x0, 0x81831d0, 0x0, 0x81ca228, 0x81831d0, 0x8045b00, 0x8000000), at 0xd0fd7407 
  [41] g_signal_emit_valist(0x81831d0, 0x13, 0x0, 0x8045bec), at 0xd0fd6298 
  [42] g_signal_emit(0x81831d0, 0x13, 0x0, 0x8045c10), at 0xd0fd6499 
  [43] gtk_widget_size_allocate(0x81831d0, 0x8045c90, 0x8045cb8, 0xd12057bb), at 0xd12c7064 
  [44] gtk_scrolled_window_size_allocate(0x81808e0, 0x8046080, 0x80b56c8, 0xd0fd8fb6), at 0xd1205837 
  [45] g_cclosure_marshal_VOID__BOXED(0x80a6b00, 0x0, 0x2, 0x81ca0f0, 0x8045e78, 0xd1205698, 0x6, 0xd0fbfb4c), at 0xd0fd9025 
  [46] g_type_class_meta_marshal(0x80a6b00, 0x0, 0x2, 0x81ca0f0, 0x8045e78, 0x80, 0x40008006, 0xd0fbf7ce), at 0xd0fbfb86 
  [47] g_closure_invoke(0x80a6b00, 0x0, 0x2, 0x81ca0f0, 0x8045e78, 0x1, 0x8045df8, 0xd0fd66b9), at 0xd0fbf871 
  [48] signal_emit_unlocked_R(0x80d1048, 0x0, 0x81808e0, 0x0, 0x81ca0f0, 0x81808e0, 0x8045f70, 0x8000000), at 0xd0fd6f79 
  [49] g_signal_emit_valist(0x81808e0, 0x13, 0x0, 0x804605c), at 0xd0fd6298 
  [50] g_signal_emit(0x81808e0, 0x13, 0x0, 0x8046080), at 0xd0fd6499 
  [51] gtk_widget_size_allocate(0x81808e0, 0x8046100), at 0xd12c7064 
  [52] gtk_paned_size_allocate(0x8177150, 0x8046510, 0x80b56c8, 0xd0fd8fb6), at 0xd11c7447 
  [53] g_cclosure_marshal_VOID__BOXED(0x80a6b00, 0x0, 0x2, 0x81ca590, 0x8046308, 0xd11c6fb0, 0x5, 0xd0fbfb4c), at 0xd0fd9025 
  [54] g_type_class_meta_marshal(0x80a6b00, 0x0, 0x2, 0x81ca590, 0x8046308, 0x80, 0x40008005, 0xd0fbf7ce), at 0xd0fbfb86 
  [55] g_closure_invoke(0x80a6b00, 0x0, 0x2, 0x81ca590, 0x8046308, 0x1, 0xd2b, 0xd0fd66b9), at 0xd0fbf871 
  [56] signal_emit_unlocked_R(0x80d1048, 0x0, 0x8177150, 0x0, 0x81ca590, 0x8177150, 0x8046400, 0x8000000), at 0xd0fd6f79 
  [57] g_signal_emit_valist(0x8177150, 0x13, 0x0, 0x80464ec), at 0xd0fd6298 
  [58] g_signal_emit(0x8177150, 0x13, 0x0, 0x8046510), at 0xd0fd6499 
  [59] gtk_widget_size_allocate(0x8177150, 0x80465b0, 0x80465d8, 0xd11c750b), at 0xd12c7064 
  [60] gtk_paned_size_allocate(0x81770b0, 0x80469a0, 0x80b56c8, 0xd0fd8fb6), at 0xd11c7532 
  [61] g_cclosure_marshal_VOID__BOXED(0x80a6b00, 0x0, 0x2, 0x81ca2a0, 0x8046798, 0xd11c6fb0, 0x4, 0xd0fbfb4c), at 0xd0fd9025 
  [62] g_type_class_meta_marshal(0x80a6b00, 0x0, 0x2, 0x81ca2a0, 0x8046798, 0x80, 0x40008004, 0xd0fbf7ce), at 0xd0fbfb86 
  [63] g_closure_invoke(0x80a6b00, 0x0, 0x2, 0x81ca2a0, 0x8046798, 0x1, 0x8046808, 0xd0fd66b9), at 0xd0fbf871 
  [64] signal_emit_unlocked_R(0x80d1048, 0x0, 0x81770b0, 0x0, 0x81ca2a0, 0x81770b0, 0x8046890, 0x8000000), at 0xd0fd6f79 
  [65] g_signal_emit_valist(0x81770b0, 0x13, 0x0, 0x804697c), at 0xd0fd6298 
  [66] g_signal_emit(0x81770b0, 0x13, 0x0, 0x80469a0), at 0xd0fd6499 
  [67] gtk_widget_size_allocate(0x81770b0, 0x8046a30, 0x8046a58, 0xd10cdc7e), at 0xd12c7064 
  [68] gtk_box_size_allocate(0x80cb400, 0x8046e20, 0x80b56c8, 0xd0fd8fb6), at 0xd10cde17 
  [69] g_cclosure_marshal_VOID__BOXED(0x80a6b00, 0x0, 0x2, 0x81ca078, 0x8046c18, 0xd10cd95c, 0x3, 0xd0fbfb4c), at 0xd0fd9025 
  [70] g_type_class_meta_marshal(0x80a6b00, 0x0, 0x2, 0x81ca078, 0x8046c18, 0x80, 0x40008003, 0xd0fbf7ce), at 0xd0fbfb86 
  [71] g_closure_invoke(0x80a6b00, 0x0, 0x2, 0x81ca078, 0x8046c18, 0x1, 0x8046bc0, 0xd0fd66b9), at 0xd0fbf871 
  [72] signal_emit_unlocked_R(0x80d1048, 0x0, 0x80cb400, 0x0, 0x81ca078, 0x80cb400, 0x8046d10, 0x8000000), at 0xd0fd6f79 
  [73] g_signal_emit_valist(0x80cb400, 0x13, 0x0, 0x8046dfc), at 0xd0fd6298 
  [74] g_signal_emit(0x80cb400, 0x13, 0x0, 0x8046e20), at 0xd0fd6499 
  [75] gtk_widget_size_allocate(0x80cb400, 0x8046e70, 0x8046e98, 0xd12dabfc), at 0xd12c7064 
  [76] gtk_window_size_allocate(0x80f2060, 0x8047260, 0x80b56c8, 0xd0fd8fb6), at 0xd12dac5c 
  [77] g_cclosure_marshal_VOID__BOXED(0x80a6b00, 0x0, 0x2, 0x81ca400, 0x8047058, 0xd12dab68, 0x2, 0xd0fbfb4c), at 0xd0fd9025 
  [78] g_type_class_meta_marshal(0x80a6b00, 0x0, 0x2, 0x81ca400, 0x8047058, 0x80), at 0xd0fbfb86 
  [79] g_closure_invoke(0x80a6b00, 0x0, 0x2, 0x81ca400, 0x8047058, 0x1, 0x14, 0xd0fd66b9), at 0xd0fbf896 
  [80] signal_emit_unlocked_R(0x80d1048, 0x0, 0x80f2060, 0x0, 0x81ca400, 0x80f2060, 0x8047150, 0x8000000), at 0xd0fd6f79 
  [81] g_signal_emit_valist(0x80f2060, 0x13, 0x0, 0x804723c), at 0xd0fd6298 
  [82] g_signal_emit(0x80f2060, 0x13, 0x0, 0x8047260), at 0xd0fd6499 
  [83] gtk_widget_size_allocate(0x80f2060, 0x80f2084, 0x80472a8, 0xd1106490), at 0xd12c7064 
  [84] gtk_container_resize_children(0x80f2060, 0x42, 0x80472f0, 0x42), at 0xd11064a9 
  [85] gtk_window_check_resize(0x80f2060, 0x80a70b0, 0x0, 0xd0fd85a6), at 0xd12dbd1e 
  [86] g_cclosure_marshal_VOID__VOID(0x80d3ed0, 0x0, 0x1, 0x8105bc0, 0x8047568, 0xd12db5c0, 0x2, 0xd0fbfb4c), at 0xd0fd85f7 
  [87] g_type_class_meta_marshal(0x80d3ed0, 0x0, 0x1, 0x8105bc0, 0x8047568, 0x174), at 0xd0fbfb86 
  [88] g_closure_invoke(0x80d3ed0, 0x0, 0x1, 0x8105bc0, 0x8047568, 0x820bdc8, 0xd1551ac7, 0xd0fd66b9), at 0xd0fbf896 
  [89] signal_emit_unlocked_R(0x80d4888, 0x0, 0x80f2060, 0x0, 0x8105bc0, 0x80f2060, 0x0, 0xd0fd58e1), at 0xd0fd7c5a 
  [90] g_signal_emit_valist(0x80f2060, 0x52, 0x0, 0x804774c), at 0xd0fd6298 
  [91] g_signal_emit(0x80f2060, 0x52, 0x0, 0xd110633c), at 0xd0fd6499 
  [92] gtk_container_check_resize(0x80f2060, 0x80a70b0, 0x8047788, 0xd110604f), at 0xd1106362 
  [93] gtk_container_idle_sizer(0x0, 0xd1780000, 0x80477b8, 0xd1483050), at 0xd1106062 
  [94] gdk_threads_dispatch(0x8108b60, 0xd162c93c, 0x80477e8, 0xd158763c), at 0xd148306d 
  [95] g_idle_dispatch(0x81bd810, 0xd1483024, 0x8108b60, 0x8047840), at 0xd1587652 
  [96] g_main_context_dispatch(0x80a28a0, 0x6e, 0x817f460, 0x9), at 0xd1585016 
  [97] g_main_context_iterate(0x80a28a0, 0x1, 0x1, 0x80abeb0), at 0xd15856c7 
  [98] g_main_context_iteration(0x0, 0x1, 0x0, 0xd11953b4), at 0xd1585905 
  [99] gtk_main_iteration(0x8067c1e, 0x1, 0x807d4d8, 0x0, 0x80479a8, 0x806a134, 0x80479a8, 0x8067c1e, 0x80f2060, 0x806a134, 0x80479a8, 0x8067be9, 0x805278c, 0xd1530100, 0x0, 0x0, 0x806a130, 0x0, 0x0, 0x5), at 0xd11953d5 
  [100] gtk_widget_show_now(0x80f2060, 0x806a134, 0x80479a8, 0x8067be9), at 0xd12c59c4
Comment 1 Mark Doffman 2010-01-24 08:42:00 UTC
This may have been improved since we added leasing.

Will re-try the steps to reproduce.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.