libXfont issueshttps://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues2019-08-17T22:05:24Zhttps://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues/6libXfont coverity scan results2019-08-17T22:05:24ZBugzilla Migration UserlibXfont coverity scan results## Submitted by Stefan Cornelius
Assigned to **Xorg Project Team**
**[Link to original bug (#103971)](https://bugs.freedesktop.org/show_bug.cgi?id=103971)**
## Description
Created attachment 135800
scan results
Hi,
I recently ra...## Submitted by Stefan Cornelius
Assigned to **Xorg Project Team**
**[Link to original bug (#103971)](https://bugs.freedesktop.org/show_bug.cgi?id=103971)**
## Description
Created attachment 135800
scan results
Hi,
I recently ran a coverity scan of the libXfont2 package as shipped with RHEL7 and thought you might be interested in the results.
The version scanned is 2.0.1, but if necessary I can run a scan of the latest version (seems like there are not too many relevant changes in between, though).
I'm sorry for not providing any patches.
**Attachment 135800**, "scan results":
[libXfont2-covscan.html](/uploads/77bc2f032d3139c007f3c7bd1c37456e/libXfont2-covscan.html)https://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues/4Incorrect FontPath may cause null pointer segfault in FontFileListNextFontWit...2018-08-10T20:16:19ZBugzilla Migration UserIncorrect FontPath may cause null pointer segfault in FontFileListNextFontWithInfo## Submitted by Daniel Hornung
Assigned to **Xorg Project Team**
**[Link to original bug (#73663)](https://bugs.freedesktop.org/show_bug.cgi?id=73663)**
## Description
Created attachment 92146
representative Xorg log
On this 64 b...## Submitted by Daniel Hornung
Assigned to **Xorg Project Team**
**[Link to original bug (#73663)](https://bugs.freedesktop.org/show_bug.cgi?id=73663)**
## Description
Created attachment 92146
representative Xorg log
On this 64 bit Kubuntu system, switching from the Nouveau to the proprietary Nvidia driver makes X segfault when starting Emacs.
The attached Xorg log and the full backtrace of Xorg seem to indicate that the problem is in libxfont, specifically fontfile.c:1050 / FontFileListNextFontWithInfo(...).
Note that this problem does not occur with the nouveau X module.
Additional relevant information:
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
$ uname -a
Linux tiersen 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg-query -l libxfont1
ii libxfont1:amd64 1:1.4.6-1ubuntu0.1 amd64 X11 font rasterisation library
**Attachment 92146**, "representative Xorg log":
[Xorg.0.log.segfault](/uploads/3a1f44ff6db2ef0115d6efeed489544e/Xorg.0.log.segfault)
Version: 7.7 (2012.06)https://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues/1Font lookup by fontfile is slow on certain patterns.2018-08-10T20:16:09ZBugzilla Migration UserFont lookup by fontfile is slow on certain patterns.## Submitted by Takano Akio
Assigned to **Matt Turner `@mattst88`**
**[Link to original bug (#7832)](https://bugs.freedesktop.org/show_bug.cgi?id=7832)**
## Description
Font listing functions in the fontfile FPE are very slow, whe...## Submitted by Takano Akio
Assigned to **Matt Turner `@mattst88`**
**[Link to original bug (#7832)](https://bugs.freedesktop.org/show_bug.cgi?id=7832)**
## Description
Font listing functions in the fontfile FPE are very slow, when something like
"*-*-*-*-*-*-KSC5601.1987-0" is given as a pattern.
This is the probable cause of bug #4939.
Version: 7.1 (2006.05)