[Bug 1117502] New: xemacs Unable to load any usable
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 Bug ID: 1117502 Summary: xemacs Unable to load any usable Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: ericj@mcalvin.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Build Identifier: With locale set to en_US.UTF-8, xemacs (and xclock and xfd) all show the warning: Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Note that this issue did not exist in Leap 42.3. It appeared in 15.0. Reproducible: Always Steps to Reproduce: 1. ensure locale is set to: en_US.UTF-8 2. run: xemacs Actual Results: Console shows warning: Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset And xemacs (vm mail module) will not be able to display mail. Error displayed is: xintl/error Can't initialize XIM: Can't get fontset resource for Input Method Expected Results: xemacs should not display that warning, and vm module will be able to display the mail without that error message. As a workaround, you can run: export LANG=en_US xemacs Which corrects the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 Eric McAlvin <ericj@mcalvin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ericj@mcalvin.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(ericj@mcalvin.com | |) --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Please attach output of commands xlsfonts and locale -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c2 --- Comment #2 from Eric McAlvin <ericj@mcalvin.com> --- Created attachment 791159 --> http://bugzilla.opensuse.org/attachment.cgi?id=791159&action=edit locale output -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c3 Eric McAlvin <ericj@mcalvin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ericj@mcalvin.com | |) | --- Comment #3 from Eric McAlvin <ericj@mcalvin.com> --- Created attachment 791160 --> http://bugzilla.opensuse.org/attachment.cgi?id=791160&action=edit xlsfonts output xlsfonts and locale output attached. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #791160|text/x-vhdl |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c4 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(ericj@mcalvin.com | |) --- Comment #4 from Stefan Dirsch <sndirsch@suse.com> --- Hmm weird. Nothing suspicious. Things like this don't work either? $ xfd -fn "-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso10646-1" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c5 --- Comment #5 from Eric McAlvin <ericj@mcalvin.com> --- That command shows the following on the console when launching it: $ xfd -fn "-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso10646-1" Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset And attached is a screenshot of what the xfd displayed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c6 Eric McAlvin <ericj@mcalvin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ericj@mcalvin.com | |) | --- Comment #6 from Eric McAlvin <ericj@mcalvin.com> --- Created attachment 791174 --> http://bugzilla.opensuse.org/attachment.cgi?id=791174&action=edit screenshot of xfd -fn "-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso10646-1" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c7 --- Comment #7 from Stefan Dirsch <sndirsch@suse.com> --- Ok. So it's just a warning! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c8 --- Comment #8 from Eric McAlvin <ericj@mcalvin.com> --- However, for xemacs vm module, it does cause a real problem and throws the exception. Is there a way to tell exactly what fontset it is trying to load? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c9 --- Comment #9 from Stefan Dirsch <sndirsch@suse.com> --- I'm neither an expert for fontsets nor for xemacs. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c10 Michal Srb <msrb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msrb@suse.com Flags| |needinfo?(ericj@mcalvin.com | |) --- Comment #10 from Michal Srb <msrb@suse.com> --- I get the same warning message on my Leap 15. However, when I set the LANG=en_US, I still get the same warning. The warning message comes from XtCvtStringToFontSet function from the libXt library. If you have the default configuration of X resources, it will try to retrieve font matching "-*-*-*-R-*-*-*-120-*-*-*-*,*" pattern. In my case it selects Arial. The missing charsets are: "ISO8859-1", "ISO8859-1", "ISO8859-2", "ISO8859-3", "ISO8859-4", "ISO8859-5", "KOI8-R", "ISO8859-7", "ISO8859-9", "ISO8859-13", "ISO8859-14", "ISO8859-15", "JISX0208.1983-0", "KSC5601.1987-0", "GB2312.1980-0", "JISX0201.1976-0", "ISO10646-1" But the function just prints the warning message, fress this list and then proceeds just like if nothing happens. Erik, when you use the LANG=en_US workaround, does it fix the xemacs issue *and* the warning message, or just fixes the xemacs issue while the warning remains? Can you provide some more information how to get/use the xemacs vm module? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c11 --- Comment #11 from Eric McAlvin <ericj@mcalvin.com> --- Created attachment 791345 --> http://bugzilla.opensuse.org/attachment.cgi?id=791345&action=edit example xemacs vm config, save as ~/.vm example xemacs vm config, save as ~/.vm -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c12 --- Comment #12 from Eric McAlvin <ericj@mcalvin.com> --- Created attachment 791346 --> http://bugzilla.opensuse.org/attachment.cgi?id=791346&action=edit example xemacs config, save as ~/.emacs example xemacs config, save as ~/.emacs -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c13 Eric McAlvin <ericj@mcalvin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ericj@mcalvin.com | |) | --- Comment #13 from Eric McAlvin <ericj@mcalvin.com> --- I have uploaded a sample emacs config and vm config. The vm module is bundled with the xemacs RPM that comes with openSUSE Leap 15.0. After savings these attached files as: ~/.emacs ~/.vm Launch 'xemacs'. To get into the VM module, go to menu drop down: Tools_ Internet --> Read Mail 1 (VM). It will prompt you for your IMAP password. For me, if I export LANG=en_US ; xemacs , the warning no longer appears and xemacs vm module works. It displays the contents of the emails. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c14 Michal Srb <msrb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|xorg-maintainer-bugs@forge. |msrb@suse.com |provo.novell.com | --- Comment #14 from Michal Srb <msrb@suse.com> --- Thank you Eric, I was able to reproduce the problem in xemacs now. It seems that my locale is a bit different, because setting LANG=en_US does not fix it, but setting LC_ALL=en_US does fix it. I'll investigate... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c15 --- Comment #15 from Michal Srb <msrb@suse.com> --- The culprit is a failure coming from the XCreateIC function. It is creating message for the IM server and runs out of space in a buffer because of attribute "fontSet" which is 999 characters long: "-misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1," .. cut .. "0-75-75-p-60-iso10646-1" (misc-fixed-bold font with 11 different locales and some other fonts with other locales). When I use the en_US locale, that attribute is only 109 bytes long and fits into the buffer. (Only "iso8859-1" locale, but repeated twice..) I am not an expert on XIM, but as I understand it, it is trying to get input method capable of writing all those charsets. The IM code in libX11 is big mess, I don't dare to touch it to implement some dynamic resizing. I tried to increase the size of the buffer and it fixed the issue. I think that's our best way forward, considering that it is rather legacy software. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c16 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Ulrich.Windl@rz.uni-regensb | |urg.de --- Comment #16 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- See also bug 1118557. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117502 http://bugzilla.opensuse.org/show_bug.cgi?id=1117502#c28 --- Comment #28 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- The point is that this bug seemed to be newly introduced in Leap 15.0, and xemacs is not the only product affected. See also bug 1118557. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com