The "env DISPLAY=:0" didn't work from Terminator so I dropped it:
colan@crane[Mon 23 1:19]% gdb /usr/bin/gtk-window-decorator GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /usr/bin/gtk-window-decorator...(no debugging symbols found)...done. (gdb) break _exit Function "_exit" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (_exit) pending. (gdb) run --sync --replace Starting program: /usr/bin/gtk-window-decorator --sync --replace [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffef5c1700 (LWP 4324)] [New Thread 0x7fffedd4f700 (LWP 4325)] [New Thread 0x7fffe76e0700 (LWP 4326)] The program 'gtk-window-decorator' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 28225 error_code 3 request_code 20 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Breakpoint 1, 0x00007ffff507f3d0 in _exit () from /lib/x86_64-linux- gnu/libc.so.6 ** Changed in: compiz Status: Incomplete => New ** Changed in: compiz (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1027076 Title: gtk-window-decorator doesn't start on resuming from suspend To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1027076/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs