Issue 466 - Scrolling fonts causes x Server restart
Summary: Scrolling fonts causes x Server restart
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 619
Hardware: PC Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: ulf.stroehler
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-22 21:47 UTC by issues@www
Modified: 2003-12-06 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description issues@www 2001-02-22 21:47:10 UTC
Everytime i scroll the entire fonts list, X restarts. (The same to choose Restart X from the panel). I can't see any error messages 

Sys Op: Linux Mandrake 7.2

X and font packages installed:

XFree86-libs-4.0.1-28mdk
XFree86-xfs-4.0.1-28mdk
XFree86-4.0.1-28mdk
XFree86-75dpi-fonts-4.0.1-28mdk
XFree86-ISO8859-2-75dpi-fonts-1.0-14mdk
XFree86-server-4.0.1-28mdk
XFree86-server-common-3.3.6-18mdk
XFree86-SVGA-3.3.6-18mdk    
chkfontpath-1.7-4mdk
urw-fonts-1.1-11mdk
ghostscript-fonts-5.50-5mdk
mozilla-fonts-20000310-6mdk
XFree86-75dpi-fonts-4.0.1-28mdk
XFree86-ISO8859-2-75dpi-fonts-1.0-14mdk
drakfont-0.52-10mdk
glibc-2.1.3-16mdk
libc-5.3.12-34mdk

Bye
Domenico Mozzanica
Comment 1 stefan.baltzer 2001-02-23 13:13:13 UTC
Reassigned to Ulf Stroehler.
Comment 2 ulf.stroehler 2001-03-01 13:36:04 UTC
First of all, sorry that this issue stayed as new without any evaluation for one
week. I assigned this issue on 2001-02-23 with detailed comments but somehow
this wasn't committed to IssueZilla. Trying it again:

Regarding the description a possible cause is, that a corrupt font you were
trying to preview in OO, crashed your fontserver (xfs) that crashed your
X-Server.

For font server problems grep your /var/log/syslog for "xfs" entries.
Also have a look at /var/log/XFree86.x.log and .xsession-errors in your home
directory.

In case you are using KDE, you can also browse kfontmanager to find out if it
crashes with one specific font.

Having found a candidate that causes the trouble you may want to disable it in
/etc/X11/fs/config.

Another possible  goes as follows:
Your path to OO is very long. So the path to the fonts of OO is even longer. I
remember a bug of X11R6 that long pathnames got cut of. In this case the
X-Server gets the wrong path when trying to access a font and crashes. In this
case you should crash with every OO-font. The workaround is to install OO with a
short path relative to "/".
Comment 3 ulf.stroehler 2001-03-02 18:37:23 UTC
Workaround:

You can disable the font preview in Tools -> Options:
Tree view branch: General - View: Checkbox: Preview in fonts lists

But please try to find out what the real problem is along my last comment (see
above).
Comment 4 issues@www 2001-03-03 00:20:17 UTC
Problems are on "song ti" font. It's the original one' shipped with Mandrake 7.2.
I have also a quite long path:

[root@localhost dmo]# chkfontpath
Current directories in font path:
1: /usr/X11R6/lib/X11/fonts/misc:unscaled
2: /usr/X11R6/lib/X11/fonts/75dpi:unscaled
3: /usr/X11R6/lib/X11/fonts/100dpi:unscaled
4: /usr/X11R6/lib/X11/fonts/Type1
5: /usr/X11R6/lib/X11/fonts/Speedo
6: /usr/X11R6/lib/X11/fonts/mdk
7: /usr/X11R6/lib/X11/fonts/drakfont
8: /usr/X11R6/lib/X11/fonts/pcf_drakfont:unscaled
9: /usr/share/fonts/default/Type1
10: /usr/share/fonts/ISO8859-2/75dpi:unscaled
11: /usr/share/fonts/ISO8859-2/75dpi:unscaled
[root@localhost dmo]#

Drakxfont can't display this font as it's "a 2 byte font". I think the problems is on this font. I look the log messages but i found no errors.

Bye
Domenico Mozzanica                                     
Comment 5 ulf.stroehler 2001-05-03 16:43:46 UTC
Please verify again in 625 (or above) and comment.
Comment 6 ulf.stroehler 2001-05-18 19:14:46 UTC
Please verify again with the current version and comment, otherwise I close this 
bug as "does not occur anymore". Anybody who does not agree with this procedure?
Comment 7 ulf.stroehler 2001-06-01 10:45:59 UTC
What are your findings? Does the problem still occur with a current version of
OO? Please answer.
Comment 8 ulf.stroehler 2001-06-22 17:02:21 UTC
Issue isn't reproduceable.
Comment 9 lohmaier 2002-03-14 00:16:09 UTC
closing