This is a I18N (especially XIM handling) related problem and may not appear for languages not need XIM server to input text. Open Motif has it's own codes of XIM handling for widget which allow user to input text. For languages which need special handling of XIM server, e.g. Chinese, Japanese and Korean, Open Motif works quite well. But there is some rare conditions which confuses Open Motif and let it cause Segmentation Fault. The widget currently focused is disposed is one such condition. Fix: I made a patch for OpenMotif to fix the problem. Placing the patch file into /usr/ports/open-motif/files fix the problem. The patch file is at: http://matsu-www.is.titech.ac.jp/~maruyama/patch-XmIm.c How-To-Repeat: install /usr/ports/x11-toolkits/open-motif then install /usr/ports/java/jdk13. Installing /usr/ports/java/jdk13 directly isn't enough because jdk13 ports uses binary version of Motif (/usr/ports/x11-toolkits/open-motif-devel). I think open-motif-devel also has the same problem but I'm not sure because I cannot debug jdk13 with binary version of Motif. How to repeat the problem may not be easy for non CJK environment because it need to setup CJK environment. So I don't write how to setup CJK env here. To reproduce the problem on Japanese environment, it is simple. $ setenv LANG ja_JP.EUC $ kinput2 & $ cd /usr/local/jdk1.3.1/demo/applets/ArcTest $ ../../../bin/appletviewer example1.html
Fuyuhiko Maruyama wrote: [snip] > >Fix: > I made a patch for OpenMotif to fix the problem. > Placing the patch file into /usr/ports/open-motif/files fix the problem. > The patch file is at: > http://matsu-www.is.titech.ac.jp/~maruyama/patch-XmIm.c how about submitting a bug report (/usr/X11R6/share/doc/openmotif/BUGREPORT) to the Open Group ? Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net
At Sat, 8 Sep 2001 15:25:51 +0200 (CEST), Cyrille Lefevre wrote: > > Fuyuhiko Maruyama wrote: > [snip] > > >Fix: > > I made a patch for OpenMotif to fix the problem. > > Placing the patch file into /usr/ports/open-motif/files fix the problem. > > The patch file is at: > > http://matsu-www.is.titech.ac.jp/~maruyama/patch-XmIm.c > > how about submitting a bug report (/usr/X11R6/share/doc/openmotif/BUGREPORT) > to the Open Group ? > > Cyrille. > -- > Cyrille Lefevre mailto:clefevre@citeweb.net I've already reported that using Motifzone's bugzilla system, but I'm not sure how quickly Open Group works. -- Fuyuhiko MARUYAMA <fuyuhik8@is.titech.ac.jp> Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology.
Responsible Changed From-To: freebsd-ports->steve Over to maintainer.
Open Motif group send an email me to tell the problem I met is resolved in their CVS. I hope the next release(current release is Open Motif-2.2) of Open Motif resolve our problem. Thanks, -- Fuyuhiko MARUYAMA <fuyuhik8@is.titech.ac.jp>
State Changed From-To: open->closed Committed, thanks!