Bug 21025 - X crashed after initiating suspend - SIGSEGV in drm_intel_bo_unpin() - [i855 and i915]
Summary: X crashed after initiating suspend - SIGSEGV in drm_intel_bo_unpin() - [i855 ...
Status: RESOLVED DUPLICATE of bug 21007
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other Linux (All)
: medium major
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/bugs/345796
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-03 00:38 UTC by unggnu
Modified: 2009-04-06 09:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description unggnu 2009-04-03 00:38:26 UTC
I am using a i915 chip. X crashed shortly after initiating suspend which results in gdm/kdm login screen. After that chainging to text console isn't possible anymore because of a black screen. Sometimes it seems to happen on dpms activation too.

At least in my case Suspend works fine until XV is used (first XV usage results in a short flicker). I still using Overlay because the tearing problem isn't gone.

This bug was marked as a duplicates three times after checking the stacktrace. The stacktrace is from an i855 chip but it have to be similar otherwise the bug wasn't marked as one.

It has nothing to do with the xorg.conf options of the first reporter since one of the duplicate reporters have an unchanged xorg.conf and i855. It happens with the defaul Ubuntu 9.04 Kernel 2.6.28 too.

All other information are available under https://bugs.launchpad.net/bugs/345796 and the duplicates.

intel driver version: 2:2.6.3-0ubuntu2
xorg: 1:7.4~5ubuntu16

All i855 information:
http://launchpadlibrarian.net/24144277/Disassembly.txt
http://launchpadlibrarian.net/24332227/Stacktrace.txt
http://launchpadlibrarian.net/24332229/ThreadStacktrace.txt
http://launchpadlibrarian.net/24144286/XorgConf.txt
http://launchpadlibrarian.net/24144287/XorgLog.gz
Comment 1 unggnu 2009-04-03 08:15:49 UTC
#0  0xb78ad4c9 in drm_intel_bo_unpin () from /usr/lib/libdrm_intel.so.1
#1  0xb7908f3b in I830StopVideo (pScrn=0x91e1858, data=0x925239c, shutdown=1)
    at ../../src/i830_video.c:1082
No locals.
#2  0xb7908fbb in i830_crtc_dpms_video (crtc=0x0, on=0)
    at ../../src/i830_video.c:2946
	pScrn = (ScrnInfoPtr) 0x0
	pPriv = (I830PortPrivPtr) 0x925239c
#3  0xb78f1e2e in i830_crtc_dpms (crtc=0x9217ff0, mode=3)
    at ../../src/i830_display.c:892
	pScrn = (ScrnInfoPtr) 0x91e1858
	pI830 = (I830Ptr) 0x91e1e80
	intel_crtc = (I830CrtcPrivatePtr) 0x92183f8
	pipe = 1
	plane = <value optimized out>
	dpll_reg = 24600
	pipeconf_reg = 462856
	dspcntr_reg = 459136
	dspbase_reg = 459140
	temp = <value optimized out>
#4  0xb78f5a3f in RestoreHWState (pScrn=0x91e1858)
    at ../../src/i830_driver.c:2382
	crtc = (xf86CrtcPtr) 0x0
	xf86_config = (xf86CrtcConfigPtr) 0x92177c8
	pI830 = (I830Ptr) 0x91e1e80
	hwp = (vgaHWPtr) 0x91e3718
	i = 2
#5  0xb78f95af in I830LeaveVT (scrnIndex=0, flags=0)
    at ../../src/i830_driver.c:3589
	pScrn = (ScrnInfoPtr) 0x91e1858
	pI830 = (I830Ptr) 0x91e1e80
#6  0x080de1fa in xf86XVLeaveVT (index=0, flags=0)
    at ../../../../hw/xfree86/common/xf86xv.c:1269
	pxvs = (XvScreenPtr) 0x924acb0
	pAdaptor = (XvAdaptorPtr) 0x9252630
	pPriv = (XvPortRecPrivatePtr) 0x92529c0
	i = 1
	j = 1
#7  0xb79dc3c9 in glxDRILeaveVT (index=0, flags=0) at ../../glx/glxdri2.c:425
No locals.
#8  0x080ae2c1 in SigAbortDDX (signo=11)
    at ../../../../hw/xfree86/common/xf86Init.c:1482
	i = 1
#9  0x080c7c83 in xf86SigHandler (signo=11)
    at ../../../../hw/xfree86/common/xf86Events.c:406
	beenhere = 1
#10 <signal handler called>
#11 0xb78ad4c9 in drm_intel_bo_unpin () from /usr/lib/libdrm_intel.so.1
#12 0xb7908f3b in I830StopVideo (pScrn=0x91e1858, data=0x925239c, shutdown=1)
    at ../../src/i830_video.c:1082
No locals.
#13 0xb7908fbb in i830_crtc_dpms_video (crtc=0x0, on=0)
    at ../../src/i830_video.c:2946
	pScrn = (ScrnInfoPtr) 0x0
	pPriv = (I830PortPrivPtr) 0x925239c
#14 0xb78f1e2e in i830_crtc_dpms (crtc=0x9217ff0, mode=3)
    at ../../src/i830_display.c:892
	pScrn = (ScrnInfoPtr) 0x91e1858
	pI830 = (I830Ptr) 0x91e1e80
	intel_crtc = (I830CrtcPrivatePtr) 0x92183f8
	pipe = 1
	plane = <value optimized out>
	dpll_reg = 24600
	pipeconf_reg = 462856
	dspcntr_reg = 459136
	dspbase_reg = 459140
	temp = <value optimized out>
#15 0xb78f5a3f in RestoreHWState (pScrn=0x91e1858)
    at ../../src/i830_driver.c:2382
	crtc = (xf86CrtcPtr) 0x0
	xf86_config = (xf86CrtcConfigPtr) 0x92177c8
	pI830 = (I830Ptr) 0x91e1e80
	hwp = (vgaHWPtr) 0x91e3718
	i = 2
#16 0xb78f95af in I830LeaveVT (scrnIndex=0, flags=0)
    at ../../src/i830_driver.c:3589
	pScrn = (ScrnInfoPtr) 0x91e1858
	pI830 = (I830Ptr) 0x91e1e80
#17 0x080de1fa in xf86XVLeaveVT (index=0, flags=0)
    at ../../../../hw/xfree86/common/xf86xv.c:1269
	pxvs = (XvScreenPtr) 0x924acb0
	pAdaptor = (XvAdaptorPtr) 0x9252630
	pPriv = (XvPortRecPrivatePtr) 0x92529c0
	i = 1
	j = 1
#18 0xb79dc3c9 in glxDRILeaveVT (index=0, flags=0) at ../../glx/glxdri2.c:425
No locals.
#19 0x080c8297 in xf86Wakeup (blockData=0x0, err=-1, pReadmask=0x81f72e0)
    at ../../../../hw/xfree86/common/xf86Events.c:550
	devicesWithInput = {fds_bits = {-1208541196, -1208541196, 6, 
    -1076421592, -1208714920, 154746792, -1208541196, -1076421592, 
    -1208716780, 11259375, -1076421596, 0, -1208625905, 154746792, 
    -1208541196, -1076421544, -1208708226, 11259375, 7, 0, -1208707377, 
    136208372, 64, 0, 136250328, 136278752, 1, -1076421512, 134921665, 
    154746792, 0, 0}}
	pInfo = <value optimized out>
#20 0x08091352 in WakeupHandler (result=-1, pReadmask=0x81f72e0)
    at ../../dix/dixutils.c:418
	i = 0
#21 0x0813283b in WaitForSomething (pClientsReady=0x93f74e8)
    at ../../os/WaitFor.c:231
	i = -1
	waittime = {tv_sec = 999993, tv_usec = 524891}
	wt = (struct timeval *) 0xbfd71f00
	timeout = <value optimized out>
	clientsReadable = {fds_bits = {0 <repeats 32 times>}}
	clientsWritable = {fds_bits = {136208372, 136274132, -1076421064, 
    -1076421064, 1, -1076420940, -1211244036, 1, -1076420940, 32, 155857008, 
    136208372, 155851752, 32, -1076421032, 135512270, 32, -1076420940, 1, 
    134815610, -1076421000, 136208372, -1076421000, 135508239, 155851752, 
    -1076420940, 1, 135659006, 136274060, 155851832, -1076420952, 4184}}
	curclient = <value optimized out>
	selecterr = 4
	nready = <value optimized out>
	devicesReadable = {fds_bits = {0 <repeats 32 times>}}
	now = 7838796
	someReady = 0
#22 0x0808d2ee in Dispatch () at ../../dix/dispatch.c:367
	result = 0
	client = (ClientPtr) 0x94a1c58
	nready = -1
	start_tick = 108900
#23 0x0807231d in main (argc=10, argv=0xbfd72054, envp=)
    at ../../dix/main.c:397
	i = <value optimized out>
	alwaysCheckForInput = {0, 1}
Comment 2 Gordon Jin 2009-04-04 19:17:02 UTC
Seems similar to bug#21007
Comment 3 Jesse Barnes 2009-04-06 09:40:35 UTC
Yeah, looks like a dup.  Posted a patch in the other bug that should have fixed the issue.

*** This bug has been marked as a duplicate of bug 21007 ***


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.