Closed Bug 291959 Opened 19 years ago Closed 19 years ago

Cairo SVG crashes GTK1 builds

Categories

(Core :: SVG, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: tor)

Details

(Keywords: crash)

Attachments

(1 file, 1 obsolete file)

STEPS TO REPRODUCE:

1)  Build Mozilla with GTK1 and --enable-svg
2)  Enable svg via prefs
3)  Visit an SVG page.

EXPECTED RESULTS: Render SVG

ACTUAL RESULTS:

relocation error: dist/bin/components/libgklayout.so: undefined symbol:
XRenderQueryVersion

tor says the problem is that GTK1 builds don't automatically link in XRender and
the cairo SVG code uses XRender but doesn't link to it.
Attached patch add Xrender to cairo libs (obsolete) — Splinter Review
bz, have you had a chance to try this?
I didn't realize you wanted it tested... testing now; will report once build is
done.
Didn't seem to help.  Trying clobber build now...
Keywords: crash
Yeah, that doesn't work either.
Same relocation error?
Yes.
Assignee: general → tor
Attachment #181876 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #182131 - Flags: superreview?(bzbarsky)
Attachment #182131 - Flags: review?(bzbarsky)
Attachment #182131 - Flags: approval1.8b2?
Comment on attachment 182131 [details] [diff] [review]
include Xrender in cairo libs

Thanks for fixing this!
Attachment #182131 - Flags: superreview?(bzbarsky)
Attachment #182131 - Flags: superreview+
Attachment #182131 - Flags: review?(bzbarsky)
Attachment #182131 - Flags: review+
Comment on attachment 182131 [details] [diff] [review]
include Xrender in cairo libs

a=asa
Attachment #182131 - Flags: approval1.8b2? → approval1.8b2+
Checked in.
Status: ASSIGNED → 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

Creator:
Created:
Updated:
Size: