Bug 1055065

Summary: [abrt] ibus: g_settings_schema_get_value(): ibus-ui-gtk3 killed by SIGTRAP
Product: [Fedora] Fedora Reporter: das <das>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: das, i18n-bugs, mail, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/76fa4aba0c7a00f10bebeae2236d97a0f96621f7
Whiteboard: abrt_hash:d903757ee64be0ec3d807fc6cba5f706d1b42449
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-22 02:39:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description das 2014-01-18 14:55:02 UTC
Description of problem:
The machine did just boot and I logged in. That very moment the error showed up. 

Version-Release number of selected component:
ibus-1.5.5-1.fc20

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        /usr/libexec/ibus-ui-gtk3
crash_function: g_settings_schema_get_value
executable:     /usr/libexec/ibus-ui-gtk3
kernel:         3.12.7-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 g_settings_schema_get_value at gsettingsschema.c:640
 #3 g_settings_schema_key_init at gsettingsschema.c:805
 #4 g_settings_get_value at gsettings.c:1074
 #5 g_settings_get_int at gsettings.c:1610
 #6 panel_set_timeout_property_panel at panel.c:1417
 #7 panel_load_settings at panel.c:1778
 #8 emit_signal_instance_in_idle_cb at gdbusconnection.c:3743
 #13 gtk_main at gtkmain.c:1158
 #14 application_run at application.c:199
 #15 application_main at application.c:269

Comment 1 das 2014-01-18 14:55:13 UTC
Created attachment 852004 [details]
File: backtrace

Comment 2 das 2014-01-18 14:55:16 UTC
Created attachment 852005 [details]
File: cgroup

Comment 3 das 2014-01-18 14:55:20 UTC
Created attachment 852006 [details]
File: core_backtrace

Comment 4 das 2014-01-18 14:55:29 UTC
Created attachment 852007 [details]
File: dso_list

Comment 5 das 2014-01-18 14:55:33 UTC
Created attachment 852008 [details]
File: environ

Comment 6 das 2014-01-18 14:55:36 UTC
Created attachment 852009 [details]
File: limits

Comment 7 das 2014-01-18 14:55:43 UTC
Created attachment 852010 [details]
File: maps

Comment 8 das 2014-01-18 14:55:47 UTC
Created attachment 852011 [details]
File: open_fds

Comment 9 das 2014-01-18 14:55:52 UTC
Created attachment 852012 [details]
File: proc_pid_status

Comment 10 das 2014-01-18 14:55:57 UTC
Created attachment 852013 [details]
File: var_log_messages

Comment 11 Marius Hoch 2014-01-18 16:02:30 UTC
Just wanted to note that downgrading all ibus components to 1.5.4-2.fc20 fixed the problem for me.

Comment 12 fujiwara 2014-01-20 03:02:38 UTC
Did you install ibus with yum?

Comment 13 das 2014-01-20 09:32:46 UTC
Dear Fujiwara

Not exactly yum but I used yumex to install all the files. Ibus was installed when I installed all the components shown by yumex after searched for 'bengali' in yumex.

