$ gdb `which wmiiwm` core GNU gdb 6.4.90-debian Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libXau.so.6...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2 Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1 Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2 Reading symbols from /usr/lib/libXcursor.so.1...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /usr/lib/libXrender.so.1...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libXfixes.so.3...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/X11/locale/common/xlcUTF8Load.so.2...done. Loaded symbols for /usr/lib/X11/locale/common/xlcUTF8Load.so.2 Reading symbols from /usr/lib/X11/locale/common/xomGeneric.so.2...done. Loaded symbols for /usr/lib/X11/locale/common/xomGeneric.so.2 Core was generated by `wmiiwm -a unix!/tmp/ns.sun.:0/wmii -r /home/sun/.wmii-3.5/wmiirc'. Program terminated with signal 11, Segmentation fault. #0 0x080531c8 in respond_event (r=0x80ac998) at fs.c:300 300 if(f->content.buf) { (gdb) bt full #0 0x080531c8 in respond_event (r=0x80ac998) at fs.c:300 f = (FileId *) 0x70617275 #1 0x08053377 in write_event (format=0x8061396 "LeftBarClick %d %s\n") at fs.c:335 len = 19 slen = 134866104 ap = 0xbfddd844 "\001" f = (FidLink *) 0x0 fi = (FileId *) 0xbfddd838 aux = (P9Req *) 0x80ac998 req = (P9Req *) 0x0 #2 0x08050dec in buttonrelease (e=0xbfddd894) at event.c:27 f = (Frame *) 0x8076af0 b = (Bar *) 0x80a7ce0 ev = (XButtonPressedEvent *) 0xbfddd894 #3 0x08051c43 in check_x_event (c=0x8076688) at event.c:402 ev = {type = 5, xany = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339}, xkey = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, root = 118, subwindow = 0, time = 123848586, x = 142, y = 11, x_root = 142, y_root = 1191, state = 256, keycode = 1, same_screen = 1}, xbutton = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, ---Type to continue, or q to quit--- window = 4194339, root = 118, subwindow = 0, time = 123848586, x = 142, y = 11, x_root = 142, y_root = 1191, state = 256, button = 1, same_screen = 1}, xmotion = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, root = 118, subwindow = 0, time = 123848586, x = 142, y = 11, x_root = 142, y_root = 1191, state = 256, is_hint = 1 '\001', same_screen = 1}, xcrossing = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, root = 118, subwindow = 0, time = 123848586, x = 142, y = 11, x_root = 142, y_root = 1191, mode = 256, detail = 1, same_screen = 1, focus = 0, state = 0}, xfocus = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, mode = 118, detail = 0}, xexpose = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, x = 118, y = 0, width = 123848586, height = 142, count = 11}, xgraphicsexpose = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, drawable = 4194339, x = 118, y = 0, width = 123848586, height = 142, count = 11, major_code = 142, minor_code = 1191}, xnoexpose = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, drawable = 4194339, major_code = 118, minor_code = 0}, xvisibility = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, state = 118}, xcreatewindow = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, parent = 4194339, window = 118, x = 0, y = 123848586, ---Type to continue, or q to quit--- width = 142, height = 11, border_width = 142, override_redirect = 1191}, xdestroywindow = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, event = 4194339, window = 118}, xunmap = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, event = 4194339, window = 118, from_configure = 0}, xmap = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, event = 4194339, window = 118, override_redirect = 0}, xmaprequest = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, parent = 4194339, window = 118}, xreparent = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, event = 4194339, window = 118, parent = 0, x = 123848586, y = 142, override_redirect = 11}, xconfigure = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, event = 4194339, window = 118, x = 0, y = 123848586, width = 142, height = 11, border_width = 142, above = 1191, override_redirect = 256}, xgravity = { type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, event = 4194339, window = 118, x = 0, y = 123848586}, xresizerequest = { type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, width = 118, height = 0}, xconfigurerequest = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, parent = 4194339, window = 118, x = 0, y = 123848586, width = 142, height = 11, border_width = 142, above = 1191, detail = 256, value_mask = 1}, xcirculate = {type = 5, serial = 4892255, send_event = 0, ---Type to continue, or q to quit--- display = 0x8071d28, event = 4194339, window = 118, place = 0}, xcirculaterequest = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, parent = 4194339, window = 118, place = 0}, xproperty = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, atom = 118, time = 0, state = 123848586}, xselectionclear = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, selection = 118, time = 0}, xselectionrequest = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, owner = 4194339, requestor = 118, selection = 0, target = 123848586, property = 142, time = 11}, xselection = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, requestor = 4194339, selection = 118, target = 0, property = 123848586, time = 142}, xcolormap = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, colormap = 118, new = 0, state = 123848586}, xclient = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, message_type = 118, format = 0, data = { b = "\212�a\a\216\000\000\000\v\000\000\000\216\000\000\000�\004\000", s = {-14454, 1889, 142, 0, 11, 0, 142, 0, 1191, 0}, l = {123848586, 142, 11, 142, 1191}}}, xmapping = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, request = 118, first_keycode = 0, count = 123848586}, xerror = {type = 5, ---Type to continue, or q to quit--- display = 0x4aa65f, resourceid = 0, serial = 134683944, error_code = 35 '#', request_code = 0 '\0', minor_code = 64 '@'}, xkeymap = {type = 5, serial = 4892255, send_event = 0, display = 0x8071d28, window = 4194339, key_vector = "v\000\000\000\000\000\000\000\212�a\a\216\000\000\000\v\000\000\000\216\000\000\000�\004\000\000\000\001\000"}, pad = {5, 4892255, 0, 134683944, 4194339, 118, 0, 123848586, 142, 11, 142, 1191, 256, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}} #4 0x0805fe4e in handle_conns (s=0x806ee80) at server.c:67 c = (IXPConn *) 0x8076688 n = (IXPConn *) 0x8071aa0 #5 0x0805feef in ixp_server_loop (s=0x806ee80) at server.c:84 r = 1 #6 0x08057486 in main (argc=5, argv=0xbfdde334) at main.c:473 wmiirc = 0xbfddef2a "/home/sun/.wmii-3.5/wmiirc" errstr = 0x0 namespace = 0x8076670 "\204\002" tmp = 0xbfddf0b7 "unix!/tmp/ns.sun.:0/wmii" address = "unix\000/tmp/ns.sun.:0/wmii", '\0' ns_path = "/tmp/ns.sun.:0\000�\b\000\000\000\000\000\000\000��ݿUa�\b\000\000\000X(�\b\000\000\000T�ݿ\222��x�׷t�׷\b\000\000\000\000\000\000\000?v׷��ݿX(� ��\000\000\000\000\024\000\000\000\000\000\000\000G�ݿ@�ݿ<�ݿ\030��---Type to continue, or q to quit--- \000\000\000\000\000\000\000\000!`�\000\000\000\000���\000\000\000\000?v׷��ݿ��ݿ���\002\000\000\000\000\000\000\0008�ݿUa�\b\000\000\000\b\000\000\000\000\000\000\000T�ݿ���4�׷(�׷\b\000\000\000"... s = (WMScreen *) 0x8080638 passwd = (struct passwd *) 0xb7f9b998 i = 1 wa = {background_pixmap = 1, background_pixel = 0, border_pixmap = 3218987608, border_pixel = 3086738247, bit_gravity = 1, win_gravity = 0, backing_store = 0, backing_planes = 0, backing_pixel = 3084331800, save_under = 0, event_mask = 3702792, do_not_propagate_mask = 0, override_redirect = 1, colormap = 3218987832, cursor = 4194311} (gdb)