Closed Bug 302942 Opened 19 years ago Closed 19 years ago

More linking issues with SVG causing "crashes" (no FcPatternCreate)

Categories

(Core :: SVG, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: peter.budek)

Details

(Keywords: crash)

Attachments

(1 file)

STEPS TO REPRODUCE:

1)  Make a GTK1 SVG build.
2)  Load http://www.hixie.ch/tests/adhoc/svg/perf/001.xml

EXPECTED RESULTS: SVG renders

ACTUAL RESULTS: relocation error:
/home/bzbarsky/mozilla/profile/obj-opt/dist/bin/components/libgklayout.so:
undefined symbol: FcPatternCreate

This is sort of keeping me from profiling the testcase in bug 296058, since my
profiling-enabled build dies...
cairo seems to need libfontconfig. I added -lfontconfig in config/autoconf.mk after running configure:

MOZ_CAIRO_LIBS = -lmozcairo -lmozlibpixman  -L/usr/X11R6/lib -lfontconfig -lXrender -lfreetype
Attachment #207550 - Flags: review?(benjamin)
With that patch, I only hit the crash from bug 299568 here (and the patch proposed there fixes that crash too).
Attachment #207550 - Flags: review?(benjamin) → review?(tor)
Somebody who knows cairo should review this, I don't know what it might imply.
Attachment #207550 - Flags: review?(tor) → review+
Assignee: general → budek
Checked in to the trunk.  Hans-Peter, thank you for the patch!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: