Bug 6806 - cairo 1.0.4 crash progressbar in window
Summary: cairo 1.0.4 crash progressbar in window
Status: RESOLVED INVALID
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.1.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
: 6807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-02 01:28 UTC by Joao Estevao
Modified: 2008-09-30 07:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Joao Estevao 2006-05-02 01:28:03 UTC
I have several seemingly random crashes in cairo. I'm developing an application
that uses pygtk, and this seems to happen when I have a window with a
progressbar active and I switch windows using alt-tab. I'm using gnome 2.12,
cairo 1.0.4 and pycairo 1.0.0.

trace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1129016240 (LWP 20846)]
0x40ce33b4 in _cairo_pixman_region_intersect (newReg=0x89bf708, reg1=0x26,
reg2=0x89bf708)
    at pixregion.c:1006
1006        if (PIXREGION_NIL(reg1)  || PIXREGION_NIL(reg2) ||
(gdb)
(gdb) bt full
#0  0x40ce33b4 in _cairo_pixman_region_intersect (newReg=0x89bf708, reg1=0x26,
reg2=0x89bf708)
    at pixregion.c:1006
No locals.
#1  0x40cc0956 in _cairo_clip_intersect_to_rectangle (clip=0x89e9e14,
rectangle=0x434b3c30)
    at cairo-clip.c:127
        intersection = (pixman_region16_t *) 0x89bf708
        status = CAIRO_STATUS_SUCCESS
        pixman_status = 1048576
