From: George N. <gn...@cm...> - 2007-11-28 15:04:03
|
> I demand that George Nychis may or may not have written... > You're very demanding ;) > There should have been an "up 4" before that (to get to the right stack > frame) but it's unnecessary - the backtrace is enough and is pointing at the > check for a GNOME-compliant window manager. (The X error doesn't happen here; > but then I'm using xfwm4.) > > That said, I've just noticed a type mismatch - try the attached patch (which > should be committed anyway for correctness). > Thanks for the patch. I still am receiving the error, so I'm going to properly run GDB this time :) Breakpoint 1, _x_error_handler (display=0x81424c0, xevent=0xbfbafc98) at xitk.c:253 253 static int _x_error_handler(Display *display, XErrorEvent *xevent) { (gdb) bt #0 _x_error_handler (display=0x81424c0, xevent=0xbfbafc98) at xitk.c:253 #1 0xb7da6bfa in _XError () from /usr/lib/libX11.so.6 #2 0xb7da86c4 in _XReply () from /usr/lib/libX11.so.6 #3 0xb7d8c886 in XGetWindowProperty () from /usr/lib/libX11.so.6 #4 0x080dc37b in xitk_check_wm (display=0x81424c0) at xitk.c:501 #5 0x080df7b0 in xitk_init (display=0x81424c0, black= {pixel = 0, red = 0, green = 0, blue = 0, flags = 0 '\0', pad = 0 '\0'}, verbosity=0) at xitk.c:1880 #6 0x0805bf3c in gui_init (nfiles=0, filenames=0x813786c, window_attribute=0x812c5c8) at event.c:1664 #7 0x08070a21 in main (argc=1, argv=0xbfbb1414) at main.c:2022 ------------------------ (gdb) up 4 #4 0x080dc37b in xitk_check_wm (display=0x81424c0) at xitk.c:501 501 status = XGetWindowProperty(display, win_id, atom, 0, ------------------------ (gdb) info locals prop_return2 = (unsigned char *) 0x0 win_id = 12583086 nitems_return = 1 type_return = 6 status = 135429921 prop_return = (unsigned char *) 0x814d0f0 "®" bytes_after_return = 0 format_return = 32 atom = 346 type = 0 wm_name = 0x0 ------------------------ (gdb) info args display = (Display *) 0x81424c0 Hope this helps! Again, I appreciate it. - George |