Bug 21245

Summary: crashs on start on 2.6.29 kernel
Product: xorg Reporter: Peter <pva>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium Keywords: NEEDINFO
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Peter 2009-04-17 07:23:52 UTC
I've upgraded kernel and tried to start Xorg (xfce + compiz inside). It crashs with the following backtrace:

(gdb) bt
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:130
#1  0x00007f98b9ff9a58 in _L_lock_102 () from /lib/libpthread.so.0
#2  0x00007f98b9ff935e in __pthread_mutex_lock (mutex=0x114a5b0) at pthread_mutex_lock.c:86
#3  0x00007f98b6b51825 in drm_intel_gem_bo_unmap (bo=0x45c93b0) at intel_bufmgr_gem.c:768
#4  0x00007f98b6d74df8 in intel_batch_flush (pScrn=0x1143cb0, flushed=128) at i830_batchbuffer.c:196
#5  0x00007f98b6d74671 in I830Sync (pScrn=0x1143cb0) at i830_accel.c:195
#6  0x00007f98b6d81610 in I830LeaveVT (scrnIndex=<value optimized out>, flags=<value optimized out>) at i830_driver.c:3625
#7  0x0000000000467409 in AbortDDX () at xf86Init.c:1507
#8  0x00000000004f680d in AbortServer () at log.c:407
#9  0x00000000004f6eb5 in FatalError (f=0x573030 "Caught signal %d.  Server aborting\n") at log.c:553
#10 0x0000000000481de9 in xf86SigHandler (signo=11) at xf86Events.c:593
#11 <signal handler called>
#12 drm_intel_gem_bo_unreference_locked (bo=0x45bb9a0) at intel_bufmgr_gem.c:585
#13 0x00007f98b6b5239c in drm_intel_gem_bo_unreference (bo=0x45bb9a0) at intel_bufmgr_gem.c:599
#14 0x00007f98b6d9dbc2 in i830_uxa_destroy_pixmap (pixmap=0x45bb950) at i830_exa.c:933
#15 0x000000000052ca0d in damageDestroyPixmap (pPixmap=0x45bb950) at damage.c:1680
#16 0x00007f98b7a95fe5 in XvDestroyPixmap (pPix=0x45bb950) at xvmain.c:381
#17 0x0000000000517488 in FreePicture (value=<value optimized out>, pid=<value optimized out>) at picture.c:1528
#18 0x0000000000435433 in FreeResource (id=35651715, skipDeleteFuncType=0) at resource.c:561
#19 0x000000000051e4be in ProcRenderFreePicture (client=0x473b000) at render.c:690
#20 0x000000000044c2f4 in Dispatch () at dispatch.c:454
#21 0x0000000000432b3d in main (argc=9, argv=0x7fffc2832ce8, envp=<value optimized out>) at main.c:438
Current language:  auto; currently asm

This problem was also reported http://bugs.gentoo.org/264252 and it was provided quite a similar backtrace there. That's with:

x11-base/xorg-server-1.5.3-r5
sys-kernel/gentoo-sources-2.6.29-r1
x11-drivers/xf86-video-intel-2.6.3-r1

Probably this exact problem is fixed by newer intel drivers but after I upgraded intel drivers on a newer version I got more problems I'll report in next bug report. If this problem was fixed, could you point us on patch to fix this issue? Thank you.
Comment 1 Gordon Jin 2009-04-20 01:03:48 UTC
I've never seen this problem. Could you try upstream code like 2.7.0 and 2.6.99.1 kernel?
Comment 2 Peter 2009-04-27 12:13:11 UTC
Eh, I did that and got bug 21437. Let's keep this bug as needinfo, but anyway, the newer version of xorg I install the more problems I obtain and that's strange since I'm sure you've tested driver. Could you give me some hints, what to play with, to make X11 working again somehow.
Comment 3 Eric Anholt 2009-05-04 13:02:45 UTC
Along with testing the current code, please include Xorg.0.log and dmesg when doing so.
Comment 4 Gordon Jin 2009-05-06 19:34:16 UTC
I think we can track the issue with server 1.6 at bug#21596, and close this one with server 1.5.
server>=1.6 is preferred for using KMS (which enables UXA and requires server 1.6)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.