From owner-freebsd-x11@FreeBSD.ORG Sun Apr 5 14:31:45 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 BE1A6106566B; Sun, 5 Apr 2009 14:31:45 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id F11618FC0A; Sun, 5 Apr 2009 14:31:44 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ewy19 with SMTP id 19so1503929ewy.43 for ; Sun, 05 Apr 2009 07:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KVWcV32KkheQ3gTI+4VggW9xQZGsmmR3/+k0/92mGfw=; b=NlAOi5fm98Tu+AoThTS4Epxcnvnm+rvchuAthFETFi9GQJRD2XqziWyfX8VMRf8AHE oxPdKV1hUIeUyXb31pVrVhu0vYgbnaBmIRXwANf03IVlII4SaOoyVYeTpB+dEKtRj8Zg ZP/xuypyb22mtmSVOnvkXJCMH/k1/GjGcbSWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Nd3GoWP7isXV6mmmcxM0nGF4QqqW6Oneia9idLoAZjPr9lSn1uGwMa65zHxwPGC4FS yz64Nkmb/lthcUdPGMURPwA30M8cnmAnq1WoVeDs5H0Sl5AhPuUWLDv07jwTTf+XPhRJ fTB9Uu7Z7N/QJEsQ+E1mt0kWsn0UHjOQieK+0= MIME-Version: 1.0 Received: by 10.210.71.12 with SMTP id t12mr467787eba.41.1238941904014; Sun, 05 Apr 2009 07:31:44 -0700 (PDT) In-Reply-To: <20090405113205.GA982@titania.njm.me.uk> References: <1238692086.20670.38.camel@balrog.2hip.net> <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> <20090405113205.GA982@titania.njm.me.uk> Date: Sun, 5 Apr 2009 16:31:43 +0200 Message-ID: <3a142e750904050731h78976c5mc9590f8942244cae@mail.gmail.com> From: "Paul B. Mahol" To: "N.J. Mann" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 14:31:46 -0000 On 4/5/09, N.J. Mann wrote: > 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) You rebooted after Xorg update? I did not, and get same case as you, but after reboot, Xorg exits fine. Not mentioning fact that in 1.6.0 zapping is by default disabled. -- Paul