#2  0x40cc694c in _cairo_gstate_show_glyphs (gstate=0x89e9d90,
glyphs=0x434b3d20, num_glyphs=6)
    at cairo-gstate.c:2124
        status = CAIRO_STATUS_SUCCESS
        i = 6
        transformed_glyphs = (cairo_glyph_t *) 0x89e9ee8
        pattern = {base = {type = 1129004152, ref_count = 137166464, status =
1129004120, matrix = {
      xx = 15332485665811024, yx = 2.744577458253365e-269, xy = 15332760542423336,
      yy = 3.7088986478318896e-267, x0 = 15332760542423336, y0 =
3.7088986478320278e-267},
    filter = 146589768, extend = 1129004184}, solid = {base = {type =
1129004152, ref_count = 137166464,
      status = 1129004120, matrix = {xx = 15332485665811024, yx =
2.744577458253365e-269,
        xy = 15332760542423336, yy = 3.7088986478318896e-267, x0 =
15332760542423336,
        y0 = 3.7088986478320278e-267}, filter = 146589768, extend = 1129004184},
color = {
      red = 3.7088986478183723e-267, green = 15333308398630960, blue =
3.7085141557243636e-267,
      alpha = 2.1896837765293399e-314, red_short = 64744, green_short = 16582,
blue_short = 29968,
      alpha_short = 2092}}, surface = {base = {type = 1129004152, ref_count =
137166464,
      status = 1129004120, matrix = {xx = 15332485665811024, yx =
2.744577458253365e-269,
        xy = 15332760542423336, yy = 3.7088986478318896e-267, x0 =
15332760542423336,
        y0 = 3.7088986478320278e-267}, filter = 146589768, extend = 1129004184},
surface = 0x40cbe556},
  gradient = {base = {base = {type = 1129004152, ref_count = 137166464, status =
1129004120, matrix = {
          xx = 15332485665811024, yx = 2.744577458253365e-269, xy =
15332760542423336,
          yy = 3.7088986478318896e-267, x0 = 15332760542423336, y0 =
3.7088986478320278e-267},
        filter = 146589768, extend = 1129004184}, stops = 0x40cbe556, n_stops =
144612752}, linear = {
      base = {base = {type = 1129004152, ref_count = 137166464, status =
1129004120, matrix = {
            xx = 15332485665811024, yx = 2.744577458253365e-269, xy =
15332760542423336,
---Type <return> to continue, or q <return> to quit---
            yy = 3.7088986478318896e-267, x0 = 15332760542423336, y0 =
3.7088986478320278e-267},
          filter = 146589768, extend = 1129004184}, stops = 0x40cbe556, n_stops
= 144612752}, point0 = {
        x = 15333308398630960, y = 3.7085141557243636e-267}, point1 = {x =
2.1896837765293399e-314,
        y = 2.6933157144820948e-269}}, radial = {base = {base = {type =
1129004152, ref_count = 137166464,
          status = 1129004120, matrix = {xx = 15332485665811024, yx =
2.744577458253365e-269,
            xy = 15332760542423336, yy = 3.7088986478318896e-267, x0 =
15332760542423336,
            y0 = 3.7088986478320278e-267}, filter = 146589768, extend =
1129004184}, stops = 0x40cbe556,
        n_stops = 144612752}, center0 = {x = 15333308398630960, y =
3.7085141557243636e-267}, center1 = {
        x = 2.1896837765293399e-314, y = 2.6933157144820948e-269}, radius0 =
2.6625606596251356e-269,
      radius1 = 2.697359030569944e-269}}}
        bbox = {p1 = {x = 11010048, y = 458752}, p2 = {x = 13762240, y = 1048576}}
        extents = {x = 168, y = 7, width = 42, height = 9}
        glyph_info = {font = 0x40d13528, glyphs = 0x434b3c58, num_glyphs =
1087120522}
#3  0x40cbe907 in cairo_show_glyphs (cr=0x89e9cc0, glyphs=0x434b3d20,
num_glyphs=6) at cairo.c:2161
No locals.
#4  0x40c71a87 in pango_cairo_renderer_draw_glyphs (renderer=0x8bc8220,
font=0x82c8000, glyphs=0x8cee310,
    x=0, y=0) at pangocairo-render.c:237
        crenderer = (PangoCairoRenderer *) 0x8bc8220
        i = 6
        count = 6
        x_position = 45050
        cairo_glyphs = (cairo_glyph_t *) 0x434b3d20
        stack_glyphs = {{index = 27, x = 167, y = 16}, {index = 17, x =
174.9990234375, y = 16}, {
    index = 19, x = 178.998046875, y = 16}, {index = 26, x = 186.9970703125, y =
16}, {index = 3,
    x = 194.99609375, y = 16}, {index = 8, x = 198.9951171875, y = 16}, {index =
1129004600,
    x = 2.4926838881172224, y = 15335507418577552}, {index = 1073993914, x =
206.06542968750006,
    y = 5.4591875567125285}, {index = 1074000132, x = 15335782296484496, y =
4.7746150786805228e-314}, {
    index = 1075167376, x = 3.6681572851291777e-267, y =
1.0829322264273581e-312}, {index = 8192,
    x = 2.4926838902572364, y = 2.1888663547996085e-314}, {index = 1073993914, x
= 166.36975097656256,
    y = 11857.431653235166}, {index = 144590712, x = 15336471394688936, y =
2.7445774558514918e-269}, {
    index = 135210920, x = 2.6973589844602467e-269, y =
1.7043787730773249e-313}, {index = 1129004648,
    x = 2.6973593498885057e-269, y = 2.1219957949177975e-314}, {index = 0, x =
2.121995791459338e-314,
---Type <return> to continue, or q <return> to quit---
    y = 2.6973590340927902e-269}, {index = 137272048, x = 15337296028409768, y =
2.6973593499110196e-269}, {
    index = 8, x = 15338152847736832, y = 5.4342927988944929}, {index = 137134080,
    x = 2.1887988614798614e-314, y = 15338670417944488}, {index = 1086866441, x
= 1.7043719565524224e-313,
    y = 15338152847736832}, {index = 0, x = 14.917488358539956, y =
7.3712621170089729e-270}, {
    index = 1075167376, x = 5.578024836936048e-315, y = 25.100464392076276},
{index = 1129004808,
    x = 1.3945998483322805e-266, y = -nan(0xfcc0140608768)}, {index = 4096, x =
2.533662976436228e-311,
    y = 4.9406564584124654e-324}, {index = 4294953985, x = 3.693758073940308e-310,
    y = 2.121995830490524e-314}, {index = 1086805140, x = 9.5596442730667618e-310,
    y = 3.7292171012349098e-267}, {index = 1076745665, x =
-nan(0xfcc0140cd8362), y = 15339082734804904}, {
    index = 1086867034, x = 7.3011179265691718e-316, y =
2.6973589844602484e-269}, {index = 0,
    x = 3.4509735324906645e-313, y = 5.3234765838502752e-315}, {index =
1087066068, x = 12955.220803648248,
    y = 2.6973590341490801e-269}, {index = 0, x = 2.7449240696518588e-269, y =
5.3695308339768637e-315}, {
    index = 1079991800, x = 0, y = 3.6618570673850369e-267}, {index = 1077477364,
    x = 1.3947299840727492e-266, y = 14.972284415183722}, {index = 1075166391, x
= 17620.625000000044,
    y = 1.3947298240173478e-266}, {index = 1129005032, x = 15340042928899616, y
= 15340182222635328}, {
    index = 1079991800, x = 17620.628956133965, y = 14405.882812500002}, {index
= 144544272,
    x = 15340457125112400, y = 5.3717322027497869e-315}, {index = 1087066068, x
= 125.51081926678364,
    y = 7.3839671921800808e-270}, {index = 1, x = 0, y = 15341142415403552},
{index = 1079995316,
    x = 7.3839671921800808e-270, y = 4.9406564584124654e-324}}
