Skip to content

Instantly share code, notes, and snippets.

Created May 22, 2013 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5626099 to your computer and use it in GitHub Desktop.
Save anonymous/5626099 to your computer and use it in GitHub Desktop.
(gdb) break gdk_x_error
Function "gdk_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
(gdb) run --sync
Starting program: /usr/bin/xfce4-terminal --sync
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe9c03700 (LWP 2108)]
[New Thread 0x7fffe3fff700 (LWP 2109)]
[New Thread 0x7fffe325c700 (LWP 2112)]
The program 'xfce4-terminal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1147 error_code 8 request_code 1 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.)
[Thread 0x7fffe3fff700 (LWP 2109) exited]
[Thread 0x7fffe9c03700 (LWP 2108) exited]
[Thread 0x7ffff7fb5940 (LWP 2104) exited]
[Inferior 1 (process 2104) exited with code 01]
(gdb) bt
No stack.
(gdb) backtrace
No stack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment