ibus-avro icon indicating copy to clipboard operation
ibus-avro copied to clipboard

ibus-avro is crashing after using for few min

Open kmondal opened this issue 4 years ago • 10 comments

After I switched the input method to avro phoenetic, a few min later no more bengali typing is possible. Whatever I type, it remains in english though the input method is still on avro bengali. I tried to debug. Here is what I got. Gjs-Message: 19:44:07.775: JS WARNING: [/usr/share/ibus-avro/main-gjs.js 39]: reference to undefined property 0

P.S.: I am using avro on Ubuntu 20.04 64-bit

kmondal avatar Feb 15 '21 18:02 kmondal

Can you please show us the output from this command;:

ps ux | grep ibus

when it has stopped working. Also, does the command

ibus restart

help?

gunnarhj avatar Feb 15 '21 21:02 gunnarhj

In the mean time I found this fix from 12Nov2020 https://github.com/sarim/ibus-avro/issues/156#issuecomment-726378060 Have applied it. Then it avro failed again a few times but later worked fine. I will post an update later if I face the issue again. To my experience it seems like problem with ibus, rather than avro. For some reason the ibus is automatically getting reset from time to time. Though I am not sure, but may be it is a problem of Ubuntu 20.04. I have another machine where I have Ubuntu 18.04 and I have never faced this problem there at all.

kmondal avatar Feb 16 '21 09:02 kmondal

To my experience it seems like problem with ibus, rather than avro. For some reason the ibus is automatically getting reset from time to time. Though I am not sure, but may be it is a problem of Ubuntu 20.04.

That's one reason why it would be useful if you could answer the questions I asked.

gunnarhj avatar Feb 16 '21 11:02 gunnarhj

Here is the output of ps ux | grep ibus after avro stopped working.

kuntal 2214 0.3 0.0 592072 11228 ? Sl 11:19 0:10 ibus-daemon --panel disable --xim kuntal 7005 0.0 0.0 163040 7064 ? Sl 12:00 0:00 /usr/libexec/ibus-memconf kuntal 7006 1.2 0.0 270904 28884 ? Sl 12:00 0:02 /usr/libexec/ibus-extension-gtk3 kuntal 7008 0.0 0.0 193444 22244 ? Sl 12:00 0:00 /usr/libexec/ibus-x11 --kill-daemon kuntal 7015 0.0 0.0 236840 7148 ? Sl 12:00 0:00 /usr/libexec/ibus-portal kuntal 7025 3.0 0.2 3061488 75340 ? Sl 12:00 0:07 gjs --include-path=/usr/share/ibus-avro /usr/share/ibus-avro/main-gjs.js --ibus > /dev/null kuntal 7040 0.0 0.0 163032 7012 ? Sl 12:01 0:00 /usr/libexec/ibus-engine-simple kuntal 7250 0.0 0.0 9380 728 pts/0 S+ 12:04 0:00 grep --color=auto ibus

With ibus restart fixed this issue a couple of times. But also failed a couple of times.

kmondal avatar Feb 17 '21 11:02 kmondal

Thanks! I notice that you have an ibus-memconf process, while I have an ibus-dconf process instead. If I understand it correctly, ibus-memconf was added as an alternative with Chromium OS in mind. So why is it made use of on an Ubuntu 20.04 install?

Can't tell the significance of that, though. @sarim, does it possibly ring a bell?

gunnarhj avatar Feb 17 '21 15:02 gunnarhj

Can't tell the significance of that, though. @sarim, does it possibly ring a bell?

AFAIK dconf <-> gsettings is the default setting api in gtk/gnome land. Presence of memconf is indeed weird. Though I have no idea if it any way affects the crashing behavior. Ibus-avro itself uses gsettings to store its own config.

sarim avatar Feb 18 '21 14:02 sarim

@sarim I have the same issue in ubuntu 20.04.

