GNOME Bugzilla – Bug 460437
Application sometimes crashes.
Last modified: 2011-01-20 09:40:55 UTC
Please describe the problem: This crashing bug could not be reproduced with manual testing, it's only visible to orca harness automated testing. Steps to reproduce: 1. Download the test script. 2. Unzip this test script, change directory to autotest/test/harness 3. Run test with command: ./runall.sh autotest/test/keystrokes/ Actual results: The application (gedit) will crash. Expected results: Gedit should not crash. Does this happen every time? Yes. Other information: It emits critical warning: file gailcontainer.c: line 146: assertion `(i >= 0)' failed Stack trace: =>[1] __lwp_kill(0x1, 0x5), at 0xd2b3f1c5 [2] _thr_kill(0x1, 0x5), at 0xd2b3bcdb [3] raise(0x5), at 0xd2af6a72 [4] g_logv(0x0, 0x8, 0xcfa85a70, 0x8045058), at 0xd21efa56 [5] g_log(0x0, 0x8, 0xcfa85a70, 0xcfa8596c, 0x92, 0xcfa85a30), at 0xd21efb25 [6] gail_container_ref_child(0x839b5b0, 0xffffffff), at 0xcfa6663a [7] atk_object_ref_accessible_child(0x839b5b0, 0xffffffff), at 0xcfa1b179 [8] spi_atk_bridge_signal_listener(0x804515c, 0x3, 0x80451fc, 0x8134430), at 0xcf554760 [9] signal_emit_unlocked_R(0x8123eb8, 0x1ef, 0x839b5b0, 0x0, 0x80451fc), at 0xd22a40a8 [10] g_signal_emit_valist(0x839b5b0, 0x6c, 0x1ef, 0x80454e0), at 0xd22a34f4 [11] g_signal_emit_by_name(0x839b5b0, 0xcfa85a04, 0xffffffff, 0x8304f20, 0x0), at 0xd22a39eb [12] gail_container_real_add_gtk(0x822b090, 0x820dcc0, 0x839b5b0), at 0xcfa667ae [13] gail_container_add_gtk(0x822b090, 0x820dcc0, 0x839b5b0), at 0xcfa666ab [14] g_cclosure_marshal_VOID__OBJECT(0x83ad6c8, 0x0, 0x2, 0x80456ac, 0x804560c, 0x0), at 0xd22a54ab [15] g_closure_invoke(0x83ad6c8, 0x0, 0x2, 0x80456ac, 0x804560c), at 0xd228f1d3 [16] signal_emit_unlocked_R(0x811a368, 0x0, 0x822b090, 0x0, 0x80456ac), at 0xd22a424e [17] g_signal_emit_valist(0x822b090, 0x51, 0x0, 0x8045924), at 0xd22a34f4 [18] g_signal_emit(0x822b090, 0x51, 0x0, 0x820dcc0), at 0xd22a3689 [19] gtk_container_add(0x822b090, 0x820dcc0), at 0xd2481508 [20] get_slider_button(0x822b090, 0x3), at 0xd2542e24 [21] gtk_path_bar_init(0x822b090, 0x83ada38), at 0xd2542ece [22] g_type_create_instance(0x83a9d58), at 0xd22a8dfb [23] g_object_constructor(0x83a9d58, 0x0, 0x0), at 0xd2292b03 [24] g_object_newv(0x83a9d58, 0x0, 0x0), at 0xd2292123 [25] g_object_new_valist(0x83a9d58, 0x0, 0x8045c74), at 0xd2292aa5 [26] g_object_new(0x83a9d58, 0x0), at 0xd2291db5 [27] browse_widgets_create(0x83a0098), at 0xd24b1f86 [28] gtk_file_chooser_default_constructor(0x810d8b8, 0x1, 0x839b920), at 0xd24b23a4 [29] g_object_newv(0x810d8b8, 0x1, 0x839d200), at 0xd2292123 [30] g_object_new_valist(0x810d8b8, 0xd26e6664, 0x8045e94), at 0xd2292a52 [31] g_object_new(0x810d8b8, 0xd26e6664, 0x0, 0x0), at 0xd2291db5 [32] _gtk_file_chooser_default_new(0x0), at 0xd24bae6e [33] gtk_file_chooser_widget_constructor(0x8351668, 0x1, 0x839b870), at 0xd24bf15a [34] g_object_newv(0x8351668, 0x0, 0x0), at 0xd2292123 [35] g_object_new_valist(0x8351668, 0x0, 0x8046094), at 0xd2292aa5 [36] g_object_new(0x8351668, 0x0), at 0xd2291db5 [37] gtk_file_chooser_dialog_constructor(0x838c010, 0x3, 0x8205328), at 0xd24bc05a [38] g_object_newv(0x838c010, 0x5, 0x835ffd0), at 0xd2292123 [39] g_object_new_valist(0x838c010, 0x80c8114, 0x804627c), at 0xd2292a52 [40] g_object_new(0x838c010, 0x80c8114, 0x80c6714, 0x80c8100, 0x0, 0x80c80f4, 0x0, 0x80c80ec, 0x0, 0x80c7f7c, 0x1, 0x0), at 0xd2291db5 [41] gedit_file_chooser_dialog_new_valist(0x80c6714, 0x816a000, 0x0, 0x0, 0x80c6708, 0x8046314), at 0x8085760 [42] gedit_file_chooser_dialog_new(0x80c6714, 0x816a000, 0x0, 0x0, 0x80c6708, 0xfffffffa, 0x80c66fc, 0xfffffffb, 0x0), at 0x8085ada [43] _gedit_cmd_file_open(0x8103740, 0x816a000), at 0x807aaed [44] g_cclosure_marshal_VOID__VOID(0x818f840, 0x0, 0x1, 0x80464bc, 0x804641c, 0x0), at 0xd22a49c9 [45] g_closure_invoke(0x818f840, 0x0, 0x1, 0x80464bc, 0x804641c), at 0xd228f1d3 [46] signal_emit_unlocked_R(0x816f348, 0x0, 0x8103740, 0x0, 0x80464bc), at 0xd22a424e [47] g_signal_emit_valist(0x8103740, 0xb1, 0x0, 0x8046724), at 0xd22a34f4 [48] g_signal_emit(0x8103740, 0xb1, 0x0), at 0xd22a3689 [49] _gtk_action_emit_activate(0x8103740), at 0xd243242a [50] closure_accel_activate(0x8174200, 0x80467f0, 0x4, 0x80468ac, 0x804680c, 0x0), at 0xd24335f4 [51] g_closure_invoke(0x8174200, 0x80467f0, 0x4, 0x80468ac, 0x804680c), at 0xd228f1d3 [52] signal_emit_unlocked_R(0x8169be8, 0x4ef, 0x8133c40, 0x8046a2c, 0x80468ac), at 0xd22a424e [53] g_signal_emit_valist(0x8133c40, 0xab, 0x4ef, 0x8046b20), at 0xd22a3292 [54] g_signal_emit(0x8133c40, 0xab, 0x4ef, 0x816a000, 0x6f, 0x4, 0x8046b44), at 0xd22a3689 [55] gtk_accel_group_activate(0x8133c40, 0x4ef, 0x816a000, 0x6f, 0x4), at 0xd242d5c1 [56] gtk_accel_groups_activate(0x816a000, 0x6f, 0x4), at 0xd242d6c2 [57] gtk_window_activate_key(0x816a000, 0x8304e80), at 0xd264ae68 [58] gedit_window_key_press_event(0x816a000, 0x8304e80, 0x810b2a8), at 0x809adf4 [59] _gtk_marshal_BOOLEAN__BOXED(0x81169d8, 0x8046ce0, 0x2, 0x8046d9c, 0x8046cfc, 0x809ad90), at 0xd25157bd [60] g_type_class_meta_marshal(0x81169d8, 0x8046ce0, 0x2, 0x8046d9c, 0x8046cfc, 0xcc), at 0xd228f4b4 [61] g_closure_invoke(0x81169d8, 0x8046ce0, 0x2, 0x8046d9c, 0x8046cfc), at 0xd228f1d3 [62] signal_emit_unlocked_R(0x8116e08, 0x0, 0x816a000, 0x8046f1c, 0x8046d9c), at 0xd22a4412 [63] g_signal_emit_valist(0x816a000, 0x2c, 0x0, 0x8047010), at 0xd22a3292 [64] g_signal_emit(0x816a000, 0x2c, 0x0, 0x8304e80, 0x8047030), at 0xd22a3689 [65] gtk_widget_event_internal(0x816a000, 0x8304e80), at 0xd2638cbe [66] gtk_widget_event(0x816a000, 0x8304e80), at 0xd263892f [67] gtk_propagate_event(0x816a000, 0x8304e80), at 0xd2513de0 [68] gtk_main_do_event(0x8304e80, 0x0), at 0xd2512ce7 [69] gdk_event_dispatch(0x810a6f0, 0x0, 0x0), at 0xd231ca1e [70] g_main_dispatch(0x810a738), at 0xd21e7cf6 [71] g_main_context_dispatch(0x810a738), at 0xd21e8e05 [72] g_main_context_iterate(0x810a738, 0x1, 0x1, 0x80e8070), at 0xd21e9222 [73] g_main_loop_run(0x8358cd8), at 0xd21e9824 [74] gtk_main(0x8047398, 0x804727c, 0xd2bfb7d0, 0x133f, 0x1f80, 0x804727c), at 0xd25125ce [75] main(0x1, 0x80472c0, 0x80472c8), at 0x8078be8
Created attachment 92430 [details] test case
This is a critical warning. Should look at why atk_object_get_index_in_parent return -1 in spi_atk_bridge_signal_listener and why children is not in its parent's list.
I can not reproduce this bug,:( THe environment is : SunOS longjump 5.11 snv_72 i86pc i386 i86pc Solaris cat /etc/product-info product=Sun Java Desktop System productAbbrv=Java_DS release=4 build=74 buildType=devel assembled=10 Sep 2007 and I have checked out and installed the latest atk, at-spi and gail. is there anything I missed ?
Close as it has been silence for more than 3 years and it was a critical warning.