X crashed when loading international (Korean) truetype font. I use nvidia-kernel and have no problem before using Korean font # emerge --pretend --verbose xorg-x11 freetype baekmuk-fonts [ebuild R ] x11-base/xorg-x11-6.8.0-r4 -3dfx -3dnow +bitmap-fonts +cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers -ipv6 -minimal -mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv [ebuild R ] media-libs/freetype-2.1.5-r1 -bindist +cjk -debug -doc +zlib [ebuild R ] media-fonts/baekmuk-fonts-2.2 +X -unicode "baekmuk-fonts" provides bitmap fonts and truetype(.ttc) fonts. When I select truetype version using xfontsel, the server crashed. (The screen is blacked, and keyboard doesn't work. but the system is still alive. I can ssh from another machine.) The /var/log/Xorg.0.log says Fatal server error: Caught signal 11. Server aborting. I thought the blame should be gone to "baekmuk-fonts" pacakge, but when I install Windows truetype font, gulim.ttc (also Korean), and select it using xfontsel, the server still crashed. I installed gentoo in 2 systems: (P Celeron 1GHZ): CFLAGS='-march=pentium2 -O2 -pipe -fomit-frame-pointer' USE='X gtk gnome gtk2 alsa' (P M 1.7GHZ): CFLAGS='-march=pentium3 -O2 -pipe -fomit-frame-pointer -msse2' USE='X gtk gnome gtk2 alsa cjk -ipv6' Both system crashed. :-( Strangely, when I sshed gentoo system (from Fedora Core 2), launched xfontsel, I can select the korean ttf font without trouble. Reproducible: Always Steps to Reproduce: 0. The system must have "baekmuk-fonts" installed 1. launch startx 2. launch xfontsel 3. select any baekmuk ttf font (e.g. "baekmuk gulim"). Actual Results: then X crashed (screen blacked, keyboard doesn't work, but still I can ssh from another machine) Expected Results: Simple, xfontsel must not crash X server itself. and xfontsel must load the appropriate baekmuk ttf font.
*** Bug 79444 has been marked as a duplicate of this bug. ***
Created attachment 49510 [details] baekmuk.png I can't reproduce your problem with xorg-x11 6.8.1.902 -- I attached a screenshot of my attempt. Can you?
There is another person who experience same problem, he reports that when I use xfs enabled, and if I select "registry" to "ksc5601.1987" before select "family", it would not crash. He suspect that if I choose "family" first, X tries "baekmuk batang" using invalid (unavailable) encoding, thus crashed. Perhaps this help? Of course, I cannot attached the problem screenshot. Whenever I try "baekmuk batang" family first in xfontsel, X crashed.
I did the selection from left to right, so family would have been before encoding. When a selection isn't available for a given encoding (or any other combination of options), it grays out -- it wouldn't let you select it and then crash. Also, I use xfs too. I was getting some segfaults when I started it though, so I manually ran mkfontscale in there. What I meant by "Can you?" is, can you try 6.8.1.902 and reproduce there?
It tooks some time to rebuild X, but to make a long story short, NO, the sympton doesn't happen when I upgrade packages as you mentioned. I can select baekmuk truetype fonts, even I can select Korean font copied from my Windows system. (No problem so far!) I upgraded to the masked package, xorg-x11-6.8.1.902. emerge requires to upgrade freetype package also. These are the packages that I would merge, in order: # emerge --pretend --verbose xorg-x11 freetype Calculating dependencies ...done! [ebuild UD] x11-base/xorg-x11-6.8.0-r4 [6.8.1.902] -3dfx -3dnow +bitmap-fonts +cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB [ebuild UD] media-libs/freetype-2.1.5-r1 [2.1.9-r1] -bindist -cjk -debug -doc +zlib 830 kB Total size of downloads: 830 kB # _ But I think my previous installation of xorg-x11-6.8.0-r4 should be fixed this bug anyway.. don't know what causes the problem yet. Thank you very much.
OK, so we know the problem's fixed in the newest stuff. You might want to unmask them in /etc/portage/package.keywords, so you can emerge world safely: =x11-base/xorg-x11-6.8.1.902 ~x86 =media-libs/freetype-2.1.9-r1 ~x86