Le samedi 28 novembre 2009 à 11:48 -0600, Adam Majer a écrit : > Found a cool trick to redirect descriptors with debugger :) And the > stderr printed from nautilus is, > > The program 'nautilus' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadMatch (invalid parameter attributes)'. > (Details: serial 17866 error_code 8 request_code 142 minor_code 2) > (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.) > > Ok, so let's follow what the error says to do, except there is no such > thing as gdk_x_error. At least that's what gdb reports. Seems there is > some errors in gdk or someplace that displays the *wrong* message!
Using "break gdk_x_error" should work when libgtk2.0-0-dbg is installed. Cheers, -- .''`. Josselin Mouette : :' : `. `' “I recommend you to learn English in hope that you in `- future understand things” -- Jörg Schilling
signature.asc
Description: Ceci est une partie de message numériquement signée