#5  0x40c9b08c in pango_renderer_draw_glyphs (renderer=0x8bc8220,
font=0x82c8000, glyphs=0x8cee310, x=0, y=0)
    at pango-renderer.c:599
        __PRETTY_FUNCTION__ = "pango_renderer_draw_glyphs"
#6  0x40c72138 in pango_cairo_show_glyph_string (cr=0x89e9cc0, font=0x82c8000,
glyphs=0x8cee310)
    at pangocairo-render.c:444
        fontmap = (PangoFontMap *) 0x828bf88
        crenderer = (PangoCairoRenderer *) 0x8bc8220
        renderer = (PangoRenderer *) 0x8bc8220
        __PRETTY_FUNCTION__ = "pango_cairo_show_glyph_string"
#7  0x40bc983d in gdk_pango_renderer_draw_glyphs (renderer=0x84ddac8,
font=0x82c8000, glyphs=0x8cee310,
    x=171008, y=17407) at gdkpango.c:245
        gdk_renderer = (GdkPangoRenderer *) 0x84ddac8
        priv = (GdkPangoRendererPrivate *) 0x84ddb20
---Type <return> to continue, or q <return> to quit---
        cr = (cairo_t *) 0x89e9cc0
#8  0x40c9b08c in pango_renderer_draw_glyphs (renderer=0x84ddac8,
font=0x82c8000, glyphs=0x8cee310,
    x=171008, y=17407) at pango-renderer.c:599
        __PRETTY_FUNCTION__ = "pango_renderer_draw_glyphs"
#9  0x40c9ae41 in pango_renderer_draw_layout_line (renderer=0x84ddac8,
line=0x89e5890, x=171008, y=17407)
    at pango-renderer.c:530
        metrics = (PangoFontMetrics *) 0x40ca7d9e
        run = (PangoLayoutRun *) 0x89d8fd8
        logical_rect = {x = 0, y = -13311, width = 45050, height = 17407}
        rise = 0
        shape_attr = (PangoAttrShape *) 0x0
        ink_rect = {x = 1, y = 0, width = 0, height = 0}
        x_off = 0
        state = {underline = PANGO_UNDERLINE_NONE, underline_rect = {x = 0, y =
144595088,
    width = 144595088, height = 1086937859}, strikethrough = 0,
strikethrough_rect = {x = 1087066068,
    y = 1129005592, width = 1086942579, height = 0}, logical_rect_end = 216058}
        l = (GSList *) 0x89e3738
        got_overall = 0
        overall_rect = {x = 1086938842, y = 147738656, width = 0, height =
147738708}
        __PRETTY_FUNCTION__ = "pango_renderer_draw_layout_line"
