Description of problem: With certain keys typing, the application accepting input will crash immediately. Version-Release number of selected component (if applicable): ibus-anthy-1.1.0.20090603-1.fc11.x86_64 ibus-chewing-1.0.10.20090523-2.fc11.x86_64 ibus-gtk-1.1.0.20090612-1.fc11.x86_64 libuser-0.56.9-3.x86_64 ibus-libs-1.1.0.20090612-1.fc11.x86_64 ibus-1.1.0.20090612-1.fc11.x86_64 ibus-rawcode-1.0.0.20090303-3.fc11.x86_64 libusb1-1.0.0-2.fc11.x86_64 libuser-python-0.56.9-3.x86_64 ibus-m17n-1.1.0.20090211-5.fc11.x86_64 ibus-pinyin-1.1.0.20090612-1.fc11.noarch libusb-0.1.12-21.fc11.x86_64 ibus-hangul-1.1.0.20090328-2.fc11.x86_64 gnome-terminal-2.26.2-1.fc11.x86_64 How reproducible: With the following steps, the gnome-terminal will crash immediately. Steps to Reproduce: 1. Open a gnome terminal. 2. Select the input method of "Chewing" by typing Ctrl-Space 3. Type "2u04g4" only. Do not press the "Enter" key. 4. Press "Left Arrow" twice. 5. Press "Down Arrow" twice. Actual results: The gnome terminal will crash immediately. Expected results: The gnome terminal should not crash. Additional info:
Re-assigning to Caius since Ding is away this week.
Works for me on i386: ibus-chewing-1.0.10.20090523-2.fc11.i586 ibus-1.1.0.20090612-1.fc11.i586 ibus-gtk-1.1.0.20090612-1.fc11.i586 ibus-libs-1.1.0.20090612-1.fc11.i586 gnome-terminal-2.26.2-1.fc11.i586
x86_64 env prep
Reproduced on F11 x86_64: #0 0x00000039fc066350 in g_utf8_offset_to_pointer () from /lib64/libglib-2.0.so.0 #1 0x00007fffefd99e57 in _ibus_context_update_preedit_text_cb (ibuscontext=<value optimized out>, text=0x825760, cursor_pos=<value optimized out>, visible=1, ibusimcontext=0x821f50) at ibusimcontext.c:760 #2 0x00000039fc40b83e in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #3 0x00000039fc420b83 in ?? () from /lib64/libgobject-2.0.so.0 #4 0x00000039fc421f49 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #5 0x00000039fc422493 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #6 0x00007fffefb77483 in ibus_input_context_ibus_signal (proxy=<value optimized out>, message=0xa26350) at ibusinputcontext.c:417 #7 0x00007fffefb81308 in ibus_marshal_BOOLEAN__POINTER (closure=0xa8ecc0, return_value=0x7fffffffd310, n_param_values=<value optimized out>, param_values=0x9ba430, invocation_hint=<value optimized out>, marshal_data=0x7fffefb771e0) at ibusmarshalers.c:165 #8 0x00000039fc40b83e in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #9 0x00000039fc420855 in ?? () from /lib64/libgobject-2.0.so.0 #10 0x00000039fc421ddc in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #11 0x00000039fc422493 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #12 0x00007fffefb6e7d0 in ibus_proxy_handle_signal (proxy=0x821d90, message=0xa26350) at ibusproxy.c:521 #13 0x00007fffefb6eefb in _connection_ibus_signal_cb (connection=0xa43180, message=0xa26350, proxy=0x821d90) at ibusproxy.c:230 #14 0x00007fffefb81308 in ibus_marshal_BOOLEAN__POINTER (closure=0x9f9c70, return_value=0x7fffffffd7e0, n_param_values=<value optimized out>, param_values=0xb748a0, invocation_hint=<value optimized out>, marshal_data=0x7fffefb6ee80) at ibusmarshalers.c:165 #15 0x00000039fc40b83e in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #16 0x00000039fc420b83 in ?? () from /lib64/libgobject-2.0.so.0 #17 0x00000039fc421ddc in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #18 0x00000039fc422493 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #19 0x00007fffefb6d1ba in ibus_connection_ibus_message (connection=0xa43180, message=0xa26350) at ibusconnection.c:283 #20 0x00007fffefb81308 in ibus_marshal_BOOLEAN__POINTER (closure=0x823e50, return_value=0x7fffffffdc40, n_param_values=<value optimized out>, param_values=0xaf6870, invocation_hint=<value optimized out>, marshal_data=0x7fffefb6d160) at ibusmarshalers.c:165 #21 0x00000039fc40b83e in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #22 0x00000039fc420855 in ?? () from /lib64/libgobject-2.0.so.0 #23 0x00000039fc421ddc in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #24 0x00000039fc422493 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #25 0x00007fffefb6b996 in _connection_handle_message_cb (dbus_connection=<value optimized out>, message=0x1, connection=0xc15a10) at ibusconnection.c:329 #26 0x0000003e922105de in dbus_connection_dispatch (connection=0x8238e0) at dbus-connection.c:4406 #27 0x0000003e9221080f in _dbus_connection_read_write_dispatch (connection=0x8238e0, timeout_milliseconds=-1, dispatch=<value optimized out>) at dbus-connection.c:3431 #28 0x00007fffefb768c5 in ibus_input_context_process_key_event (context=<value optimized out>, keyval=65364, state=0) at ibusinputcontext.c:579 #29 0x00007fffefd9a380 in _key_snooper_cb (widget=<value optimized out>, event=0xb7a1e0, user_data=<value optimized out>) at ibusimcontext.c:222 #30 0x000000380e527755 in gtk_invoke_key_snoopers (event=<value optimized out>, grab_widget=<value optimized out>) at gtkmain.c:1908 #31 IA__gtk_main_do_event (event=<value optimized out>, grab_widget=<value optimized out>) at gtkmain.c:1593 #32 0x000000380e04e17c in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at gdkevents-x11.c:2367 #33 0x00000039fc037afe in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #34 0x00000039fc03b1d8 in ?? () from /lib64/libglib-2.0.so.0 #35 0x00000039fc03b635 in g_main_loop_run () from /lib64/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #36 0x000000380e5279c7 in IA__gtk_main () at gtkmain.c:1205 #37 0x00000000004283b5 in main ()
I reproduced the problem when ibus-chewing setting-> selecting -> "Choose phrases from backward" is disabled. Seems like the problem of my libchewing patch, fixing now.
libchewing-0.3.2-14.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libchewing-0.3.2-14.fc11
libchewing-0.3.2-14.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/libchewing-0.3.2-14.fc10
libchewing-0.3.2-14.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libchewing'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-8195
libchewing-0.3.2-14.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libchewing'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8215
I have installed it with su -c 'yum --enablerepo=updates-testing update libchewing'. But the command "rpm -q libchewing" shows that libchewing-0.3.2-11.fc11.x86_64, not 14.fc11 as mentioned in the above comment. Did I miss something?
Forget about my previous question. Now, I have libchewing-0.3.2-14.fc11.x86_64 installed. The original bug was fixed. But here comes the new one. Version-Release number of selected component (if applicable): ibus-anthy-1.1.0.20090603-1.fc11.x86_64 ibus-chewing-1.0.10.20090523-2.fc11.x86_64 ibus-gtk-1.1.0.20090612-1.fc11.x86_64 ibus-libs-1.1.0.20090612-1.fc11.x86_64 ibus-1.1.0.20090612-1.fc11.x86_64 ibus-rawcode-1.0.0.20090303-3.fc11.x86_64 ibus-m17n-1.1.0.20090211-5.fc11.x86_64 ibus-pinyin-1.1.0.20090612-1.fc11.noarch ibus-hangul-1.1.0.20090328-2.fc11.x86_64 Steps to Reproduce: 1. Restart "IBus". 2. Open a gnome terminal. 3. Select the input method of "Chewing" by typing Ctrl-Space 4. Type "2u04g4" only. Do not press the "Enter" key. 5. Press "Space". 6. Press "Down". Actual results: The gnome terminal will crash immediately. Expected results: The gnome terminal should not crash.
I cannot reproduce it. Would you mind trying some other setting combination, like toggle selecting->choose phrase from backward, selecting->space to select. And telling which works, which doesn't. Or you may send me the log by following procedure: 1. Open a terminal program other than gnome-terminal, such as konsole, aterm. 2. Quit ibus 3. Run following command in the terminal: ibus-daemon & /usr/libexec/ibus-engine-chewing -v 3 4. Open a gnome-terminal, and do the "crashing" steps. 5. Copy the debug output to a text file and attach the text file in this bug. Regards,
The new problem can be reproduced by enabling "choose phrase from backward". Steps to Reproduce: 1. Enable "Choose phrases from backward" 2. Restart "IBus". 3. Open a gnome terminal. 4. Select the input method of "Chewing" by typing Ctrl-Space 5. Type "2u04g4" only. Do not press the "Enter" key. 6. Press "Space". 7. Press "Down". I will send you the log later with the procedure mentioned.
Created attachment 355948 [details] Debug output of ibus-engine-chewing when pressing "2u04g4<Space><Down>"
Bug reproduced, the fix will come up shortly.
libchewing-0.3.2-15.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libchewing-0.3.2-15.fc11
libchewing-0.3.2-15.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/libchewing-0.3.2-15.fc10
libchewing-0.3.2-15.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libchewing'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-8224
libchewing-0.3.2-15.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libchewing'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8242
Thanks. There is no problem now.
libchewing-0.3.2-15.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
libchewing-0.3.2-15.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.