Closed
Bug 349837
Opened 18 years ago
Closed 18 years ago
cairo crash [@ _cairo_clip_init_deep_copy()]
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: alex, Assigned: vlad)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
546 bytes,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
I'm experiencing a crash in _cairo_clip_init_deep_copy() in a xulrunner app that draws SVG onto a custom widget. I don't have a simple testcase unfortunately.
The problem is that _cairo_clip_init_deep_copy() tries to copy the wrong surface (clip->surface is null):
Index: cairo-clip.c
===================================================================
--- cairo-clip.c (revision 13297)
+++ cairo-clip.c (working copy)
@@ -525,7 +525,7 @@
}
if (other->surface) {
- _cairo_surface_clone_similar (target, clip->surface, &clip->surface);
+ _cairo_surface_clone_similar (target, other->surface, &clip->surface);
clip->surface_rect = other->surface_rect;
}
Comment 1•18 years ago
|
||
Hrm... maybe this should be filed upstream?
Severity: normal → critical
Keywords: crash
Summary: cairo crash in _cairo_clip_init_deep_copy() → cairo crash [@ _cairo_clip_init_deep_copy()]
Comment 2•18 years ago
|
||
please file this upstream. bugzilla.freedesktop.org
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 3•18 years ago
|
||
Er, no idea why this was closed as invalid, because it's still a valid crash.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee | ||
Comment 4•18 years ago
|
||
Patch from upstream-ish; we'll take this as a band-aid before we upgrade our cairo to the trunk.
Assignee | ||
Comment 5•18 years ago
|
||
*** Bug 357254 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 6•18 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Crash Signature: [@ _cairo_clip_init_deep_copy()]
You need to log in
before you can comment on or make changes to this bug.
Description
•