#10 0x40c9a578 in pango_renderer_draw_layout (renderer=0x84ddac8,
layout=0x8ccd078, x=171008, y=4096)
    at pango-renderer.c:183
        logical_rect = {x = 0, y = 0, width = 45050, height = 17407}
        line = (PangoLayoutLine *) 0x89e5890
        baseline = 13311
        iter = (PangoLayoutIter *) 0x8ce5020
        __PRETTY_FUNCTION__ = "pango_renderer_draw_layout"
#11 0x40bcb319 in IA__gdk_draw_layout_with_colors (drawable=0x8bcc848,
gc=0x83c9ea0, x=167, y=4,
    layout=0x8ccd078, foreground=0x0, background=0x0) at gdkpango.c:1027
        renderer = (PangoRenderer *) 0x84ddac8
        matrix = (const PangoMatrix *) 0x0
        __PRETTY_FUNCTION__ = "IA__gdk_draw_layout_with_colors"
---Type <return> to continue, or q <return> to quit---
#12 0x40bcb634 in IA__gdk_draw_layout (drawable=0x8bcc848, gc=0x83c9ea0, x=167,
y=4, layout=0x8ccd078)
    at gdkpango.c:1089
        __PRETTY_FUNCTION__ = "IA__gdk_draw_layout"
#13 0x40a19af0 in gtk_default_draw_layout (style=0x8ce3500, window=0x8bcc848,
state_type=GTK_STATE_PRELIGHT,
    use_text=0, area=0x434b44ac, widget=0x8298d28, detail=0x40b74692
"progressbar", x=167, y=4,
    layout=0x8ccd078) at gtkstyle.c:5088
        gc = (GdkGC *) 0x83c9ea0
        __PRETTY_FUNCTION__ = "gtk_default_draw_layout"
#14 0x41457f16 in draw_layout () from
/usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so
No symbol table info available.
#15 0x40a1c5cb in IA__gtk_paint_layout (style=0x8ce3500, window=0x8bcc848,
state_type=GTK_STATE_PRELIGHT,
    use_text=0, area=0x434b44ac, widget=0x8298d28, detail=0x40b74692
"progressbar", x=167, y=4,
    layout=0x8ccd078) at gtkstyle.c:6365
        __PRETTY_FUNCTION__ = "IA__gtk_paint_layout"
#16 0x409dca1a in gtk_progress_bar_paint_text (pbar=0x8298d28, amount=30,
    orientation=GTK_PROGRESS_LEFT_TO_RIGHT) at gtkprogressbar.c:837
        progress = (GtkProgress *) 0x8298d28
        widget = (GtkWidget *) 0x8298d28
        x = 167
        y = 4
        buf = (gchar *) 0x89e0d90 "8.07 %"
        rect = {x = 1, y = 1, width = 376, height = 24}
        layout = (PangoLayout *) 0x8ccd078
        logical_rect = {x = 0, y = 0, width = 44, height = 17}
        prelight_clip = {x = 1, y = 1, width = 30, height = 24}
        normal_clip = {x = 31, y = 1, width = 346, height = 24}
#17 0x409dccb5 in gtk_progress_bar_paint (progress=0x8298d28) at
gtkprogressbar.c:916
        amount = 30
        space = 376
        pbar = (GtkProgressBar *) 0x8298d28
        widget = (GtkWidget *) 0x8298d28
        orientation = GTK_PROGRESS_LEFT_TO_RIGHT
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "gtk_progress_bar_paint"
#18 0x409dbd0d in gtk_progress_bar_real_update (progress=0x8298d28) at
gtkprogressbar.c:469
        pbar = (GtkProgressBar *) 0x8298d28
        widget = (GtkWidget *) 0x8298d28
        __PRETTY_FUNCTION__ = "gtk_progress_bar_real_update"
#19 0x409d9a15 in gtk_progress_value_changed (adjustment=0x84d5210,
progress=0x8298d28) at gtkprogress.c:396
No locals.
#20 0x405edf53 in IA__g_cclosure_marshal_VOID__VOID (closure=0x84e88c0,
return_value=0x0, n_param_values=1,
    param_values=0x434b4948, invocation_hint=0x434b47c0, marshal_data=0x0) at
