Date: Mon, 27 Mar 2000 10:20:59 +0800 (CST) From: Christopher Hall <hsw@acm.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/17612: x11-fonts/intlfonts crashes X (Big5 encoding) Message-ID: <200003270220.KAA79287@hsw.generalresources.com>
next in thread | raw e-mail | index | archive | help
>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<V4O=&%I<&5I,38N8F1F+F]R:6<)5V5D(%-E<"`R-"`Q,SHP M.3HS."`Q.3DW"BLK*R!#:&EN97-E+W1A:7!E:3$V+F)D9@E&<FD@36%R(#(T M(#(R.C$X.C`Q(#(P,#`*0$`@+3<L,3D@*S<L,C8@0$`*($9/3E0@+45496XM M1FEX960M365D:75M+5(M3F]R;6%L+2TQ-BTQ-3`M-S4M-S4M0RTQ-C`M0FEG M-2Y%5&5N+3`*(%-)6D4@,34@-S4@-S4*($9/3E1"3U5.1$E.1T)/6"`Q-B`Q M-2`P("TR"BU35$%25%!23U!%4E1)15,@,3(**U-405)44%)/4$525$E%4R`Q M.0HK1D].5$Y!345?4D5'25-44ED@(B(**T9/54Y$4ED@(D5496XB"BM&04U) M3%E?3D%-12`B1FEX960B"BM714E'2%1?3D%-12`B365D:75M(@HK4TQ!3E0@ M(E(B"BM3151724142%].04U%(").;W)M86PB"BM!1$1?4U193$5?3D%-12`B M(@HK4$E814Q?4TE:12`Q-@HK4$])3E1?4TE:12`Q-3`**U)%4T],551)3TY? M6"`W-0HK4D533TQ55$E/3E]9(#<U"BM34$%#24Y'(")#(@HK059%4D%'15]7 M24142"`Q-C`**T-(05)3151?4D5'25-44ED@(D))1S4N151E;B(**T-(05)3 M151?14Y#3T1)3D<@(C`B"B!&3TY47T%30T5.5"`Q,PH@1D].5%]$15-#14Y4 M(#(*($1%1D%53%1?0TA!4B`T,3(X,`H@0T]065))1TA4(")0=6)L:6,@1&]M M86EN(@HM4$])3E1?4TE:12`Q-3`*+49/3E0@(BU%5&5N+49I>&5D+4UE9&EU M;2U2+4YO<FUA;"TM,38M,34P+3<U+3<U+4,M,38P+4)I9S4N151E;BTP(@HM M5T5)1TA4(#$P"BU215-/3%5424].(#$P,PHM4D533TQ55$E/3E]8(#<U"BU2 M15-/3%5424].7UD@-S4*+5A?2$5)1TA4(#0R.30Y-C<R.34*+5%5041?5TE$ M5$@@,38*($5.1%!23U!%4E1)15,*($-(05)3(#$S-3`S"B!35$%25$-(05(@ ",`H@ ` end >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003270220.KAA79287>