[Bug 231379] In ja_JP.eucJP environment xterm and kterm crushes with segmentation fault.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 15 10:36:59 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231379

            Bug ID: 231379
           Summary: In ja_JP.eucJP environment xterm and kterm crushes
                    with segmentation fault.
           Product: Base System
           Version: 11.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: kh at mogami.com

In ja_JP.eucJP locale environment (ports/x11/)xterm and (ports/japanese/)kterm 
crushes with segmentation fault.

How-To-Repeat:

With 11.2-RELEASE(amd64|i386) and installed port/x11/xorg only,

1) add bellow line to /root/.profile (which is default)
  export LC_ALL="ja_JP.eucJP"
2) login as root then type
  startx (will produces 3 xterm windows)
3) In one of xterm window press key like
  Alt-A (or Alt-B, Alt-C, .. Alt-1, Alt-4, ..)

xterm will crush with segmentation fault.

This problem also occures in ports/japanese/kterm,
and it makes impossible input or paste japanese kanji character.
For the case of kterm, in charproc.c bcnt = read() (opened with FIONBIO)
returns 0 then called Panic().

This problem does not occur in the 10.4-RELEASE installing the *same*
ports.tar.gz, so it suggests kernel bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list