Date: Sun, 27 Dec 2009 22:33:28 -0200 From: "Carlos A. M. dos Santos" <unixmania@gmail.com> To: Robert Noland <rnoland@freebsd.org> Cc: freebsd-x11@freebsd.org Subject: Re: x11perf -all leads to Xorg crash on 8-STABLE Message-ID: <e71790db0912271633q5178b868u26514a7e1ba6ec87@mail.gmail.com> In-Reply-To: <1261942898.2220.2976.camel@balrog.2hip.net> References: <e71790db0912261431h7285eeb4yeb1f648694730b@mail.gmail.com> <alpine.BSF.2.00.0912262126540.32530@wonkity.com> <e71790db0912270917n4ccdb185pe65f2f5c4f30ea0c@mail.gmail.com> <1261934521.2220.2834.camel@balrog.2hip.net> <e71790db0912270941hdd0bc04oe3c66a81b663f6eb@mail.gmail.com> <1261942898.2220.2976.camel@balrog.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 27, 2009 at 5:41 PM, Robert Noland <rnoland@freebsd.org> wrote: > On Sun, 2009-12-27 at 15:41 -0200, Carlos A. M. dos Santos wrote: >> On Sun, Dec 27, 2009 at 3:22 PM, Robert Noland <rnoland@freebsd.org> wrote: >> > On Sun, 2009-12-27 at 15:17 -0200, Carlos A. M. dos Santos wrote: >> [...] >> >> I figured out that "x11perf -shmputxy10" triggers the crash. Mys first >> >> guess was that something related to shared memory was causing the >> >> problem. However, running the X server with >> >> >> >> truss /usr/local/bin/Xorg >& Xorg.truss.log >> >> >> >> shows that all shm* calls succeed. Anyway, I attempted to increase the >> >> available shared memory, using the values recommended by the Xine >> >> port: >> >> >> >> sysctl kern.ipc.shmmax=67108864 >> >> sysclt kern.ipc.shmall=32768 >> >> >> >> But it keeps crashing. >> > >> > Attaching gdb to X and getting a backtrace and/or enabling drm debugging >> > is more likely to point to the issue. >> >> How do I enable drm debugging? > > sysctl hw.dri.0.debug=1 Ah, it's a kernel option. I thought it was something to put in my xorg.conf. Here is the backtrace: (gdb) run Starting program: /usr/local/bin/Xorg [New LWP 100136] [New Thread 801e041c0 (LWP 100136)] X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 8.0-STABLE amd64 Current Operating System: FreeBSD avatar 8.0-STABLE FreeBSD 8.0-STABLE #3: Wed Dec 23 14:39:00 BRST 2009 root@avatar:/usr/obj/usr/src/sys/Compaq_nx6320 amd64 Build Date: 27 December 2009 10:05:04PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. 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: Sun Dec 27 22:28:57 2009 (==) Using config file: "/etc/X11/xorg.conf" Setting master The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols > Ignoring extra symbols Errors from xkbcomp are not fatal to the X server (EE) config/hal: couldn't initialise context: (null) ((null)) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 801e041c0 (LWP 100136)] 0x000000080107c255 in pixman_blt_sse2 (src_bits=0x81344f000, dst_bits=0x804000000, src_stride=2400, dst_stride=4096, src_bpp=32, dst_bpp=32, src_x=576, src_y=576, dst_x=3, dst_y=3, width=10, height=9) at pixman-sse2.c:5330 5330 *(uint32_t *)d = *(uint32_t *)s; (gdb) where #0 0x000000080107c255 in pixman_blt_sse2 (src_bits=0x81344f000, dst_bits=0x804000000, src_stride=2400, dst_stride=4096, src_bpp=32, dst_bpp=32, src_x=576, src_y=576, dst_x=3, dst_y=3, width=10, height=9) at pixman-sse2.c:5330 #1 0x000000080107c88d in sse2_blt (imp=0x801f42e00, src_bits=0x81344f000, dst_bits=0x804000000, src_stride=600, dst_stride=1024, src_bpp=32, dst_bpp=32, src_x=576, src_y=576, dst_x=3, dst_y=3, width=10, height=10) at pixman-sse2.c:5729 #2 0x0000000800fa4611 in _pixman_implementation_blt (imp=0x801f42e00, src_bits=0x81344f000, dst_bits=0x804000000, src_stride=600, dst_stride=1024, src_bpp=32, dst_bpp=32, src_x=576, src_y=576, dst_x=3, dst_y=3, width=10, height=10) at pixman-implementation.c:250 #3 0x0000000800fc2a91 in pixman_blt (src_bits=0x81344f000, dst_bits=0x804000000, src_stride=600, dst_stride=1024, src_bpp=32, dst_bpp=32, src_x=576, src_y=576, dst_x=3, dst_y=3, width=10, height=10) at pixman.c:236 #4 0x0000000802cd94fd in fbCopyNtoN (pSrcDrawable=0x801ffad40, pDstDrawable=0x801f27d00, pGC=0x813643440, pbox=0x7fffffffe580, nbox=0, dx=573, dy=573, reverse=0, upsidedown=0, bitplane=0, closure=0x0) at fbcopy.c:64 #5 0x0000000802df289c in exaCopyNtoN (pSrcDrawable=0x801ffad40, pDstDrawable=0x801f27d00, pGC=0x813643440, pbox=0x7fffffffe580, nbox=1, dx=573, dy=573, reverse=0, upsidedown=0, bitplane=0, closure=0x0) at exa_accel.c:520 #6 0x0000000802cda3b5 in fbCopyRegion (pSrcDrawable=0x801ffad40, pDstDrawable=0x801f27d00, pGC=0x813643440, pDstRegion=0x7fffffffe580, dx=573, dy=573, copyProc=0x802df2150 <exaCopyNtoN>, bitPlane=0, closure=0x0) at fbcopy.c:396 #7 0x0000000802cda97d in fbDoCopy (pSrcDrawable=0x801ffad40, pDstDrawable=0x801f27d00, pGC=0x813643440, xIn=576, yIn=576, widthSrc=10, heightSrc=10, xOut=3, yOut=3, copyProc=0x802df2150 <exaCopyNtoN>, bitPlane=0, closure=0x0) at fbcopy.c:596 #8 0x0000000802df3230 in exaCopyArea (pSrcDrawable=0x801ffad40, pDstDrawable=0x801f27d00, pGC=0x813643440, srcx=576, srcy=576, width=10, height=10, dstx=0, dsty=0) at exa_accel.c:547 #9 0x00000000005a09b1 in damageCopyArea (pSrc=0x801ffad40, pDst=0x801f27d00, pGC=0x813643440, srcx=576, srcy=576, width=10, height=10, dstx=0, dsty=0) at damage.c:949 #10 0x000000000055f863 in doShmPutImage (dst=0x801f27d00, pGC=0x813643440, depth=24, format=1, w=600, h=600, sx=576, sy=576, sw=10, sh=10, dx=0, dy=0, data=0x81344f000 "") at shm.c:509 #11 0x0000000000561359 in ProcShmPutImage (client=0x801e1e680) at shm.c:865 #12 0x00000000005624fc in ProcShmDispatch (client=0x801e1e680) at shm.c:1119 #13 0x0000000000448ef8 in Dispatch () at dispatch.c:437 #14 0x000000000042d13c in main (argc=1, argv=0x7fffffffe988, envp=0x7fffffffe998) at main.c:397
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e71790db0912271633q5178b868u26514a7e1ba6ec87>
