Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2009 16:31:43 +0200
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        "N.J. Mann" <njm@njm.me.uk>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Xorg 7.4 crashes on exit
Message-ID:  <3a142e750904050731h78976c5mc9590f8942244cae@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/5/09, N.J. Mann <njm@njm.me.uk> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750904050731h78976c5mc9590f8942244cae>