gmarshal.c:77
        callback = (GMarshalFunc_VOID__VOID) 0x26
        cc = (GCClosure *) 0x84e88c0
        data1 = (gpointer) 0x84d5210
        data2 = (gpointer) 0x8298d28
        __PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__VOID"
#21 0x405d69c3 in IA__g_closure_invoke (closure=0x84e88c0, return_value=0x0,
n_param_values=1,
    param_values=0x434b4948, invocation_hint=0x434b47c0) at gclosure.c:490
        marshal = (GClosureMarshal) 0x405edeab <IA__g_cclosure_marshal_VOID__VOID>
        marshal_data = (gpointer) 0x0
        in_marshal = 0
        __PRETTY_FUNCTION__ = "IA__g_closure_invoke"
#22 0x405ed403 in signal_emit_unlocked_R (node=0x826b4c8, detail=0,
instance=0x84d5210, emission_return=0x0,
    instance_and_params=0x434b4948) at gsignal.c:2438
        tmp = (Handler *) 0x80b2a88
        handler = (Handler *) 0x84e5d60
        accumulator = (SignalAccumulator *) 0x0
        emission = {next = 0x0, instance = 0x84d5210, ihint = {signal_id = 115,
detail = 0,
    run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
        class_closure = (GClosure *) 0x826b498
        hlist = (HandlerList *) 0x84e8988
        handler_list = (Handler *) 0x84e5d60
        return_accu = (GValue *) 0x0
        accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong
= 0, v_int64 = 0,
---Type <return> to continue, or q <return> to quit---
      v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0,
v_uint = 0, v_long = 0,
      v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}}}
        signal_id = 115
        max_sequential_handler_number = 1630
        return_value_altered = 1
