Bug 13321 - segfault in FcConfigSubstituteWithPat
Summary: segfault in FcConfigSubstituteWithPat
Status: RESOLVED NOTOURBUG
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.4
Hardware: x86 (IA32) All
: medium major
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14062
  Show dependency treegraph
 
Reported: 2007-11-20 11:23 UTC by Soren Harward
Modified: 2008-05-03 19:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Soren Harward 2007-11-20 11:23:03 UTC
Poppler (the PDF library) causes libfontconfig to segfault in the FcConfigSubstituteWithPat function when I load certain PDFs that use non-embedded fonts.  I will attach a PDF that causes the problem.  Poppler itself is probably also at fault (and I will file a downstream bug, and add it to the notes here), but libfontconfig shouldn't segfault even if there's bad input.
Comment 1 Soren Harward 2007-11-20 11:31:07 UTC
Downstream bug (in Poppler) reported as bug number 13322 (https://bugs.freedesktop.org/show_bug.cgi?id=13322)
Comment 2 Gerben Vos 2007-11-22 12:32:22 UTC
New stack backtrace posted to the Poppler bug listed above.
Comment 3 Keith Packard 2008-01-13 17:03:38 UTC
Could you please attach the problematic PDF file?
Comment 4 Gerben Vos 2008-01-14 02:47:39 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=13322 and http://bugs.gentoo.org/show_bug.cgi?id=199827 contain PDFs that reproduce this problem. Note that the issue seems to be Gentoo-specific and has been fixed (or rather, worked around) there.
Comment 5 Keith Packard 2008-05-03 19:29:12 UTC
The Gentoo bug makes it seem like this was an xpdf issue.


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.