Comment 14 fujiwara 2014-01-20 10:05:19 UTC
(In reply to das from comment #13)
> Dear Fujiwara
> 
> Not exactly yum but I used yumex to install all the files. Ibus was
> installed when I installed all the components shown by yumex after searched
> for 'bengali' in yumex.

Do you see any errors when you restart ibus with verbose option?

% ibus exit
% ibus-daemon --xim --verbose

Are you able to get the gsettings value?

% gsettings get org.freedesktop.ibus.panel auto-hide-timeout
10000

Comment 15 Marius Hoch 2014-01-20 23:56:20 UTC
Guess it's ok if I reply, although I wasn't asked (got the same problem, obviously)

(In reply to fujiwara from comment #14)
> Do you see any errors when you restart ibus with verbose option?
> 
> % ibus exit
> % ibus-daemon --xim --verbose
Only difference between the versions:
(ibus-ui-gtk3:11241): GLib-GIO-ERROR **: Settings schema 'org.freedesktop.ibus.panel' does not contain a key named 'auto-hide-timeout'

> 
> Are you able to get the gsettings value?
> 
> % gsettings get org.freedesktop.ibus.panel auto-hide-timeout
> 10000
$ gsettings get org.freedesktop.ibus.panel auto-hide-timeout
No such key 'auto-hide-timeout'

Comment 16 fujiwara 2014-01-21 02:13:55 UTC
OK, I guess you would use selinux-policy-3.12.1-116.fc20 and you might see an script error during ibus installation.

After the instruction is done below, selinux will be selinux-policy-3.12.1-117.fc20.
https://bugzilla.redhat.com/show_bug.cgi?id=1054350#c49


And I think you need to reinstall ibus.

Comment 17 das 2014-01-21 08:46:01 UTC
@fujiwara

This is the output of all the operations you asked:

<<<
[dd@mamdo ~]$ ibus exit
[dd@mamdo ~]$  ibus-daemon --xim --verbose

(ibus-ui-gtk3:14185): IBUS-WARNING **: ibus_bus_call_sync: org.freedesktop.DBus.Properties.Get: GDBus.Error:org.freedesktop.DBus.Error.Failed: No global engine.

(ibus-ui-gtk3:14185): GLib-GIO-ERROR **: Settings schema 'org.freedesktop.ibus.panel' does not contain a key named 'auto-hide-timeout'
ibus-m17n-Message: skipped m17n:sr:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:ua:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:ug:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:lo:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:he:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:ko:romaja since its rank is lower than 0
ibus-m17n-Message: skipped m17n:ko:han2 since its rank is lower than 0
ibus-m17n-Message: skipped m17n:ar:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:ru:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:cmc:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:hy:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:cs:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:el:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:kk:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:be:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:ka:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:uz:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:sk:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:my:kbd since its rank is lower than 0
ibus-m17n-Message: skipped m17n:hr:kbd since its rank is lower than 0


^C
[dd@mamdo ~]$  gsettings get org.freedesktop.ibus.panel auto-hide-timeout
No such key 'auto-hide-timeout'
[dd@mamdo ~]$ 

>>>

Shall I now deinstall ibus and reinstall it? Which version? And, should I deactivate Selinux?

Comment 18 das 2014-01-21 08:49:08 UTC
@Hoch

I gave the output of your question too in the earlier reply.

Comment 19 fujiwara 2014-01-21 09:03:50 UTC
(In reply to das from comment #17)
> Shall I now deinstall ibus and reinstall it? Which version? And, should I
> deactivate Selinux?


You need to follow the instruction in https://bugzilla.redhat.com/show_bug.cgi?id=1054350#c49 before deinstall and reinstall ibus.

The current latest ibus is ibus-1.5.5-1.

I think deactivating selinux is not enough.
The instruction explains the steps.

Comment 20 das 2014-01-21 10:05:38 UTC
@fujiwara

I did exactly as you said. All the steps.

Then I rebooted the machine and logged in. There is the ibus icon now, without the abrt bug-icon showing up as it was happening before. But, ibus has become non-functional in terms of Bengali (India). When I tried to add BN_India Probhat Keyboard as I always did before, ibus is not showing that option at all. After 'Arabic' it is showing 'Bulgarian' without any 'Bengali' option at all. 

What to do now?

Thanks in advance.

Comment 21 Marius Hoch 2014-01-21 16:07:38 UTC
I was able to fix my problems this way, thanks! (Using a Russian transliteration layout)

Comment 22 fujiwara 2014-01-22 02:39:14 UTC

*** This bug has been marked as a duplicate of bug 1054350 ***

Comment 23 fujiwara 2014-01-22 02:52:26 UTC
(In reply to das from comment #20)
> But, ibus
> has become non-functional in terms of Bengali (India). When I tried to add
> BN_India Probhat Keyboard as I always did before, ibus is not showing that
> option at all. After 'Arabic' it is showing 'Bulgarian' without any
> 'Bengali' option at all. 

Which desktop do you use?
If you use GNOME, 'gnome-control-center region' command can add the keyboards.
If you use non GNOME, 'ibus-setup' command can add the keyboards in "Input Method" tab.

I guess you ask ibus-m17n. Did you install ibus-m17n?

If you still cannot show 'Bengali' -> 'probhat', I'd ask you to attach the screenshot and the result of 'ibus read-cache' in this report.

Comment 24 das 2014-01-22 03:25:21 UTC
(In reply to fujiwara from comment #23)
> (In reply to das from comment #20)
> > But, ibus
> > has become non-functional in terms of Bengali (India). When I tried to add
> > BN_India Probhat Keyboard as I always did before, ibus is not showing that
> > option at all. After 'Arabic' it is showing 'Bulgarian' without any
> > 'Bengali' option at all. 
> 
> Which desktop do you use?
> If you use GNOME, 'gnome-control-center region' command can add the
> keyboards.
> If you use non GNOME, 'ibus-setup' command can add the keyboards in "Input
> Method" tab.
> 
> I guess you ask ibus-m17n. Did you install ibus-m17n?
> 
> If you still cannot show 'Bengali' -> 'probhat', I'd ask you to attach the
> screenshot and the result of 'ibus read-cache' in this report.

Thank you fujiwara

Today I had some Bengali work to do, and you made my day in the very morning. Thanks again.

Yes, ibus-m17n was not installed. After I installed it and restarted the machine, I got everything as I am used to. But, the only question is, before this incident I was using Bengali_IN Probhat a lot to type in Bengali, so, obviously ibus-m17n was installed. How come it became deinstalled in the first place? Must be some error I did stupidly, I presume. Anyway, my problem is solved.

Comment 25 das 2014-01-22 03:27:17 UTC
Oh, I forgot to answer to your question: I use XFCE. A lot of time back some problem in ibus came due to some mismatch between Gnome and Xfce, if I am remembering correctly.

Comment 26 fujiwara 2014-01-22 04:23:45 UTC
(In reply to das from comment #24)
> machine, I got everything as I am used to. But, the only question is, before
> this incident I was using Bengali_IN Probhat a lot to type in Bengali, so,
> obviously ibus-m17n was installed. How come it became deinstalled in the
> first place? Must be some error I did stupidly, I presume. Anyway, my
> problem is solved.

Just now I noticed your previous comment in comment 17:

(In reply to das from comment #17)
> [dd@mamdo ~]$  ibus-daemon --xim --verbose
...
> ibus-m17n-Message: skipped m17n:sr:kbd since its rank is lower than 0
> ibus-m17n-Message: skipped m17n:ua:kbd since its rank is lower than 0

It means you had ibus-m17n when you got this bug.
You might uninstall ibus-m17n when selinux is fixed and ibus is reinstalled.
I think every ibus engine also needs to be reinstalled after selinux is fixed.