Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135750

Summary: xorg-7.1, Java application seg. fault if XIM (fcitx/scim) is loaded
Product: Gentoo Linux Reporter: Chin Yee <polar88bear>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED NEEDINFO    
Severity: critical CC: bruno, cjk, gotletter, pacho
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Error log generated by sun-jdk-1.5.0.06-r2

Description Chin Yee 2006-06-06 03:53:14 UTC
Upgraded to xorg-x11-7.1 and found java applications that used to work now seg. fault upon starting. Web page containing java applets will also not displayed. 

I have XIM started in .xprofile as follows:

export LC_CTYPE="zh_CN.utf-8"
export GTK_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx
fcitx &
 
When I have fcitx commented out and restart my desktop (KDE), java applications starts normally again. I have tried switching to scim with the same result. Disable the XIM program and java applications starts normally. Re-emerge libX11 doesn't help. Below is the screen output when I start a java program from a terminal.

$ ./ganttproject.sh
2006-6-6 18:36:04 org.bardsoftware.impl.eclipsito.BootImpl run
&#20449;&#24687;: Eclipsito platform is running.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x9d9cfa86, pid=14111, tid=2638535584
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C  [libX11.so.6+0x5ea86]  _XimProtoOpenIM+0x1f6
#
# An error report file with more information is saved as /tmp/hs_err_pid14111.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
./ganttproject.sh: line 23: 14111 Aborted                 $JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE $*
Comment 1 Chin Yee 2006-06-06 03:59:51 UTC
Created attachment 88507 [details]
Error log generated by sun-jdk-1.5.0.06-r2
Comment 2 Bruno Lustosa 2006-06-25 18:29:02 UTC
I also have an issue with Sun JDK bringing down the X server when I try to open java applets on firefox (happens with epiphany also).
I think it started after the upgrade to xorg-x11-7.1.
I don't think I have XIM though.
Comment 3 Shunichi Fuji 2006-11-02 17:52:51 UTC
http://bugs.gentoo.org/show_bug.cgi?id=153880
try this anyone.
Comment 4 LXj 2008-10-05 19:09:40 UTC
Please check whether this is still reproducable with current versions of Xorg and scim in Portage
Comment 5 Pacho Ramos gentoo-dev 2010-02-16 12:56:39 UTC
Please get back to us