[comp.windows.x] kinput problem

dimitar@quintus.UUCP (Dimitar Bojantchev) (09/29/90)

I am having a problem running kinput on SUN4/110 under OS 4.03.
It consits of a segmentation fault. Any patches, workarounds?

========== begin session ============

(dbx) run
Running: kinput
signal SEGV (segmentation violation) in strcpy at 0xf77034ac
0xf77034ac:     ld      [%i1], %i3
(dbx) where
strcpy() at 0xf77034ac
js_open() at 0x12518
useServer() at 0xc550
jiOpenServer() at 0xd348
`KanjiInput`Initialize() at 0x2548
CallInitialize() at 0x20e6c
_XtCreate() at 0x211b0
_XtCreateWidget() at 0x214e4
XtCreateWidget() at 0x21584
XtCreateManagedWidget() at 0x215a8
createConvWidget() at 0x6a08
makeInitialConverter() at 0x64a8
main() at 0x6420
(dbx)

========== end session ============


Thanks,

	Dimitar

-- 
Dimitar Bojantchev                    ARPANET: quintus!dimitar@SUN.COM
Quintus Computer Systems, Inc.                 ...sun!quintus!dimitar
1310 Villa Street                     tel. (415) 965-7700 Ext. 314 (work)
Mountain View, CA 94041                    (415) 964-4361          (home)

ishisone@sran10.sra.co.jp (Makoto Ishisone) (10/01/90)

In article <1428@quintus.UUCP>,
Teknowledge.COM!unix!quintus!dimitar@beaver.cs.washington.edu
(Dimitar Bojantchev) writes:
>I am having a problem running kinput on SUN4/110 under OS 4.03.
>It consits of a segmentation fault. Any patches, workarounds?
>
>========== begin session ============
>
>(dbx) run
>Running: kinput
>signal SEGV (segmentation violation) in strcpy at 0xf77034ac
>0xf77034ac:     ld      [%i1], %i3
>(dbx) where
>strcpy() at 0xf77034ac
>js_open() at 0x12518
>useServer() at 0xc550
>jiOpenServer() at 0xd348
> ...

I suspect you don't specify jserver (a kanji-conversion daemon
which kinput uses as conversion engine) hostname in any of resource file,
command-line options and environment variables. Try this:
	% kinput -jserver <hostname-on-which-jserver-is-running>
You can do it by setting environment variable 'JSERVER', too.

This unfriendly action (dumping core) was fixed by kinput fix#1.
There are 3 patches available for kinput, so you should get them and apply.
Patch files are expo.lcs.mit.edu:contrib/R4fixes/kinput/kinput.fix.[123].
You can get them by anonymous ftp.
If you don't have ftp access, please let me know. I'll send by e-mail.

					Makoto Ishisone
					Software Research Associates, Inc.
					ishisone@sra.co.jp