From owner-freebsd-ports Sun Mar 26 18:30: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1FF7F37BA61 for ; Sun, 26 Mar 2000 18:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA55422; Sun, 26 Mar 2000 18:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from hsw.generalresources.com (z12.generalresources.com [210.242.169.12]) by hub.freebsd.org (Postfix) with ESMTP id EBDC937BA7F for ; Sun, 26 Mar 2000 18:21:05 -0800 (PST) (envelope-from hsw@hsw.generalresources.com) Received: (from hsw@localhost) by hsw.generalresources.com (8.9.3/8.9.3) id KAA79287; Mon, 27 Mar 2000 10:20:59 +0800 (CST) (envelope-from hsw) Message-Id: <200003270220.KAA79287@hsw.generalresources.com> Date: Mon, 27 Mar 2000 10:20:59 +0800 (CST) From: Christopher Hall Reply-To: Christopher Hall To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17612: x11-fonts/intlfonts crashes X (Big5 encoding) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17612 >Category: ports >Synopsis: x11-fonts/intlfonts crashes X (Big5 encoding) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 26 18:30:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Christopher Hall >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: intlfonts-1.2 XFree86-3.3.6 ja-xemacs-canna-21.1.9 ja-xemacs-sumo-canna-21.1 exmh-2.1.1 tcl-8.2.3 tk-8.2.3 >Description: When trying to display a Big5 encoded file (XEmacs) or receiving an email with charset=big5 (exmh): the Xserver (XF86_SVGA) crashes; the X display disappears and the screen returns to ttyv0. Logging in and running top shows that the Xserver is consuming 85..95% of CPU. A kill -9 is necessary to to stop it, which returns to xdm login screen. I also discovered that forcing XEmacs to use a 16 pixel font stops the crash. (i.e. adding Emacs.Font: -*-*-medium-r-*--16-*-*-*-*-*-*-* to .Xdefaults) The reason for the crash seems to be scaling the Taipei16 font. I encountered this file (taipei16.bdf) when it used to be in chinese/big5fonts; I believe its header to be corrupt, it has some strange items unlike any of the cns 16 pixel fonts in the same directory. taipei24.bdf might need similar changes. >How-To-Repeat: The fastest way I found to to cause the crash was to select the 'Show many languages (C-h h)' from XEmacs 'mule' menu. >Fix: Here is a patch to modify the header of taipei16.bdf I based the header on one of the cns 16 pixel fonts. (the resulting scaled font is extremely ugly, but at least this patch stops the crash) begin 644 patch-aa M+2TM($-H:6YE&5D+4UE9&EU M;2U2+4YORelease-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message