[Bug 1800003] Re: evince crashes in FcConfigParseAndLoad
J B
1800003 at bugs.launchpad.net
Tue Jun 11 22:43:00 UTC 2019
This bug https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/71
suggests that substantial improvements have been made to the fontconfig
package against null pointer dereferences after version 2.13.0-5.
https://cgit.freedesktop.org/fontconfig/commit/?id=efac784b0108d3140d7ec51cf22cb8a4453bd566
https://cgit.freedesktop.org/fontconfig/commit/?id=b1762935c3db2bc611750c61ce9cb38b9008db6b
https://cgit.freedesktop.org/fontconfig/commit/?id=b047e299546ac3abb79cf0bac3c67f5c2dfc7fb6
https://cgit.freedesktop.org/fontconfig/commit/?id=f3981a8bcd97a0388bf150ea7c1b4a1015e5e358
Can fontconfig be updated?
** Bug watch added: gitlab.freedesktop.org/fontconfig/fontconfig/issues #71
https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/71
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/1800003
Title:
evince crashes in FcConfigParseAndLoad
Status in fontconfig package in Ubuntu:
Confirmed
Bug description:
I have the following situation persistently on my system (Ubuntu
18.04.1 on Dell Latitude E6500):
Evince called with any pdf file crashes immediately with a
segmentation fault. From the crash dump, I see that the crash happens
in fontconfig's FcConfigParseAndLoad function, i.e. when the system
fonts.conf is read. I can reproduce the crash with the following
minimal example:
----
#include </usr/include/fontconfig/fontconfig.h>
const FcChar8* filename = "/home/mirkoh/fontconfig-test/fonts.conf";
FcConfig* config;
int main(){
FcConfigParseAndLoad(config, filename, FcTrue);
}
----
The fonts.conf file used here is also absolutely minimal:
----
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
</fontconfig>
----
(Get me right. It first happened with my system fonts.conf, which is
not empty. In order to find out whether a specific entry lead to the
crash, I deleted entry after entry, ultimately reaching the file
above, and always FcConfigParseAndLoad crashes.
I have no idea how to go on from here.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1800003/+subscriptions
More information about the foundations-bugs
mailing list