Continued from https://bbs.archlinux.org/viewtopic.php … 5#p1205035 because subject has changed.
Any IME (Ibus, scim, fcitx), when installed, all cause the gedit crash and segmentation fault error, in fact, this seems to not just be limited to gedit but many gtk applications.
When they IMEs are not installed, gedit etc. work fine.
Does this have something to do GTK_IM_MODULE and xim?
Basically no IME's will work at the moment (all cause gtk apps to segfault), which makes it very unusable for me....
I really need chinese support, anyone have any ideas on how to fix this?
Also, by the way, why does AUR no longer have scim-bridge?
Thank you very much.
Last edited by endor43 (2012-12-12 07:33:21)
what's your gtk3 glib2 version?
If all of non-xim im module cause gedit crash, I think the most possible reason is some related library version mistmatch, maybe you installed some custom gtk3 / glib2 ?
I was thinking something similar, but both are up to date and from arch repositories.
At any rate, I woke up this morning and it is no longer happening. I honestly have idea why, its nice to not have a problem, but disappointing to not understand.
It may come back tomorrow, so I'll keep trying to figure out whats going on and post results.
Thank you for enveryone's help.
Ah, so apparently when i innocently cleared some stuff from my ~/.bashrc file last night, I ended up deleting this line:
which causes the seegmentation faults on gtk app with all the IME's
So no segmentation faults, but......
The above line is neccessary for the IME (in my case SCIM) to work on many gtk apps. So without it i cant type Chinese in gedit etc.
So there must be a way to allow IME's to type in gtk apps without the segfault.
In fact one of our very own here on the Arch Forum chenxiaolong who is notable for his Arch Unity work, has posted what I think is a solution on another site. But I dont understand what to do.
According to his post, this has soemthign to do with gtk and the path of gtk.immodules. I tried these things:
1. copying gtk.immodules to /usr/lib/gtk-2.0/2.10.0/, and then no export in bashrc. Result=no ime in gtk apps
2. Modifying the export path in bashrc to fit the path above. Result= segfaulting
3. replacing gtk2 with gtk2-ubuntu, no exporting. Result=no ime in gtk apps
4. replacing gtk2 with gtk2-ubuntu, exporting in bashrc. Result=segfaultin
In the link he's saying something about a patch that gets gtk to recognize the new path but I am unsure of how to utilize this info.
Any help would be much appreciated.
Last edited by endor43 (2012-12-13 02:28:22)