Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721984 - app-i18n/ibus-hangul-1.5.3: when switching the input method to Korean, 'ibus-engin-han' will be terminated immediately
Summary: app-i18n/ibus-hangul-1.5.3: when switching the input method to Korean, 'ibus-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-10 07:24 UTC by Jinseop Kim
Modified: 2020-05-18 14:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jinseop Kim 2020-05-10 07:24:14 UTC
journalctl:
May 10 15:23:54 vmfhrmfoaj-desktop kernel: traps: ibus-engine-han[4452] trap int3 ip:7f1c1564c707 sp:7fffde51dc30 error:0 in libg>
May 10 15:23:54 vmfhrmfoaj-desktop systemd[1]: Started Process Core Dump (PID 4458/UID 0).
May 10 15:23:54 vmfhrmfoaj-desktop systemd-coredump[4459]: Process 4452 (ibus-engine-han) of user 1000 dumped core

coredumpctl debug:
#0  0x00007f1c1564c707 in g_log_structured_array () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f1c1564cb95 in g_log_default_handler () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1c1564ce25 in g_logv () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1c1564d0a7 in g_log () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f1c158735ea in  () at /usr/lib64/libgio-2.0.so.0
#5  0x00007f1c15873ccf in  () at /usr/lib64/libgio-2.0.so.0
#6  0x00007f1c15877c6d in g_settings_get_value () at /usr/lib64/libgio-2.0.so.0
#7  0x000055f26ba73ce9 in  ()
#8  0x000055f26ba70a3d in  ()
#9  0x00007f1c15441e1b in __libc_start_main () at /lib64/libc.so.6
#10 0x000055f26ba70c1a in  ()

I digged this problem.

In my system, there is no 'preedit-mode'[1][2].
But, there is 'preedit-mode' in a schema file[3] of 'ibus-hangul'.

After running 'glib-compile-schemas /usr/share/glib-2.0/schemas', 'ibus-hangul' works fine.
I think ibus-hangul-1.5.3.ebuild should be updated to call 'gnome2_schemas_update' in 'pkg_postinst' and 'pkg_postrm'.

[1] 'preedit-mode' was added in 1.5.2.
[2] gsettings get org.freedesktop.ibus.engine.hangul preedit-mode
[3] /usr/share/glib-2.0/schemas/org.freedesktop.ibus.engine.hangul.gschema.xml

Reproducible: Always

Steps to Reproduce:
1. Switch the input method to Korean
Actual Results:  
Can't type for about 10 seconds.

Expected Results:  
Can type Korean.
Comment 1 Jinseop Kim 2020-05-11 07:39:33 UTC
FYI, I updated from version 1.5.1-r1.
Comment 2 Larry the Git Cow gentoo-dev 2020-05-18 14:51:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=397c48d8b5880c11962da23330e60058d36401e0

commit 397c48d8b5880c11962da23330e60058d36401e0
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2020-05-18 14:42:13 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-05-18 14:42:13 +0000

    app-i18n/ibus-hangul: call gnome2_schemas_update
    
    Closes: https://bugs.gentoo.org/721984
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 app-i18n/ibus-hangul/ibus-hangul-1.5.1-r2.ebuild | 5 +++--
 app-i18n/ibus-hangul/ibus-hangul-1.5.3-r1.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f0a668af402461290258541f312375f47a7f6e5

commit 7f0a668af402461290258541f312375f47a7f6e5
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2020-05-18 14:39:42 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-05-18 14:39:42 +0000

    app-i18n/ibus-hangul: use xdg eclass
    
    Bug: https://bugs.gentoo.org/721984
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 .../{ibus-hangul-1.5.1-r1.ebuild => ibus-hangul-1.5.1-r2.ebuild}  | 8 +++++++-
 .../{ibus-hangul-1.5.3.ebuild => ibus-hangul-1.5.3-r1.ebuild}     | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)