On kde, gtk-window-decorator segfault everytime a minimised "Konqueror download window" close it self... Running with --sync fix the problem so no way to have a backtrace :( Cedric
On Tue, 2007-02-13 at 21:38 +0100, Bellegarde Cedric wrote:> On kde, gtk-window-decorator segfault everytime a minimised "Konqueror > download window" close it self... > > Running with --sync fix the problem so no way to have a backtrace :(Does it segfault or does it exit due to an XError? If it actually segfaults then the backtrace is useful without making all X requests synchronous. If it's an XError, then the information about the error that gtk spits out is still very useful (like request code that caused the error and so on). - David
On Wed, 2007-02-14 at 08:30 +0100, Bellegarde Cedric wrote:> On Tuesday 13 February 2007 19:32:20 you wrote: > > Does it segfault or does it exit due to an XError? If it actually > > segfaults then the backtrace is useful without making all X requests > > synchronous. If it's an XError, then the information about the error > > that gtk spits out is still very useful (like request code that caused > > the error and so on). > > > > - David > > > gnumdk@flanders:~$ LANG=C gtk-window-decorator > 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 113716 error_code 3 request_code 18 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.) > gtk-window-decorator: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' > failed. > AbandonIf you look up request_code 18 in Xproto.h, you'll find: #define X_ChangeProperty 18 which means that a ChangeProperty request caused this error to be generated. ChangeProperty request are allowed to fail in gwd as a window can always be destroyed without gwd finding out about it but later. So all calls to XChangeProperty (except maybe those that change root window properties) should be surrounded by calls to gdk_error_trap_push () and gdk_error_trap_pop (). A call to XSync or gdk_display_sync should be made before gdk_error_trap_pop unless the xlib call blocks for a reply. I had a quick look at the gwd code and found a few cases where gdk_display_sync was not called properly and that's now fixed. Let me know if you still get this error. - David
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
Hi, I confirm with last feisty update which include libXrender patched the problem disappears. Thanks very much. Moreover, i made 2 small patchs for compiz debs : first fix gconf key for mouse move key : http://librarian.launchpad.net/6477876/11-fix-mouse-move-key.patch second initialize iNotifyDisplay in inotifyInitDisplay which fix crash on inotify plugin. http://librarian.launchpad.net/6477865/10-init-inotify-struct.patch - Nicolas On mar, 2007-02-20 at 11:10 +0100, David Reveman wrote:> 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 > > � >-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/compiz/attachments/20070220/e914d4dc/attachment.pgp
On Tue, 2007-02-13 at 21:38 +0100, Bellegarde Cedric wrote:> On kde, gtk-window-decorator segfault everytime a minimised "Konqueror > download window" close it self... > > Running with --sync fix the problem so no way to have a backtrace :(Are you still getting this? - David