I finally trapped one of the X Window crashes. It seems like the app exits on the error. It didn't actually break on gdk_x_error. Do I have a misconfiguration? Did I typo on specifying the breakpoint?

----

$ gdb SciTE
GNU gdb Red Hat Linux (6.5-15.fc6rh)
Copyright (C) 2006 Free Software Foundation, Inc.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(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/SciTE --sync

---

[New Thread -1269834864 (LWP 24331)]
[New Thread -1248855152 (LWP 24332)]
[Thread -1269834864 (LWP 24331) exited]
[Thread -1248855152 (LWP 24332) exited]
The program 'SciTE' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 21802224 error_code 1 request_code 0 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.)

Program exited with code 01.
(gdb) bt
No stack.
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to