← Back to team overview

compiz team mailing list archive

[Bug 1007754] Re: gtk-window-decorator crashed with SIGSEGV in meta_get_decoration_geometry

 

** Also affects: compiz (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: compiz (Ubuntu)
       Status: New => Incomplete

** Changed in: compiz (Ubuntu)
       Status: Incomplete => In Progress

** Description changed:

+ [Test Case]
+ No obvious test case for verifying the bug fix. Crash was hard to directly reproduce, so just ensure that the gtk-window-decorator does not crash during usage and start/restart
+ 
+ [Regression Potential]
+ Small change, no real regression potential
+ 
+ Original description:
+ 
  gtk-window-decorator can crash if on startup, a window is initially
  undecorated, since it will try to get its geometry regardless of the
  decoration state.
  
- #0  meta_get_decoration_geometry (d=0x817d488, theme=0x80f1cb0, 
-     flags=0xbfffdacc, fgeom=0xbfffd68c, button_layout=0xbfffda1c, 
-     frame_type=META_FRAME_TYPE_NORMAL, clip=0xbfffdabc)
-     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/metacity.c:550
- #1  0x08057dbd in meta_get_event_window_position (d=0x817d488, i=0, j=0, 
-     width=1213, height=910, x=0xbfffdb60, y=0xbfffdb64, w=0xbfffdb68, 
-     h=0xbfffdb6c)
-     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/metacity.c:1271
+ #0  meta_get_decoration_geometry (d=0x817d488, theme=0x80f1cb0,
+     flags=0xbfffdacc, fgeom=0xbfffd68c, button_layout=0xbfffda1c,
+     frame_type=META_FRAME_TYPE_NORMAL, clip=0xbfffdabc)
+     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/metacity.c:550
+ #1  0x08057dbd in meta_get_event_window_position (d=0x817d488, i=0, j=0,
+     width=1213, height=910, x=0xbfffdb60, y=0xbfffdb64, w=0xbfffdb68,
+     h=0xbfffdb6c)
+     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/metacity.c:1271
  #2  0x08060283 in update_event_windows (win=0x817a800)
-     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/decorator.c:283
+     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/decorator.c:283
  #3  0x0805ebe2 in add_frame_window (win=0x817a800, frame=14684311, mode=0)
-     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/wnck.c:427
+     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/wnck.c:427
  #4  0x0805f258 in window_opened (screen=0x80e5070, win=0x817a800)
-     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/wnck.c:781
+     at /home/smspillaz/Source/Compiz/dev/dev/merges/compiz/proposed/compiz.fix_1002606/gtk/window-decorator/wnck.c:781
  #5  0xb7778690 in g_cclosure_marshal_VOID__OBJECTv ()
-    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
+    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1007754

Title:
  gtk-window-decorator crashed with SIGSEGV in
  meta_get_decoration_geometry

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1007754/+subscriptions