From owner-freebsd-x11@FreeBSD.ORG Sun Apr 5 11:32:09 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A50D1065689 for ; Sun, 5 Apr 2009 11:32:09 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp004.apm-internet.net (smtp004.apm-internet.net [85.119.248.54]) by mx1.freebsd.org (Postfix) with SMTP id 1890D8FC0A for ; Sun, 5 Apr 2009 11:32:08 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: (qmail 68473 invoked from network); 5 Apr 2009 11:32:07 -0000 Received: from unknown (HELO titania.njm.me.uk) (86.148.214.26) by smtp004.apm-internet.net with SMTP; 5 Apr 2009 11:32:07 -0000 Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.3/8.14.3) with ESMTP id n35BW6A1001261; Sun, 5 Apr 2009 12:32:06 +0100 (BST) (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.3/8.14.3/Submit) id n35BW5Nf001260; Sun, 5 Apr 2009 12:32:05 +0100 (BST) (envelope-from njm@njm.me.uk) Date: Sun, 5 Apr 2009 12:32:05 +0100 From: "N.J. Mann" To: Robert Noland Message-ID: <20090405113205.GA982@titania.njm.me.uk> References: <1238692086.20670.38.camel@balrog.2hip.net> <20090402191833.GA886@titania.njm.me.uk> <1238733857.65025.2.camel@balrog.2hip.net> <20090403155001.GA929@titania.njm.me.uk> <1238776834.65025.20.camel@balrog.2hip.net> <20090403164855.GA1398@titania.njm.me.uk> <1238779009.65025.37.camel@balrog.2hip.net> <20090403184145.GA1019@titania.njm.me.uk> <20090404102459.GA71010@titania.njm.me.uk> <1238863151.65025.51.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1238863151.65025.51.camel@balrog.2hip.net> X-Operating-System: FreeBSD 7.2-PRERELEASE User-Agent: mutt-NJM (2009-02-20) Cc: freebsd-x11@FreeBSD.org Subject: Re: Xorg 7.4 crashes on exit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2009 11:32:09 -0000 Hi Robert, In message <1238863151.65025.51.camel@balrog.2hip.net>, Robert Noland (rnoland@FreeBSD.org) wrote: > On Sat, 2009-04-04 at 11:24 +0100, N.J. Mann wrote: > > In message <20090403184145.GA1019@titania.njm.me.uk>, > > N.J. Mann (njm@njm.me.uk) wrote: > > > > > > (gdb) bt > > > #0 0x28aff320 in ?? () > > > #1 0x28573b84 in pthread_mutex_lock () from /lib/libc.so.7 > > > #2 0x285e412b in drm_intel_fake_bo_unmap (bo=0x2860d1d0) at intel_bufmgr_fake.c:1048 > > > #3 0x285e3502 in drm_intel_bo_unmap (buf=0x2860d1d0) at intel_bufmgr.c:85 > > > #4 0x28768300 in intel_batch_flush (pScrn=0x28602800, flushed=1) at i830_batchbuffer.c:188 > > > #5 0x28767b34 in I830Sync (pScrn=0x28602800) at i830_accel.c:195 > > > #6 0x287763bd in I830LeaveVT (scrnIndex=0, flags=0) at i830_driver.c:3571 > > > #7 0x28776883 in I830CloseScreen (scrnIndex=0, pScreen=0x2863b4e0) at i830_driver.c:3788 > > > #8 0x0815606e in RRCloseScreen (i=0, pScreen=0x2863b4e0) at randr.c:108 > > > #9 0x080bf03e in CMapCloseScreen (i=0, pScreen=0x2863b4e0) at xf86cmap.c:229 > > > #10 0x080b6d24 in DPMSClose (i=0, pScreen=0x2863b4e0) at xf86DPMS.c:137 > > > #11 0x285aca64 in XvCloseScreen (ii=0, pScreen=0x2863b4e0) at xvmain.c:316 > > > #12 0x080bbcd1 in VidModeClose (i=0, pScreen=0x2863b4e0) at xf86VidMode.c:115 > > > #13 0x081344c5 in CursorCloseScreen (index=0, pScreen=0x2863b4e0) at cursor.c:172 > > > #14 0x0815489c in AnimCurCloseScreen (index=0, pScreen=0x2863b4e0) at animcur.c:130 > > > #15 0x0812ee7a in compCloseScreen (index=0, pScreen=0x2863b4e0) at compinit.c:89 > > > #16 0x28739853 in glxCloseScreen (index=0, pScreen=0x2863b4e0) at glxscreens.c:267 > > > #17 0x0806b0ea in main (argc=4, argv=0xbfbfed24, envp=Cannot access memory at address 0x9 > > > ) at main.c:470 > > > (gdb) > > > > I see you have committed the Xorg upgrade. Do you wish to continue > > investigating the problems I am seeing with the old version or should I > > upgrade and see if that fixes it? > > Go ahead and upgrade and let's see where we are. This looks like an > issue with the driver or libdrm. libdrm should be released very soon as > well. The pattern on the screen is different on exiting X, but apart from that no change. (The pattern is now vertical bands of different colours each of a different width. Quite relaxing actually. :-) ) Here is the latest backtrace: (gdb) bt #0 0x28b20320 in ?? () #1 0x28581b84 in pthread_mutex_lock () from /lib/libc.so.7 #2 0x285e112b in drm_intel_fake_bo_unmap (bo=0x2860d1d0) at intel_bufmgr_fake.c:1048 #3 0x285e0502 in drm_intel_bo_unmap (buf=0x2860d1d0) at intel_bufmgr.c:85 #4 0x2876c2e0 in intel_batch_flush (pScrn=0x28602800, flushed=1) at i830_batchbuffer.c:196 #5 0x2876bad8 in I830Sync (pScrn=0x28602800) at i830_accel.c:195 #6 0x28778fb0 in I830LeaveVT (scrnIndex=0, flags=0) at i830_driver.c:3625 #7 0x287794bb in I830CloseScreen (scrnIndex=0, pScreen=0x28639330) at i830_driver.c:3844 #8 0x0814b9ae in RRCloseScreen (i=0, pScreen=0x28639330) at randr.c:105 #9 0x080c119e in CMapCloseScreen (i=0, pScreen=0x28639330) at xf86cmap.c:230 #10 0x080b9d54 in DPMSClose (i=0, pScreen=0x28639330) at xf86DPMS.c:138 #11 0x285b30c4 in XvCloseScreen (ii=0, pScreen=0x28639330) at xvmain.c:317 #12 0x080bdd51 in VidModeClose (i=0, pScreen=0x28639330) at xf86VidMode.c:116 #13 0x08137005 in CursorCloseScreen (index=0, pScreen=0x28639330) at cursor.c:186 #14 0x0816589c in AnimCurCloseScreen (index=0, pScreen=0x28639330) at animcur.c:136 #15 0x08130f7b in compCloseScreen (index=0, pScreen=0x28639330) at compinit.c:84 #16 0x287396ba in glxCloseScreen (index=0, pScreen=0x28639330) at glxscreens.c:217 #17 0x0806b465 in main (argc=4, argv=0xbfbfed24, envp=Cannot access memory at address 0x9 ) at main.c:429 (gdb) Cheers, Nick. --