Bug#648764: More informative backtrace

Michel Dänzer daenzer at debian.org
Thu Nov 17 02:24:24 PST 2011


On Mon, 2011-11-14 at 22:23 +0100, Jan Oberländer wrote:
> 
> #6  0xb705ae55 in R200TextureSetupCP (pPict=0xb904a8a0, pPix=<optimized out>, unit=0) at ../../src/radeon_exa_render.c:878
> #7  0xb706629f in R200PrepareCompositeCP (op=3, pSrcPicture=0xb904a8a0, pMaskPicture=0x0, pDstPicture=0xb9002020, pSrc=0xb903db48, pMask=0x0, pDst=0xb8fa3430) at ../../src/radeon_exa_render.c:1021

Can you try if the patch below fixes this crash?


diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index e5c231f..6cead5a 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -595,6 +595,9 @@ RADEONPrepareCompositeCS(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture
     if (info->cs) {
 	int ret;
 
+	if (CS_FULL(info->cs))
+	        radeon_cs_flush_indirect(pScrn);
+
 	radeon_cs_space_reset_bos(info->cs);
 
 	radeon_add_pixmap(info->cs, pSrc,


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer





More information about the xorg-driver-ati mailing list