[cairo] Re: Using --sync and gdb to debug X protocol errors in GTK+-based programs

Nigel Tao nigel.tao at myrealbox.com
Wed Jun 22 20:39:54 PDT 2005


> With a program based on GTK+ such as svgspacewar the process is
> considerably simpler:
> 
> 	gdb ./svgspacewar --sync
> 	break gdk_x_error
> 	run
> 	backtrace

For the record, (I think that) the --sync is given to the run, not the
gdb.


> The resulting stack trace should be very interesting to us, so please
> send it along.

attached to fd.o bug 3604:
https://bugs.freedesktop.org/show_bug.cgi?id=3604


Nigel.




More information about the cairo mailing list