GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.7"... (gdb) run Starting program: /home/michaelg/bin/SunOS/bin/ratpoison ratpoison:main.c:630: debug: _NET_WM_PID = 251 ratpoison:main.c:632: debug: _NET_SUPPORTED = 252 ratpoison:number.c:76: debug: ns=48360 add_num 0 ratpoison:number.c:99: debug: ns=48360 request got 0 ratpoison:screen.c:215: debug: 1 screens. ratpoison:screen.c:293: debug: DISPLAY=:0.0 ratpoison:number.c:76: debug: ns=483a8 add_num 0 ratpoison:number.c:99: debug: ns=483a8 request got 0 ratpoison:input.c:115: debug: Found Alt on 8 ratpoison:input.c:135: debug: Found NumLock on 32 ratpoison:input.c:108: debug: Found Meta on 64 ratpoison:input.c:108: debug: Found Meta on 64 ratpoison:actions.c:516: debug: realloc()ed key_table 2 ratpoison:actions.c:516: debug: realloc()ed key_table 4 ratpoison:actions.c:516: debug: realloc()ed key_table 8 ratpoison:actions.c:516: debug: realloc()ed key_table 16 ratpoison:actions.c:516: debug: realloc()ed key_table 32 ratpoison:actions.c:516: debug: realloc()ed key_table 64 ratpoison:actions.c:516: debug: realloc()ed key_table 128 ratpoison:manage.c:434: debug: windows: 20 ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsViewable ratpoison:manage.c:466: debug: state: Normal ratpoison:manage.c:816: debug: Mapping the unmapped window Unnamed ratpoison:manage.c:214: debug: XGetWindowProperty: 0 31 8 5 0 'xterm' ratpoison:manage.c:229: debug: WM_NAME: 'xterm' ratpoison:manage.c:186: debug: minx: 13 miny: 19 ratpoison:manage.c:192: debug: incx: 9 incy: 15 ratpoison:number.c:76: debug: ns=48390 add_num 0 ratpoison:number.c:99: debug: ns=48390 request got 0 ratpoison:manage.c:122: debug: grabbing top level key ratpoison:manage.c:125: debug: 0 ratpoison:input.c:62: debug: rp mask = 2 ratpoison:input.c:71: debug: x11 mask = 4 ratpoison:input.c:196: debug: keycode_mod: 116 30 0 ratpoison:number.c:76: debug: ns=48378 add_num 0 ratpoison:number.c:99: debug: ns=48378 request got 0 ratpoison:window.c:566: debug: intended_frame_number: -1 ratpoison:window.c:650: debug: new window: xterm ratpoison:manage.c:687: debug: aspect: 0 ratpoison:manage.c:709: debug: frame width=1280 height=1024 ratpoison:manage.c:741: debug: maxsize: 1273 1009 ratpoison:manage.c:765: debug: Resizing window 'xterm' to x:0 y:0 w:1273 h:1009 ratpoison:globals.c:241: debug: Giving focus to 'xterm' ratpoison:manage.c:451: debug: attrs: 0 0 0 0 1280 1024 ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 ratpoison:manage.c:463: debug: map_state: IsUnmapped ratpoison:manage.c:466: debug: state: Other ratpoison:main.c:351: debug: rcfile line: exec rpws init 6 -a ratpoison:actions.c:2325: debug: cmd==exec rest==rpws init 6 -a ratpoison:actions.c:2087: debug: list len: 1 ratpoison:actions.c:2486: debug: spawned rpws init 6 -a ratpoison:main.c:351: debug: rcfile line: bind c exec rxvt ratpoison:actions.c:2325: debug: cmd==bind rest==c exec rxvt ratpoison:actions.c:2325: debug: cmd==definekey rest==root c exec rxvt ratpoison:actions.c:2087: debug: list len: 3 ratpoison:main.c:351: debug: rcfile line: bind W exec allwindows.sh ratpoison:actions.c:2325: debug: cmd==bind rest==W exec allwindows.sh ratpoison:actions.c:2325: debug: cmd==definekey rest==root W exec allwindows.sh ratpoison:actions.c:2087: debug: list len: 3 ratpoison:main.c:351: debug: rcfile line: ratpoison:main.c:351: debug: rcfile line: bind F1 rpws1 ratpoison:actions.c:2325: debug: cmd==bind rest==F1 rpws1 ratpoison:actions.c:2325: debug: cmd==definekey rest==root F1 rpws1 ratpoison:actions.c:2087: debug: list len: 3 ratpoison:main.c:351: debug: rcfile line: bind F2 rpws2 ratpoison:actions.c:2325: debug: cmd==bind rest==F2 rpws2 ratpoison:actions.c:2325: debug: cmd==definekey rest==root F2 rpws2 ratpoison:actions.c:2087: debug: list len: 3 ratpoison:main.c:351: debug: rcfile line: bind F3 rpws3 ratpoison:actions.c:2325: debug: cmd==bind rest==F3 rpws3 ratpoison:actions.c:2325: debug: cmd==definekey rest==root F3 rpws3 ratpoison:actions.c:2087: debug: list len: 3 ratpoison:main.c:351: debug: rcfile line: bind F4 rpws4 ratpoison:actions.c:2325: debug: cmd==bind rest==F4 rpws4 ratpoison:actions.c:2325: debug: cmd==definekey rest==root F4 rpws4 ratpoison:actions.c:2087: debug: list len: 3 ratpoison:main.c:351: debug: rcfile line: bind F5 rpws5 ratpoison:actions.c:2325: debug: cmd==bind rest==F5 rpws5 ratpoison:actions.c:2325: debug: cmd==definekey rest==root F5 rpws5 ratpoison:actions.c:2087: debug: list len: 3 ratpoison:main.c:351: debug: rcfile line: bind F6 rpws6 ratpoison:actions.c:2325: debug: cmd==bind rest==F6 rpws6 ratpoison:actions.c:2325: debug: cmd==definekey rest==root F6 rpws6 ratpoison:actions.c:2087: debug: list len: 3 ratpoison:bar.c:498: debug: msg = Welcome to ratpoison! Hit `C-t ?' for help. ratpoison:bar.c:499: debug: mark_start = 0, mark_end = 0 ratpoison:events.c:820: debug: --- Handling PropertyNotify --- ratpoison:events.c:587: debug: atom: 252 ratpoison:window.c:266: debug: Window not found. ratpoison:events.c:800: debug: --- Handling CreateNotify --- ratpoison:window.c:266: debug: Window not found. ratpoison:events.c:800: debug: --- Handling CreateNotify --- ratpoison:window.c:266: debug: Window not found. ratpoison:events.c:800: debug: --- Handling CreateNotify --- ratpoison:window.c:266: debug: Window not found. ratpoison:events.c:800: debug: --- Handling CreateNotify --- ratpoison:window.c:266: debug: Window not found. ratpoison:events.c:800: debug: --- Handling CreateNotify --- ratpoison:window.c:266: debug: Window not found. ratpoison:events.c:820: debug: --- Handling PropertyNotify --- ratpoison:events.c:587: debug: atom: 99 ratpoison:window.c:270: debug: Window found in mapped window list. ratpoison:events.c:638: debug: Unhandled property notify event: 99 ratpoison:events.c:863: debug: --- Handling ConfigureNotify --- ratpoison:events.c:863: debug: --- Handling ConfigureNotify --- ratpoison:events.c:820: debug: --- Handling PropertyNotify --- ratpoison:events.c:587: debug: atom: 99 ratpoison:window.c:270: debug: Window found in mapped window list. ratpoison:events.c:638: debug: Unhandled property notify event: 99 ratpoison:events.c:863: debug: --- Handling ConfigureNotify --- ratpoison:events.c:863: debug: --- Handling ConfigureNotify --- ratpoison:events.c:800: debug: --- Handling CreateNotify --- ratpoison:window.c:266: debug: Window not found. ratpoison:window.c:193: debug: transient 0 ratpoison:window.c:135: debug: Couldn't get _NET_WM_PID Property ratpoison:window.c:230: debug: frame_num: -1 Program received signal SIGSEGV, Segmentation fault. 0xff0b3218 in strlen () from /usr/lib/libc.so.1 (gdb) bt #0 0xff0b3218 in strlen () from /usr/lib/libc.so.1 #1 0xff1065a0 in _doprnt () from /usr/lib/libc.so.1 #2 0xff108470 in printf () from /usr/lib/libc.so.1 #3 0x2a264 in get_wmname (w=279160) at manage.c:214 #4 0x2a484 in update_window_name (win=0x56710) at manage.c:313 #5 0x2a5c0 in update_window_information (win=0x56710) at manage.c:379 #6 0x243d0 in listen_for_events () at events.c:989 #7 0x2995c in main (argc=0, argv=0xffbeecfc) at main.c:688 (gdb) quit The program is running. Exit anyway? (y or n)