Description of problem: By mistake I ran gv on the attached file (one line of text), and it segfaulted. Version-Release number of selected component (if applicable): ghostscript-8.71-9.fc14.x86_64 How reproducible: Always with this file Steps to Reproduce: 1. gv xxx.ps 2. 3. Actual results: Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" to type FontSet Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Segmentation fault Expected results: Warning/error messages are OK (this isn't PostScript!), but SEGV isn't. Additional info:
Created attachment 425661 [details] A text file that crashes gv
Sorry, the correct component/version is gv-3.6.91-1.fc14.x86_64. gs does complain, but doesn't crash.
Well, the crash is already described as bug #600926. More interesting is that gv complains: Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" to type FontSet Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset #587349 Not being able to build any fontset, GNU gv quits. Due to bug #587349, GNU gv crashes with a segfault while quiting. Currently I cannot say anything aboiut the fonts GNU gv cannot find, but disabling international mode helps - cf Bug #600926. $ cat > ~/.gv <<EOF > GV.version: 3.6.7.90 > GV*international: False > EOF (in case ~/.gv does not exist) resp. echo "GV*international: False" >> ~/.gv (in case ~/.gv already exists) will disable international mode. Then the fonts required should be available. Markus Steinborn GNU gv maintainer PS: On CentOS 5.5 (and therefore most likely on RHEL 5.5) international mode works fine if and only if Xaw3d is replaced by a fixed version.
*** This bug has been marked as a duplicate of bug 600926 ***