$ pwd /var/abs/extra/libx11/src/libX11-1.1.5/src/.libs $ LIBBRARY_PATH="." gdb urxvt GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (no debugging symbols found) (gdb) r Starting program: /usr/bin/urxvt (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb7c1f6d0 (LWP 19623)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7c1f6d0 (LWP 19623)] 0xb7eb1996 in _XcmsGetIntensityMap (dpy=0x868a248, visual=0x0) at cmsInt.c:404 404 VisualID targetID = visual->visualid; (gdb) bt #0 0xb7eb1996 in _XcmsGetIntensityMap (dpy=0x868a248, visual=0x0) at cmsInt.c:404 #1 0xb7ea46d7 in XcmsCreateCCC (dpy=0x868a248, screenNumber=0, visual=0x0, clientWhitePt=0x0, gamutCompProc=0, gamutCompClientData=0x0, whitePtAdjProc=0, whitePtAdjClientData=0x0) at CCC.c:148 #2 0xb7eb06b8 in CmapRecForColormap (dpy=0x868a248, cmap=32) at cmsCmap.c:113 #3 0xb7eb0746 in XcmsCCCOfColormap (dpy=0x868a248, cmap=32) at cmsCmap.c:433 #4 0xb7e54d22 in XParseColor (dpy=0x868a248, cmap=32, spec=0x81bc40f "rgb:00/00/00", def=0xbfc575b0) at ParseCol.c:93 #5 0x0809512b in rxvt_color::set () #6 0x08081a45 in rxvt_term::set_color () #7 0x0807ef04 in rxvt_term::get_colours () #8 0x0807f310 in rxvt_term::create_windows () #9 0x080808c9 in rxvt_term::init () #10 0x08073129 in main () (gdb) p visual $1 = (Visual *) 0x0 (gdb) f 2 #2 0xb7eb06b8 in CmapRecForColormap (dpy=0x868a248, cmap=32) at cmsCmap.c:113 113 pRec->ccc = XcmsCreateCCC( (gdb) l 108 /* It is ... lets go ahead and store that info */ 109 if ((pRec = _XcmsAddCmapRec(dpy, cmap, RootWindow(dpy, i), 110 DefaultVisual(dpy, i))) == NULL) { 111 return((XcmsCmapRec *)NULL); 112 } 113 pRec->ccc = XcmsCreateCCC( 114 dpy, 115 i, /* screenNumber */ 116 DefaultVisual(dpy, i), 117 (XcmsColor *)NULL, /* clientWhitePt */ (gdb) p *dpy $2 = {ext_data = 0x8691db8, free_funcs = 0x8690ab8, fd = 9, conn_checker = 0, proto_major_version = 11, proto_minor_version = 0, vendor = 0x8690ae0 "The X.Org Foundation", resource_base = 2097152, resource_mask = 2097151, resource_id = 0, resource_shift = 0, resource_alloc = 0xb7e6c2b0 <_XAllocID>, byte_order = 0, bitmap_unit = 32, bitmap_pad = 32, bitmap_bit_order = 0, nformats = 7, pixmap_format = 0x8690b00, vnumber = 11, release = 10503000, head = 0x0, tail = 0x0, qlen = 0, last_request_read = 58, request = 58, last_req = 0xb7f15eb8 "", buffer = 0x868cab0 "\024", bufptr = 0x868cab0 "\024", bufmax = 0x8690ab0 "", max_request_size = 65535, db = 0x0, synchandler = 0, display_name = 0x868a7d8 "0:0.0", default_screen = 0, nscreens = 1, screens = 0x8690b78, motion_buffer = 256, flags = 128, min_keycode = 8, max_keycode = 255, keysyms = 0x0, modifiermap = 0x0, keysyms_per_keycode = 0, xdefaults = 0x0, scratch_buffer = 0x0, scratch_length = 0, ext_number = 3, ext_procs = 0x8691e20, event_vec = {0xb7e63780 <_XUnknownWireEvent>, 0xb7e63780 <_XUnknownWireEvent>, 0xb7e64a10 <_XWireToEvent> , 0xb7e63780 <_XUnknownWireEvent> , 0xb7ebee10 , 0xb7e63780 <_XUnknownWireEvent> }, wire_vec = { 0xb7e63790 <_XUnknownNativeEvent>, 0xb7e63790 <_XUnknownNativeEvent>, 0 , 0xb7e63790 <_XUnknownNativeEvent> }, lock_meaning = 0, lock = 0x0, async_handlers = 0x0, bigreq_size = 4194303, lock_fns = 0x868ca70, idlist_alloc = 0xb7e6cfe0 <_XAllocIDs>, key_bindings = 0x0, cursor_font = 2097155, atoms = 0x8690e90, mode_switch = 0, num_lock = 0, context_db = 0x0, error_vec = 0x0, cms = { defaultCCCs = 0x87c5808 "H¢h\b", clientCmaps = 0x87c6d00 " ", perVisualIntensityMaps = 0x0}, im_filters = 0x0, qfree = 0x0, next_event_serial_num = 1, flushes = 0x0, im_fd_info = 0x0, im_fd_length = 0, conn_watchers = 0x0, watcher_count = 0, filedes = 0x868ca80 "\t", savedsynchandler = 0, resource_max = 2097146, xcmisc_opcode = 0, xkb_info = 0x8690d88, trans_conn = 0x0, xcb = 0x868a788} (gdb) p dpy->screens[0] $3 = {ext_data = 0x0, display = 0x868a248, root = 982, width = 3960, height = 1050, mwidth = 1181, mheight = 309, ndepths = 7, depths = 0x8690bd0, root_depth = 24, root_visual = 0x0, default_gc = 0x8690c28, cmap = 32, white_pixel = 16777215, black_pixel = 0, max_maps = 1, min_maps = 1, backing_store = 0, save_unders = 0, root_input_mask = 0} (gdb)