#23 0x405ec600 in IA__g_signal_emit_valist (instance=0x84d5210, signal_id=115,
detail=0,
    var_args=0x434b4b3c "´\016\212@`yN\b\001") at gsignal.c:2197
        instance_and_params = (GValue *) 0x434b4948
        stack_values = {{g_type = 135318872, data = {{v_int = 139285008, v_uint
= 139285008,
        v_long = 139285008, v_ulong = 139285008, v_int64 = 139285008, v_uint64 =
139285008,
        v_float = 6.17864075e-34, v_double = 6.8815937433523192e-316, v_pointer
= 0x84d5210}, {v_int = 0,
        v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float
= 0, v_double = 0,
        v_pointer = 0x0}}}, {g_type = 0, data = {{v_int = 1, v_uint = 1, v_long
= 1, v_ulong = 1,
        v_int64 = 4294967297, v_uint64 = 4294967297, v_float = 1.40129846e-45,
        v_double = 2.121995791459338e-314, v_pointer = 0x1}, {v_int = 1, v_uint
= 1, v_long = 1,
        v_ulong = 1, v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45,
        v_double = 4.9406564584124654e-324, v_pointer = 0x1}}}, {g_type =
1082409300, data = {{
        v_int = 136026868, v_uint = 136026868, v_long = 136026868, v_ulong =
136026868,
        v_int64 = 621160195075840756, v_uint64 = 621160195075840756, v_float =
4.68257624e-34,
        v_double = 3.7317755101323521e-267, v_pointer = 0x81b9af4}, {v_int =
1077483704,
        v_uint = 1077483704, v_long = 1077483704, v_ulong = 1077483704, v_int64
= 585995237180643512,
        v_uint64 = 585995237180643512, v_float = 2.89213371, v_double =
1.6916032430994689e-269,
        v_pointer = 0x403918b8}}}, {g_type = 1080067944, data = {{v_int = 25,
v_uint = 25, v_long = 25,
        v_ulong = 25, v_int64 = 4627757081674383385, v_uint64 = 4627757081674383385,
        v_float = 3.50324616e-44, v_double = 25.095886230468839, v_pointer =
0x19}, {v_int = 2048,
        v_uint = 2048, v_long = 2048, v_ulong = 2048, v_int64 = 4849050409697806336,
        v_uint64 = 4849050409697806336, v_float = 2.86985925e-42, v_double =
15361620549046272,
        v_pointer = 0x800}}}, {g_type = 1, data = {{v_int = 1073993914, v_uint =
1073993914,
        v_long = 1073993914, v_ulong = 1073993914, v_int64 = 580655836913981626,
        v_uint64 = 580655836913981626, v_float = 2.06010294, v_double =
7.3121934494622104e-270,
        v_pointer = 0x4003d8ba}, {v_int = 1085960152, v_uint = 1085960152,
v_long = 1085960152,
        v_ulong = 1085960152, v_int64 = 4624587418370731992, v_uint64 =
4624587418370731992,
---Type <return> to continue, or q <return> to quit---
        v_float = 5.8261528, v_double = 14.917490027197275, v_pointer =
0x40ba6fd8}}}, {g_type = 1079992497,
    data = {{v_int = 135337624, v_uint = 135337624, v_long = 135337624, v_ulong
= 135337624,
        v_int64 = 579788699258132120, v_uint64 = 579788699258132120, v_float =
4.36609091e-34,
        v_double = 6.5832696129999453e-270, v_pointer = 0x8111698}, {v_int =
1077483704,
        v_uint = 1077483704, v_long = 1077483704, v_ulong = 1077483704, v_int64
= 621159165225146552,
        v_uint64 = 621159165225146552, v_float = 2.89213371, v_double =
3.7313322707579153e-267,
        v_pointer = 0x403918b8}}}, {g_type = 3, data = {{v_int = -1, v_uint =
4294967295, v_long = -1,
        v_ulong = 4294967295, v_int64 = 4849050757590155263, v_uint64 =
4849050757590155263,
        v_float = -nan(0x7fffff), v_double = 15362316333744126, v_pointer =
0xffffffff}, {
        v_int = 1079991800, v_uint = 1079991800, v_long = 1079991800, v_ulong =
1079991800,
        v_int64 = 4627730041640279544, v_uint64 = 4627730041640279544, v_float =
3.4901104,
        v_double = 24.999820731432891, v_pointer = 0x405f5df8}}}, {g_type =
1077483648, data = {{v_int = 40,
        v_uint = 40, v_long = 40, v_ulong = 40, v_int64 = 4627757116034121768,
        v_uint64 = 4627757116034121768, v_float = 5.60519386e-44, v_double =
25.096008300781392,
        v_pointer = 0x28}, {v_int = 1076752847, v_uint = 1076752847, v_long =
1076752847,
        v_ulong = 1076752847, v_int64 = 4627757031211528655, v_uint64 =
4627757031211528655,
        v_float = 2.71788383, v_double = 25.095706950394568, v_pointer =
0x402df1cf}}}, {g_type = 16,
    data = {{v_int = 1075172917, v_uint = 1075172917, v_long = 1075172917,
v_ulong = 1075172917,
        v_int64 = 4612795443914855989, v_uint64 = 4612795443914855989, v_float =
2.34119916,
        v_double = 2.4926838881172224, v_pointer = 0x4015d635}, {v_int =
1110925844, v_uint = 1110925844,
        v_long = 1110925844, v_ulong = 1110925844, v_int64 = 4849050891845067284,
        v_uint64 = 4849050891845067284, v_float = 45.8457794, v_double =
15362584843568168,
        v_pointer = 0x42376214}}}, {g_type = 1073993914, data = {{v_int = 2,
v_uint = 2, v_long = 2,
        v_ulong = 2, v_int64 = 579603208075214850, v_uint64 =
579603208075214850, v_float = 2.80259693e-45,
        v_double = 6.4273440298242032e-270, v_pointer = 0x2}, {v_int = 1, v_uint
= 1, v_long = 1,
        v_ulong = 1, v_int64 = 4617832516059922433, v_uint64 = 4617832516059922433,
        v_float = 1.40129846e-45, v_double = 5.459186553955079, v_pointer =
0x1}}}, {g_type = 1074000132,
    data = {{v_int = 1110925844, v_uint = 1110925844, v_long = 1110925844,
v_ulong = 1110925844,
        v_int64 = 4849051029284020756, v_uint64 = 4849051029284020756, v_float =
45.8457794,
        v_double = 15362859721475112, v_pointer = 0x42376214}, {v_int =
1073993914, v_uint = 1073993914,
        v_long = 1073993914, v_ulong = 1073993914, v_int64 = 9663928506,
v_uint64 = 9663928506,
        v_float = 2.06010294, v_double = 4.7746150786805228e-314, v_pointer =
0x4003d8ba}}}, {g_type = 8,
---Type <return> to continue, or q <return> to quit---
    data = {{v_int = 51, v_uint = 51, v_long = 51, v_ulong = 51, v_int64 =
4640138321337516083,
        v_uint64 = 4640138321337516083, v_float = 7.14662217e-44, v_double =
168.66308593750145,
        v_pointer = 0x33}, {v_int = 135645752, v_uint = 135645752, v_long =
135645752, v_ulong = 135645752,
        v_int64 = 582594068816972344, v_uint64 = 582594068816972344, v_float =
4.50757635e-34,
        v_double = 1.0311443801650107e-269, v_pointer = 0x815ca38}}}, {g_type =
8192, data = {{
        v_int = 1075172917, v_uint = 1075172917, v_long = 1075172917, v_ulong =
1075172917,
        v_int64 = 4612795443914855989, v_uint64 = 4612795443914855989, v_float =
2.34119916,
        v_double = 2.4926838881172224, v_pointer = 0x4015d635}, {v_int =
1110925844, v_uint = 1110925844,
        v_long = 1110925844, v_ulong = 1110925844, v_int64 = 4849051235442450964,
        v_uint64 = 4849051235442450964, v_float = 45.8457794, v_double =
15363272038335528,
        v_pointer = 0x42376214}}}, {g_type = 135645752, data = {{v_int =
135645752, v_uint = 135645752,
        v_long = 135645752, v_ulong = 135645752, v_int64 = 4641454299452656184,
        v_uint64 = 4641454299452656184, v_float = 4.50757635e-34, v_double =
206.06543354278415,
        v_pointer = 0x815ca38}, {v_int = 1129007752, v_uint = 1129007752, v_long
= 1129007752,
        v_ulong = 1129007752, v_int64 = 4639335378330536584, v_uint64 =
4639335378330536584,
        v_float = 203.291138, v_double = 145.84207310395527, v_pointer =
0x434b4a88}}}, {g_type = 135645752,
    data = {{v_int = 135645752, v_uint = 135645752, v_long = 135645752, v_ulong
= 135645752,
        v_int64 = 35184507734584, v_uint64 = 35184507734584, v_float =
4.50757635e-34,
        v_double = 1.7383456537493578e-310, v_pointer = 0x815ca38}, {v_int =
160, v_uint = 160,
        v_long = 160, v_ulong = 160, v_int64 = 2392296784032, v_uint64 =
2392296784032,
        v_float = 2.24207754e-43, v_double = 1.1819516556467072e-311, v_pointer
= 0xa0}}}, {g_type = 16,
    data = {{v_int = 51, v_uint = 51, v_long = 51, v_ulong = 51, v_int64 = 51,
v_uint64 = 51,
        v_float = 7.14662217e-44, v_double = 2.5197347937903574e-322, v_pointer
= 0x33}, {v_int = 135082600,
        v_uint = 135082600, v_long = 135082600, v_ulong = 135082600, v_int64 =
587207963203940968,
        v_uint64 = 587207963203940968, v_float = 4.24898963e-34, v_double =
2.0993746733984321e-269,
        v_pointer = 0x80d3268}}}}
        free_me = (GValue *) 0x0
        signal_return_type = 4
        param_values = (GValue *) 0x434b495c
        node = (SignalNode *) 0x826b4c8
        i = 0
        n_params = 0
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
#24 0x405ec90a in IA__g_signal_emit (instance=0x84d5210, signal_id=115,
detail=0) at gsignal.c:2241
        var_args = 0x434b4b3c "´\016\212@`yN\b\001"