faisal 1860 0.0 0.1 311516 8380 ? Sl 16:54 0:00 ibus-daemon --panel disable --xim faisal 1864 0.0 0.0 163140 7136 ? Sl 16:54 0:00 /usr/libexec/ibus-memconf faisal 1865 0.0 0.3 273216 28728 ? Sl 16:54 0:00 /usr/libexec/ibus-extension-gtk3 faisal 1869 0.0 0.2 193932 24068 ? Sl 16:54 0:00 /usr/libexec/ibus-x11 --kill-daemon faisal 1872 0.0 0.0 236944 7208 ? Sl 16:54 0:00 /usr/libexec/ibus-portal faisal 2142 0.0 0.0 163136 7064 ? Sl 16:54 0:00 /usr/libexec/ibus-engine-simple faisal 2497 0.0 0.7 2635148 62984 ? Sl 16:54 0:00 gjs --include-path=/usr/share/ibus-avro /usr/share/ibus-avro/main-gjs.js --ibus > /dev/null faisal 4531 0.0 0.0 9484 736 pts/1 S+ 17:16 0:00 grep --color=auto ibus

FaisalHaq avatar May 01 '21 14:05 FaisalHaq

I am on Ubuntu 20.04 LTS.Firefox browser. I am experiencing crashing of Avro frequently. Sometime restart of ibus also fails. I got the following result.

ashoke@Dell-3470:~$ ps ux | grep ibus ashoke 5279 0.0 0.0 852440 8028 ? Ssl 21:24 0:00 /usr/bin/ibus-daemon --daemonize --xim ashoke 5286 0.0 0.0 163052 7240 ? Sl 21:24 0:00 /usr/libexec/ibus-memconf ashoke 5289 0.0 0.2 657960 44580 ? Sl 21:24 0:00 /usr/libexec/ibus-ui-gtk3 ashoke 5293 0.2 0.1 271116 27608 ? Sl 21:24 0:00 /usr/libexec/ibus-extension-gtk3 ashoke 5295 0.0 0.1 193628 22076 ? Sl 21:24 0:00 /usr/libexec/ibus-x11 --kill-daemon ashoke 5305 0.0 0.0 238800 7100 ? Sl 21:24 0:00 /usr/libexec/ibus-portal ashoke 5318 0.0 0.0 163048 7108 ? Sl 21:24 0:00 /usr/libexec/ibus-engine-simple ashoke 5557 0.0 0.0 11460 760 pts/0 S+ 21:30 0:00 grep --color=auto ibus ashoke@Dell-3470:~$ Please help me.

akbagchi avatar Aug 20 '21 16:08 akbagchi

same problem with having dconf.. I'm using ubuntu 20.04. trying to fix with ibus-restart but after a few moment it crashes again

ahakash 1608 0.2 0.1 668072 11036 ? Sl 07:21 0:12 ibus-daemon --panel disable --xim ahakash 6679 0.0 0.1 249372 9184 ? Sl 08:44 0:00 /usr/libexec/ibus-dconf ahakash 6681 0.4 0.4 281672 29104 ? Sl 08:44 0:01 /usr/libexec/ibus-extension-gtk3 ahakash 6683 0.0 0.4 204660 23900 ? Sl 08:44 0:00 /usr/libexec/ibus-x11 --kill-daemon ahakash 6691 0.0 0.1 249328 9232 ? Sl 08:44 0:00 /usr/libexec/ibus-portal ahakash 6698 0.3 0.9 2784536 56020 ? Sl 08:44 0:01 gjs --include-path=/usr/share/ibus-avro /usr/share/ibus-avro/main-gjs.js --ibus > /dev/null ahakash 6714 0.0 0.1 175520 9072 ? Sl 08:44 0:00 /usr/libexec/ibus-engine-simple ahakash 6916 0.0 0.0 18016 732 pts/1 S+ 08:51 0:00 grep --color=auto ibus

abdullahhosenakash avatar Feb 15 '22 02:02 abdullahhosenakash

Same issue on Ubuntu 21.10

mahbubasif avatar May 25 '22 11:05 mahbubasif