anholt@thompson:/home/anholt% sudo gdb Xorg GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "i386-marcel-freebsd"... (gdb) b RADEONCPGetBuffer Function "RADEONCPGetBuffer" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (RADEONCPGetBuffer) pending. (gdb) r Starting program: /usr/X11R6/bin/Xorg X Window System Version 7.0.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 7.0 Build Operating System:FreeBSD 6.1-PRERELEASE i386 Current Operating System: FreeBSD thompson.anholt.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon Feb 13 14:29:37 PST 2006 anholt@thompson.anholt.net:/usr/obj/usr/src/6-stable/sys/MYKERNEL i386 Build Date: 11 March 2006 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 16 09:14:34 2006 (==) Using config file: "/etc/X11/xorg.conf" Breakpoint 2 at 0x284de465: file radeon_accel.c, line 482. Pending breakpoint "RADEONCPGetBuffer" resolved (**) RADEON(0): RADEONPreInit bt (**) RADEON(0): RADEONScreenInit 48000000 0 (**) RADEON(0): Map: 0x48000000, 0x02000000 (**) RADEON(0): RADEONSave (**) RADEON(0): RADEONSaveMode(0x81de128) (**) RADEON(0): Read: 0x00000002 0x00040018 0x00000000 (**) RADEON(0): Read: rd=2, fd=24, pd=4 (**) RADEON(0): RADEONSaveMode returns 0x81de128 (**) RADEON(0): RADEONInitMemoryMap() : (**) RADEON(0): mem_size : 0x02000000 (**) RADEON(0): agp_size : 0x00000008 (**) RADEON(0): agp_base : 0x283a96a8 (**) RADEON(0): MC_FB_LOCATION : 0x49ff4800 (**) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 (**) RADEON(0): RADEONModeInit() 1400x1050 108.00 1400 34208 34320 1688 1050 1050 1053 1063 (16,16) 1400x1050 108.00 1400 34208 34320 1688 1050 1050 1053 1063 (16,16) (**) RADEON(0): Pitch = 11534512 bytes (virtualX = 1400, displayWidth = 1408) (**) RADEON(0): RADEONInit returns 0x81dead8 (**) RADEON(0): RADEONRestoreMode() (**) RADEON(0): RADEONRestoreMode(0x81dead8) (**) RADEON(0): RADEONRestoreMemMapRegisters() : (**) RADEON(0): MC_FB_LOCATION : 0x49ff4800 (**) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 (**) RADEON(0): Map Changed ! Applying ... (**) RADEON(0): GRPH_BUFFER_CNTL from 200a5c5c to 200a5c5c (**) RADEON(0): RADEONSaveScreen(0) (**) RADEON(0): RADEONDoAdjustFrame(0,0,0) (**) RADEON(0): -> reg : 0x0224 = 0x00000000 (**) RADEON(0): regcntl : 0x0228 = 0x10008000 (**) RADEON(0): Setting up initial surfaces (**) RADEON(0): Initializing fb layer (**) RADEON(0): Setting up accel memmap (**) RADEON(0): Initializing backing store (**) RADEON(0): DRI Finishing init ! (**) RADEON(0): EngineRestore (16/16) (**) RADEON(0): RADEONRestoreMemMapRegisters() : (**) RADEON(0): MC_FB_LOCATION : 0x4bff4800 (**) RADEON(0): MC_AGP_LOCATION : 0x4c7f4c00 (**) RADEON(0): GRPH_BUFFER_CNTL from 200a5c5c to 200a5c5c (**) RADEON(0): Setting up final surfaces (**) RADEON(0): Initializing Acceleration (**) RADEON(0): EngineInit (16/16) (**) RADEON(0): Pitch for acceleration = 176 (**) RADEON(0): EngineRestore (16/16) (**) RADEON(0): Initializing DPMS (**) RADEON(0): Initializing Cursor (**) RADEON(0): Initializing color map (**) RADEON(0): RADEONLoadPalette ! (**) RADEON(0): LoadPalette() end (**) RADEON(0): Initializing DGA (**) RADEON(0): Initializing Xv (**) RADEON(0): RADEONScreenInit finished The XKEYBOARD keymap compiler (xkbcomp) reports: > Error: Cannot open "/usr/X11R6/share/X11/xkb/compiled/server-0.xkm" to write keyboard description > Exiting Breakpoint 2, RADEONCPGetBuffer (pScrn=0x81d8800) at radeon_accel.c:482 482 RADEONInfoPtr info = RADEONPTR(pScrn); (gdb) bt #0 RADEONCPGetBuffer (pScrn=0x81d8800) at radeon_accel.c:482 #1 0x284e446f in RADEONSetupForMono8x8PatternFillCP (pScrn=0x81d8800, patternx=676399249, patterny=676399249, fg=676399249, bg=65535, rop=676399249, planemask=676399249) at radeon_accelfuncs.c:516 #2 0x2867c8f3 in XAAFillMono8x8PatternRectsScreenOrigin (pScrn=0x81d8800, fg=0, bg=65535, rop=3, planemask=4294967295, nBox=1, pBox=0xbfbfe900, pattern0=-289677961, pattern1=-289677961, xorigin=0, yorigin=0) at xaaFillRect.c:441 #3 0x286877fd in XAAPaintWindow (pWin=0x822f000, prgn=0xbfbfe900, what=0) at xaaPaintWin.c:141 #4 0x081379e9 in damagePaintWindow (pWindow=0x822f000, prgn=0xbfbfe900, what=0) at damage.c:1650 #5 0x080f1c3f in miWindowExposures (pWin=0x822f000, prgn=0xbfbfe900, other_exposed=0x0) at miexpose.c:568 #6 0x284aae0a in DRIWindowExposures (pWin=0x822f000, prgn=0xbfbfe900, bsreg=0x0) at dri.c:1586 #7 0x080bdeb8 in xf86XVWindowExposures (pWin=0x822f000, reg1=0x0, reg2=0x0) at xf86xv.c:1065 #8 0x08071c73 in MapWindow (pWin=0x822f000, client=0x81c8000) at window.c:2781 #9 0x08071f31 in InitRootWindow (pWin=0x822f000) at window.c:502 #10 0x0806c6ae in main (argc=1, argv=0xbfbfea28, envp=0xbfbfea30) at main.c:432 (gdb)