#25 0x408a1a7a in IA__gtk_adjustment_value_changed (adjustment=0x84d5210) at
gtkadjustment.c:393
        __PRETTY_FUNCTION__ = "IA__gtk_adjustment_value_changed"
#26 0x408a192c in IA__gtk_adjustment_set_value (adjustment=0x84d5210,
value=8.0701754385964914)
    at gtkadjustment.c:376
        __PRETTY_FUNCTION__ = "IA__gtk_adjustment_set_value"
#27 0x409da798 in IA__gtk_progress_set_value (progress=0x8298d28,
value=8.0701754385964914)
    at gtkprogress.c:633
        __PRETTY_FUNCTION__ = "IA__gtk_progress_set_value"
#28 0x409da4a1 in IA__gtk_progress_set_percentage (progress=0x8298d28,
percentage=0.080701754385964913)
    at gtkprogress.c:590
        __PRETTY_FUNCTION__ = "IA__gtk_progress_set_percentage"
#29 0x409dd0fc in IA__gtk_progress_bar_set_fraction (pbar=0x8298d28,
fraction=0.080701754385964913)
    at gtkprogressbar.c:1011
        __PRETTY_FUNCTION__ = "IA__gtk_progress_bar_set_fraction"
#30 0x4077d779 in _wrap_gtk_progress_bar_set_fraction (self=0x42362be4,
args=0x4237cd8c, kwargs=0x0)
    at gtk.c:52448
        kwlist = {0x4081d98d "fraction", 0x0}
        fraction = 0.080701754385964913
