Bug 936

Summary: xedit/xmore crashes on Solaris
Product: xorg Reporter: Roland Mainz <roland.mainz>
Component: App/xeditAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high CC: alan.coopersmith, elfabre, matthieu.herrb
Version: unspecified   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description Roland Mainz 2004-07-28 14:41:08 UTC
2004-07-27-trunk, "xmore" crashes on Solaris.

Steps to reproduce:
1. Build Xorg tree:
% make World
2. Try to run xmore
% cd programs/xmore
% man ls >/tmp/ls_man.txt 
Reformatting page.  Please Wait... done
% (LD_LIBRARY_PATH=$PWD/../../exports/lib/ ./xmore /tmp/ls_man.txt)

Result:
-- snip --
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Warning: Cannot convert string
"-adobe-courier-medium-r-normal--12-*-*-*-*-*,-*-*-*-*-*-*-12-*-*-*-*-*" to type
FontSet
Warning: Unable to load any usable fontset
Warning: No Memory, or Locale not supported.
Warning: text: The file `/tmp/ls_man.txt' contains characters not representable
in this locale.
Warning: No Memory, or Locale not supported.
Segmentation Fault (core dumped)
-- snip --

Expected result:
Working text browser (and no core dump).
Comment 1 Roland Mainz 2004-07-28 14:47:12 UTC
.... and xedit crashes, too.
Comment 2 Matthieu Herrb 2004-09-11 05:14:53 UTC
(In reply to comment #0)
> 2004-07-27-trunk, "xmore" crashes on Solaris.
> 
> Steps to reproduce:
> 1. Build Xorg tree:
> % make World
> 2. Try to run xmore
> % cd programs/xmore
> % man ls >/tmp/ls_man.txt 
> Reformatting page.  Please Wait... done
> % (LD_LIBRARY_PATH=$PWD/../../exports/lib/ ./xmore /tmp/ls_man.txt)
> 
> Result:
> -- snip --
> Warning: locale not supported by Xlib, locale set to C
> Warning: X locale modifiers not supported, using default
> Warning: Cannot convert string
> "-adobe-courier-medium-r-normal--12-*-*-*-*-*,-*-*-*-*-*-*-12-*-*-*-*-*" to type
> FontSet
> Warning: Unable to load any usable fontset
> Warning: No Memory, or Locale not supported.

Can you tell us which locale settings (LANG environment variable, or other 
LC_* variables that may be set) you're using ?

It seems definatly related. 
Comment 3 El Fabre 2005-10-06 17:54:51 UTC
Any progress on this?
How and where do you get all those warnings, just running xmore?
I only get a paltry:
Warning: Missing charsets in String to FontSet conversion

El Fabre

(In reply to comment #0)
> 2004-07-27-trunk, "xmore" crashes on Solaris.
> 
> Steps to reproduce:
> 1. Build Xorg tree:
> % make World
> 2. Try to run xmore
> % cd programs/xmore
> % man ls >/tmp/ls_man.txt 
> Reformatting page.  Please Wait... done
> % (LD_LIBRARY_PATH=$PWD/../../exports/lib/ ./xmore /tmp/ls_man.txt)
> 
> Result:
> -- snip --
> Warning: locale not supported by Xlib, locale set to C
> Warning: X locale modifiers not supported, using default
> Warning: Cannot convert string
> "-adobe-courier-medium-r-normal--12-*-*-*-*-*,-*-*-*-*-*-*-12-*-*-*-*-*" to type
> FontSet
> Warning: Unable to load any usable fontset
> Warning: No Memory, or Locale not supported.
> Warning: text: The file `/tmp/ls_man.txt' contains characters not representable
> in this locale.
> Warning: No Memory, or Locale not supported.
> Segmentation Fault (core dumped)
> -- snip --
> 
> Expected result:
> Working text browser (and no core dump).

Comment 4 Daniel Stone 2007-02-27 01:23:45 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 5 Daniel Stone 2007-04-07 14:30:14 UTC
works for eli and presumably alan too.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.