Re: [compiz] gtk-window-decorator segfault
On Wed, 2007-02-14 at 22:19 +0100, gandalfn wrote: I revert on compiz-0.3.6 with i have same problem, to catch gdk_x_error backtrace and valgrind, i hope that can you help. This looks like an Xrender bug that is worked around using a call to XFlush. Can you try if using a version libXrender with the patch attached to this https://bugs.freedesktop.org/show_bug.cgi?id=9526 bug helps. - David ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] gtk-window-decorator segfault
I have same issue and after apply latest commit, gtk-window-decorator now hangs. When i attach with gdb, i have this backtrace : #0 0xb7f27410 in __kernel_vsyscall () #1 0xb75ae6bb in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xb773ef19 in _XWaitForReadable (dpy=0x806d300) at ../../src/XlibInt.c:500 #3 0xb773f2ff in _XRead (dpy=0x806d300, data=0xbfa4531c \034\033[\234 , size=32) at ../../src/XlibInt.c:1089 #4 0xb773fcd4 in _XReply (dpy=0x806d300, rep=0xbfa4531c, extra=0, discard=0) at ../../src/XlibInt.c:1716 #5 0xb7721176 in XGetWindowProperty (dpy=0x806d300, w=93, property=351, offset=0, length=2147483647, delete=0, req_type=33, actual_type=0xbfa453a8, actual_format=0xbfa453a4, nitems=0xbfa453a0, bytesafter=0xbfa4539c, prop=0xbfa45398) at ../../src/GetProp.c:64 #6 0xb7efd163 in _wnck_get_window_list (xwindow=93, atom=351, windows=0xbfa454b8, len=0xbfa454b4) at xutils.c:399 #7 0xb7ee914c in do_update_now (screen=0x80851c0) at screen.c:1186 #8 0xb7ee9fc8 in update_idle (data=0x80851c0) at screen.c:1936 #9 0xb7655ee1 in g_idle_dispatch (source=0x810f570, callback=0x, user_data=0x80851c0) at gmain.c:3928 #10 0xb7657c42 in IA__g_main_context_dispatch (context=0x807bb78) at gmain.c:2045 #11 0xb765ac1f in g_main_context_iterate (context=0x807bb78, block=1, dispatch=1, self=0x8095dc8) at gmain.c:2677 #12 0xb765afc9 in IA__g_main_loop_run (loop=0x8109260) at gmain.c:2881 #13 0xb7b9bf84 in IA__gtk_main () at gtkmain.c:1171 It's seem gtk-window-decorator hang when libwnck get _NET_CLIENT_LIST_STACKING window property. Nicolas -- gandalfn [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] gtk-window-decorator segfault
On Wed, 2007-02-14 at 20:38 +0100, gandalfn wrote: I have same issue and after apply latest commit, gtk-window-decorator now hangs. When i attach with gdb, i have this backtrace : #0 0xb7f27410 in __kernel_vsyscall () #1 0xb75ae6bb in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xb773ef19 in _XWaitForReadable (dpy=0x806d300) at ../../src/XlibInt.c:500 #3 0xb773f2ff in _XRead (dpy=0x806d300, data=0xbfa4531c \034\033[\234 , size=32) at ../../src/XlibInt.c:1089 #4 0xb773fcd4 in _XReply (dpy=0x806d300, rep=0xbfa4531c, extra=0, discard=0) at ../../src/XlibInt.c:1716 #5 0xb7721176 in XGetWindowProperty (dpy=0x806d300, w=93, property=351, offset=0, length=2147483647, delete=0, req_type=33, actual_type=0xbfa453a8, actual_format=0xbfa453a4, nitems=0xbfa453a0, bytesafter=0xbfa4539c, prop=0xbfa45398) at ../../src/GetProp.c:64 #6 0xb7efd163 in _wnck_get_window_list (xwindow=93, atom=351, windows=0xbfa454b8, len=0xbfa454b4) at xutils.c:399 #7 0xb7ee914c in do_update_now (screen=0x80851c0) at screen.c:1186 #8 0xb7ee9fc8 in update_idle (data=0x80851c0) at screen.c:1936 #9 0xb7655ee1 in g_idle_dispatch (source=0x810f570, callback=0x, user_data=0x80851c0) at gmain.c:3928 #10 0xb7657c42 in IA__g_main_context_dispatch (context=0x807bb78) at gmain.c:2045 #11 0xb765ac1f in g_main_context_iterate (context=0x807bb78, block=1, dispatch=1, self=0x8095dc8) at gmain.c:2677 #12 0xb765afc9 in IA__g_main_loop_run (loop=0x8109260) at gmain.c:2881 #13 0xb7b9bf84 in IA__gtk_main () at gtkmain.c:1171 It's seem gtk-window-decorator hang when libwnck get _NET_CLIENT_LIST_STACKING window property. That's strange, XGetWindowProperty should never be able hang an application like that unless the server hangs. I suspect that the real problem occurs before _wnck_get_window_list is called. Is valgrind reporting anything suspicious? - David ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] gtk-window-decorator segfault
I revert on compiz-0.3.6 with i have same problem, to catch gdk_x_error backtrace and valgrind, i hope that can you help. Nicolas -- gandalfn [EMAIL PROTECTED] ==7570== Memcheck, a memory error detector. ==7570== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==7570== Using LibVEX rev 1658, a library for dynamic binary translation. ==7570== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==7570== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation framework. ==7570== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==7570== For more details, rerun with: -v ==7570== ==7570== Invalid read of size 4 ==7570==at 0x4014757: (within /lib/ld-2.5.so) ==7570==by 0x4887C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x48882AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x4887B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x47C382E: open_object (XlcDL.c:334) ==7570==by 0x47C4523: _XlcDynamicLoad (XlcDL.c:423) ==7570==by 0x47D8D42: _XOpenLC (lcWrap.c:296) ==7570==by 0x47D8E82: _XlcCurrentLC (lcWrap.c:357) ==7570==by 0x47D9146: XSupportsLocale (lcWrap.c:101) ==7570==by 0x45379D2: _gdk_x11_initialize_locale (gdkim-x11.c:65) ==7570==by 0x453C806: _gdk_windowing_init (gdkmain-x11.c:99) ==7570== Address 0x4B503EC is 76 bytes inside a block of size 77 alloc'd ==7570==at 0x4021380: malloc (vg_replace_malloc.c:149) ==7570==by 0x400D0A2: (within /lib/ld-2.5.so) ==7570==by 0x4008164: (within /lib/ld-2.5.so) ==7570==by 0x4010D74: (within /lib/ld-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x40108C8: (within /lib/ld-2.5.so) ==7570==by 0x4887C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x48882AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x4887B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x47C382E: open_object (XlcDL.c:334) ==7570==by 0x47C4523: _XlcDynamicLoad (XlcDL.c:423) ==7570== ==7570== Conditional jump or move depends on uninitialised value(s) ==7570==at 0x4014761: (within /lib/ld-2.5.so) ==7570==by 0x4010AB0: (within /lib/ld-2.5.so) ==7570==by 0x4887C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x48882AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x4887B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x47C382E: open_object (XlcDL.c:334) ==7570==by 0x47C4523: _XlcDynamicLoad (XlcDL.c:423) ==7570==by 0x47D8D42: _XOpenLC (lcWrap.c:296) ==7570==by 0x47D8E82: _XlcCurrentLC (lcWrap.c:357) ==7570==by 0x47D9146: XSupportsLocale (lcWrap.c:101) ==7570==by 0x45379D2: _gdk_x11_initialize_locale (gdkim-x11.c:65) ==7570== ==7570== Conditional jump or move depends on uninitialised value(s) ==7570==at 0x401476C: (within /lib/ld-2.5.so) ==7570==by 0x4010AB0: (within /lib/ld-2.5.so) ==7570==by 0x4887C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x48882AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x4887B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==7570==by 0x47C382E: open_object (XlcDL.c:334) ==7570==by 0x47C4523: _XlcDynamicLoad (XlcDL.c:423) ==7570==by 0x47D8D42: _XOpenLC (lcWrap.c:296) ==7570==by 0x47D8E82: _XlcCurrentLC (lcWrap.c:357) ==7570==by 0x47D9146: XSupportsLocale (lcWrap.c:101) ==7570==by 0x45379D2: _gdk_x11_initialize_locale (gdkim-x11.c:65) ==7570== ==7570== Invalid read of size 4 ==7570==at 0x4014729: (within /lib/ld-2.5.so) ==7570==by 0x4005B69: (within /lib/ld-2.5.so) ==7570==by 0x4007995: (within /lib/ld-2.5.so) ==7570==by 0x4010D74: (within /lib/ld-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x40108C8: (within /lib/ld-2.5.so) ==7570==by 0x4A24F01: (within /lib/tls/i686/cmov/libc-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x4A250B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.5.so) ==7570==by 0x4A002CE: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.5.so) ==7570==by 0x4A003BF: (within /lib/tls/i686/cmov/libc-2.5.so) ==7570==by 0x4A02125: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.5.so) ==7570== Address 0x4B61F7C is 36 bytes inside a block of size 38 alloc'd ==7570==at 0x4021380: malloc (vg_replace_malloc.c:149) ==7570==by 0x4007F33: (within /lib/ld-2.5.so) ==7570==by 0x4010D74: (within /lib/ld-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x40108C8: (within /lib/ld-2.5.so) ==7570==by 0x4A24F01: (within /lib/tls/i686/cmov/libc-2.5.so) ==7570==by 0x400CF95: (within /lib/ld-2.5.so) ==7570==by 0x4A250B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.5.so) ==7570==by 0x4A002CE:
Re: [compiz] gtk-window-decorator segfault?
On Tue, 2006-12-05 at 13:22 +0100, Bellegarde Cedric wrote: Le mardi 5 décembre 2006 09:45, Bellegarde Cedric a écrit : With current git, gtk-window-decorator quit when kde start :( Another way to make it quit: dcop kicker kicker restart = gtk-window-decorator quit Starting kopete also make gtk-window-decorator to quit. Sorry, I can't reproduce this. -David ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] gtk-window-decorator segfault?
On Tue, 2006-12-12 at 00:50 +0100, Bellegarde Cedric wrote: Le samedi 9 décembre 2006 09:41, lowfi a écrit : I have a similar problem now. Sometimes all buttons of the decoration suddenly disappear and if I kill and restart gwd it either works again or segfaults. I'm using the latest git on ubuntu feisty and nvidia 9629. Here is a little hack for this bug. For me, gtk-window-decorator segfault when starting kicker with TopMacOs Menu style. OK, after looking at that patch it was pretty easy to find out what was going wrong. Should now be fixed in head. -David ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] gtk-window-decorator segfault?
Hi, I have a similar problem now. Sometimes all buttons of the decoration suddenly disappear and if I kill and restart gwd it either works again or segfaults. I'm using the latest git on ubuntu feisty and nvidia 9629. Gerd. Here's a backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1218885952 (LWP 9195)] 0x0804d90f in update_window_decoration_name (win=value optimized out) at gtk-window-decorator.c:2758 2758w = d-border_layout.top.x2 - d-border_layout.top.x1 - (gdb) bt #0 0x0804d90f in update_window_decoration_name (win=value optimized out) at gtk-window-decorator.c:2758 #1 0x0804fbc0 in update_window_decoration_size (win=0x8122240) at gtk-window-decorator.c:3003 #2 0x08051746 in add_frame_window (win=0x8122240, frame=39968360) at gtk-window-decorator.c:3120 #3 0x08051921 in window_opened (screen=0x80d1230, win=0x8122240) at gtk-window-decorator.c:3532 #4 0xb78c8f49 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0 #5 0xb78bc6ab in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #6 0xb78ccaa3 in g_signal_chain_from_overridden () from /usr/lib/libgobject-2.0.so.0 #7 0xb78cdfc7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #8 0xb78ce189 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #9 0xb7f1f373 in wnck_screen_get_workspace_count () from /usr/lib/libwnck-1.so.18 #10 0xb7f1f8a8 in wnck_screen_get_workspace_count () from /usr/lib/libwnck-1.so.18 #11 0xb7842991 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0 #12 0xb78446f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #13 0xb78476cf in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #14 0xb7847a79 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #15 0xb7ccb574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #16 0x08054a2e in main (argc=135100488, argv=0xfff39fef) at gtk-window-decorator.c:5722 (gdb) info reg eax0x0 0 ecx0xb77f0073 -1216413581 edx0x0 0 ebx0x8129bb8135437240 esp0xbfc692c0 0xbfc692c0 ebp0xbfc692d8 0xbfc692d8 esi0x5 5 edi0x8129ad0135437008 eip0x804d90f0x804d90f update_window_decoration_name+351 eflags 0x10246 [ PF ZF IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz