Bug 10188

Summary: gtk-window-decorator crashed with SIGSEGV in cairo_set_source_rgba()
Product: xorg Reporter: Sebastien Bacher <seb128>
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sebastien Bacher 2007-03-05 13:21:00 UTC
That bug has been opened https://launchpad.net/ubuntu/+source/compiz/+bug/82205

"Binary package hint: compiz

Almost all time when I log in using my user account, Compiz crash -> a crash report window tell me about that - NOTE that I log-in into a Gnome Session NOT XGL.
...
ExecutablePath: /usr/bin/gtk-window-decorator
Package: compiz-gnome 1:0.3.6-1ubuntu2
ProcCmdline: gtk-window-decorator --replace
..."

Debug backtrace for the crash:

#0  cairo_set_source_rgba (cr=0x0, red=0.92941176470588238, green=0.9137254901960784, blue=0.8901960784313725, alpha=1)
    at /build/buildd/libcairo-1.3.14/src/cairo.c:632
        pattern = <value optimized out>
#1  0x0804ead0 in gdk_cairo_set_source_color_alpha (cr=0x0, color=<value optimized out>, alpha=1)
    at ../../../gtk/window-decorator/gtk-window-decorator.c:514
No locals.
#2  0x08053cec in meta_draw_window_decoration (d=0xbfeb2814) at ../../../gtk/window-decorator/gtk-window-decorator.c:1693
        xdisplay = (Display *) 0x806d418
        pixmap = (GdkPixmap *) 0x0
        src = <value optimized out>
        button_states = {META_BUTTON_STATE_NORMAL <repeats 16 times>}
        button_layout = {left_buttons = {META_BUTTON_FUNCTION_MENU, META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, 
    META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, 
    META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST}, right_buttons = {
    META_BUTTON_FUNCTION_MINIMIZE, META_BUTTON_FUNCTION_MAXIMIZE, META_BUTTON_FUNCTION_CLOSE, META_BUTTON_FUNCTION_LAST, 
    META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST, 
    META_BUTTON_FUNCTION_LAST, META_BUTTON_FUNCTION_LAST}}
        fgeom = {left_width = 5, right_width = 5, top_height = 24, bottom_height = 5, width = 27, height = 35, 
  title_rect = {x = 6, y = 1, width = 15, height = 21}, left_titlebar_edge = 4, right_titlebar_edge = 4, 
  top_titlebar_edge = 1, bottom_titlebar_edge = 2, close_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, max_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, min_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, menu_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, shade_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, above_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, stick_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, unshade_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, unabove_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, unstick_rect = {visible = {x = 0, y = 0, width = 0, height = 0}, 
    clickable = {x = 0, y = 0, width = 0, height = 0}}, left_left_background = {x = 0, y = 0, width = 0, height = 0}, 
  left_middle_backgrounds = {{x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, 
      width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, 
      y = 0, width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}}, 
  left_right_background = {x = 0, y = 0, width = 0, height = 0}, right_left_background = {x = 0, y = 0, width = 0, 
    height = 0}, right_middle_backgrounds = {{x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, width = 0, 
      height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, 
      width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, y = 0, width = 0, height = 0}, {x = 0, 
      y = 0, width = 0, height = 0}}, right_right_background = {x = 0, y = 0, width = 0, height = 0}, 
  top_left_corner_rounded_radius = 5, top_right_corner_rounded_radius = 5, bottom_left_corner_rounded_radius = 5, 
  bottom_right_corner_rounded_radius = 5}
        flags = 2162
        theme = (MetaTheme *) 0x80c8108
        style = (GtkStyle *) 0x80bc000
        cr = (cairo_t *) 0x0
        size = <value optimized out>
        i = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        clip = {x = 7, y = 7, width = 27, height = 35}
        rect = {x = 0, y = 0, width = 27, height = 0}
        drawable = <value optimized out>
        region = <value optimized out>
        alpha = 1
        shade_alpha = 1
        frame_style = (MetaFrameStyle *) 0x80e4170
        bg_color = {pixel = 15591907, red = 60909, green = 59881, blue = 58339}
        bg_alpha = 1
#3  0x0805107b in draw_border_shape (xdisplay=0x806d418, pixmap=20971625, picture=20971627, width=43, height=51, 
    c=0x8058740, closure=0x0) at ../../../gtk/window-decorator/gtk-window-decorator.c:4961
        screen = <value optimized out>
        colormap = <value optimized out>
        d = {event_windows = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, button_windows = {0, 0, 0, 0}, button_states = {0, 0, 0, 
    0}, pixmap = 0x81102c0, buffer_pixmap = 0x0, gc = 0x0, border_layout = {width = 43, height = 51, left = {x1 = 0, 
      y1 = 31, x2 = 12, y2 = 37, pad = 0}, right = {x1 = 29, y1 = 31, x2 = 43, y2 = 37, pad = 0}, top = {x1 = 0, y1 = 0, 
      x2 = 43, y2 = 31, pad = 0}, bottom = {x1 = 0, y1 = 37, x2 = 43, y2 = 51, pad = 0}, rotation = 0}, 
  context = 0x8058740, shadow = 0x0, picture = 20971627, button_width = 0, width = 43, height = 51, decorated = 0, 
  active = 1, layout = 0x0, name = 0x0, icon = 0x0, icon_pixmap = 0x0, icon_pixbuf = 0x0, state = 0, actions = 0, 
  prop_xid = 0, force_quit_dialog = 0x0, draw = 0x8053a70 <meta_draw_window_decoration>}
        save_decoration_alpha = 0.5
        white = {red = 65535, green = 65535, blue = 65535, alpha = 65535}
#4  0xb7fb65d4 in decor_shadow_create () from /usr/lib/libdecoration.so.0
No symbol table info available.
#5  0x08050e01 in update_shadow () at ../../../gtk/window-decorator/gtk-window-decorator.c:5015
        opt = {shadow_radius = 8, shadow_opacity = 0.5, shadow_color = {0, 0, 0}, shadow_offset_x = 1, 
  shadow_offset_y = 1}
        xdisplay = (Display *) 0x806d418
        display = <value optimized out>
        screen = (GdkScreen *) 0x807a0d0
#6  0x080569c9 in main (argc=Cannot access memory at address 0x0
) at ../../../gtk/window-decorator/gtk-window-decorator.c:5979
        gdkdisplay = <value optimized out>
        xdisplay = (Display *) 0x806d418
        gdkscreen = (GdkScreen *) 0x807a0d0
        screen = (WnckScreen *) 0x80a3660
        i = 3
        j = <value optimized out>
        status = <value optimized out>
        replace = 0
        meta_theme = 0x0
#7  0xb75eeebc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#8  0x0804cd81 in _start ()
No symbol table info available.
Comment 1 Kristian LyngstĂžl 2009-02-05 12:05:58 UTC
Downstream bug-report is more up-to-date... This has been resolved. Thanks for the report.

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.