#31 0x40095fb9 in PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#32 0x400d418a in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#33 0x400d3517 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#34 0x400d4c9d in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#35 0x400d33ad in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#36 0x400d4c9d in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#37 0x400d33ad in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#38 0x400d4c9d in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#39 0x400d33ad in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#40 0x400d4c9d in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#41 0x400d33ad in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#42 0x400d4c9d in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#43 0x400824ca in function_call () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#44 0x40067247 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#45 0x400d21cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#46 0x400d3517 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#47 0x400d4c9d in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#48 0x400824ca in function_call () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#49 0x40067247 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#50 0x4006f3c6 in instancemethod_call () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#51 0x40067247 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#52 0x400cdbbf in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.4.so.1.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#53 0x401023c4 in t_bootstrap () from /usr/lib/libpython2.4.so.1.0
No symbol table info available.
#54 0x4015a240 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#55 0x4033603e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Comment 1 Luis Menina 2006-06-06 15:06:40 UTC
*** Bug 6807 has been marked as a duplicate of this bug. ***
Comment 2 Carl Worth 2006-06-23 13:49:04 UTC
(In reply to comment #0)
> I have several seemingly random crashes in cairo. I'm developing an application
> that uses pygtk, and this seems to happen when I have a window with a
> progressbar active and I switch windows using alt-tab. I'm using gnome 2.12,
> cairo 1.0.4 and pycairo 1.0.0.
> 
> trace:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1129016240 (LWP 20846)]
> 0x40ce33b4 in _cairo_pixman_region_intersect (newReg=0x89bf708, reg1=0x26,
> reg2=0x89bf708)
>     at pixregion.c:1006
> 1006        if (PIXREGION_NIL(reg1)  || PIXREGION_NIL(reg2) ||
> (gdb)
> (gdb) bt full
> #0  0x40ce33b4 in _cairo_pixman_region_intersect (newReg=0x89bf708, reg1=0x26,
> reg2=0x89bf708)
>     at pixregion.c:1006

The reg1=0x26 there looks like the cause of your crash. And that has the
appearance of something having scribbled on memory, perhaps.

Before we could help track this bug down we would need to be able to reproduce
it. Can you replicate it relibaly? If so, can you then reduce your replicating
example to its _bare minimum_ and then provide it here?

(Oh, and testing against 1.1.10 would be helpful as well.)

-Carl
Comment 3 Benjamin Close 2008-01-11 02:36:19 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 4 Chris Wilson 2008-09-30 07:46:39 UTC
Closing bug - the stack trace does indeed show some wild writes through memory. Could have been cairo, and either a detail valgrind analysis or a reproducible test case would have confirmed the cause and whether or not it has truly been fixed. Without them our time is better spent finding ways to break the current library.


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.