Summary: | crash when viewing svg file | ||
---|---|---|---|
Product: | cairo | Reporter: | Michael Chudobiak <mjc> |
Component: | svg backend | Assignee: | Emmanuel Pacaud <emmanuel.pacaud> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | critical | ||
Priority: | medium | CC: | bugzi11.fdo.tormod, chris, Christian.Kirbach, marcus |
Version: | 1.2.6 | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
URL: | http://bugzilla.gnome.org/show_bug.cgi?id=424199 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | SVG file that causes the crash |
Description
Michael Chudobiak
2007-04-10 04:53:34 UTC
Created attachment 9555 [details]
SVG file that causes the crash
see also http://bugzilla.gnome.org/show_bug.cgi?id=452601#stacktrace nautilus: cairo-pen.c:323: _cairo_pen_find_active_cw_vertex_index: Assertion `i < pen->num_vertices' failed. could this be a bug in librsvg? #7 0x4732338b in *__GI___assert_fail ( assertion=0x47ecc070 "i < pen->num_vertices", file=0x47ecc064 "cairo-pen.c", line=323, function=0x47ecc0a0 "_cairo_pen_find_active_cw_vertex_index") at assert.c:78 buf = 0x93b6ec0 "ØØè?<<<<<<ì?" errstr = "Unexpected error.\n" #8 0x47e8716f in _cairo_pen_find_active_cw_vertex_index (pen=0xb5dfd834, slope=0xb5dfd760, active=0xb5dfd768) at cairo-pen.c:323 i = 4 __PRETTY_FUNCTION__ = "_cairo_pen_find_active_cw_vertex_index" #9 0x47e859f4 in _cairo_stroker_add_cap (stroker=0xb5dfd81c, f=0xb5dfd790) at cairo-path-stroke.c:385 i = <value optimized out> stop = <value optimized out> slope = {dx = 37079, dy = -37273} tri = {{x = 5311777, y = 2414207}, {x = 37079, y = 37274}, { x = -88568302, y = 1072078999}} pen = (cairo_pen_t *) 0xb5dfd834 start = <value optimized out> status = <value optimized out> #10 0x47e85c65 in _cairo_stroker_add_leading_cap (stroker=0x0, face=<value optimized out>) at cairo-path-stroke.c:456 reversed = {ccw = {x = 5348856, y = 2376934}, point = {x = 5348856, y = 2376934}, cw = {x = 5348856, y = 2376934}, dev_vector = {dx = 37079, dy = -37273}, usr_vector = {x = 0.70711320477456541, y = -0.70710035754017508}} #11 0x47e85c95 in _cairo_stroker_add_caps (stroker=0xb5dfd81c) at cairo-path-stroke.c:488 status = <value optimized out> #12 0x47e85f1a in _cairo_path_fixed_stroke_to_traps (path=0x91986c8, stroke_style=0x93b6990, ctm=0x93b6a2c, ctm_inverse=0x93b6a5c, tolerance=0.10000000000000001, traps=0xb5dfd914) at cairo-path-stroke.c:1005 status = CAIRO_STATUS_SUCCESS stroker = {style = 0x93b6990, ctm = 0x93b6a2c, ctm_inverse = 0x93b6a5c, tolerance = 0.10000000000000001, traps = 0xb5dfd914, pen = {radius = -0, tolerance = 0.10000000000000001, vertices = 0x93b5bd8, num_vertices = 4}, current_point = {x = 5348856, y = 2451481}, first_point = {x = 5348856, y = 2376934}, has_sub_path = 1, has_current_face = 1, current_face = {ccw = {x = 5348856, y = 2451481}, point = {x = 5348856, y = 2451481}, cw = {x = 5348856, y = 2451481}, dev_vector = {dx = 37079, dy = 37274}, usr_vector = { x = 0.70710371941499006, y = 0.70710984294484758}}, has_first_face = 1, first_face = {ccw = {x = 5348856, y = 2376934}, point = {x = 5348856, y = 2376934}, cw = {x = 5348856, y = 2376934}, dev_vector = { dx = -37079, dy = 37273}, usr_vector = {x = -0.70711320477456541, y = 0.70710035754017508}}, dashed = 0, dash_index = 3226480967, dash_on = 1195614196, dash_remain = 7.9165322551249684e-265} #13 0x47e7fdb7 in _cairo_gstate_stroke_extents (gstate=0x93b6980, path=0x91986c8, x1=0xb5dfda08, y1=0xb5dfda10, x2=0xb5dfda18, y2=0xb5dfda20) at cairo-gstate.c:1056 status = 3051346236 traps = {traps = 0x93b8000, num_traps = 2, traps_size = 32, extents = {p1 = {x = 5311777, y = 2376934}, p2 = {x = 5348856, y = 2451481}}} extents = {p1 = {x = -1891783525, y = 1094890508}, p2 = { x = -1243621024, y = 5348856}} #14 0x47e7afb2 in cairo_stroke_extents (cr=0x91986c0, x1=0xb5dfda08, y1=0x11d4, x2=0x6, y2=0xb5dfda20) at cairo.c:2021 No locals. #15 0x4672fb14 in rsvg_cairo_render_path (ctx=0x919b5b8, bpath_def=0x93b4790) at rsvg-cairo-draw.c:546 sb = {x = 3.4542216629796162e-313, y = 1.8884829227941214e+35, w = 0, h = 2.712707690888975e-314, virgin = 1, affine = {0.56577866123872023, 0, 0, 0.56874918932402085, 81.051291316319919, 36.837876467866657}} state = (RsvgState *) 0x91bcd78 cr = (cairo_t *) 0x91986c0 bpath = <value optimized out> i = 4 need_tmpbuf = 0 bbox = {x = 5.2998088236266445e-315, y = 5.2762970911146811e+36, w = 0, h = 1, virgin = 1, affine = {0.56577866123872023, 0, 0, 0.56874918932402085, 81.051291316319919, 36.837876467866657}} #16 0x4672a9ce in rsvg_render_path (ctx=0x919b5b8, d=0x91d70b0 "M 1 -1 L 0 0 L 1 1 ") at rsvg-base.c:1639 bpath_def = (RsvgBpathDef *) 0x93b4790 #17 0x4672047b in rsvg_node_path_draw (self=0x91d6e98, ctx=0x919b5b8, dominate=0) at rsvg-shapes.c:61 No locals. #18 0x46722fee in rsvg_node_draw (self=0x6, ctx=0x919b5b8, dominate=0) at rsvg-structure.c:54 stacksave = (GSList *) 0x0 #19 0x467232aa in _rsvg_node_draw_children (self=0x91d69a8, ctx=0x919b5b8, dominate=1) at rsvg-structure.c:73 i = 2 #20 0x46722fee in rsvg_node_draw (self=0x6, ctx=0x919b5b8, dominate=1) at rsvg-structure.c:54 stacksave = (GSList *) 0x0 #21 0x46723ed3 in rsvg_node_use_draw (self=0x91d7ed0, ctx=0x919b5b8, dominate=0) at rsvg-structure.c:230 child = (RsvgNode *) 0x91d69a8 state = (RsvgState *) 0x91bc530 affine = {1, 0, 0, 1, 0, 0} x = 0 y = 0 w = 0 h = 0 #22 0x46722fee in rsvg_node_draw (self=0x6, ctx=0x919b5b8, dominate=0) at rsvg-structure.c:54 stacksave = (GSList *) 0x0 #23 0x4671ebae in rsvg_marker_render (self=0x91d74f8, x=0, y=396.85000000000002, orient=0, linewidth=1.2, ctx=0x919b5b8) at rsvg-marker.c:180 affine = {0.18250924556087747, 0, 0, 0.18346748042710348, 81.051291316319919, 36.837876467866657} taffine = {1, 0, 0, 1, -0, -0} i = 2 rotation = 0 state = <value optimized out> *** Bug 11493 has been marked as a duplicate of this bug. *** This was fixed by Carl Worth in commit 448c9314252bba779194d2b01950b8738b26fd13. |
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.