<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Forgot to mention that to access that link need to be in Intel intranet environment.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal align=left style='text-align:left'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> intel-gfx-bounces+zhigang.gong=linux.intel.com@lists.freedesktop.org [mailto:intel-gfx-bounces+zhigang.gong=linux.intel.com@lists.freedesktop.org] <b>On Behalf Of </b>Zhigang Gong<br><b>Sent:</b> Friday, December 16, 2011 4:09 PM<br><b>To:</b> Chris Wilson<br><b>Cc:</b> intel-gfx@lists.freedesktop.org<br><b>Subject:</b> [Intel-gfx] One regression in UXA<o:p></o:p></span></p></div></div><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Hi Chris, <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I tested a browser case with latest UXA code and experienced X crashed.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I bisected it and found that it was introduced by <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>commit 5d5b2b8ee203ae2274fc7d13ed38d2945facca9e.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The back trace of the crash is as below:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Backtrace:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>0: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (xorg_backtrace+0x3b) [0x81b5fdb]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>1: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (mieqEnqueue+0x15c) [0x8195a0c]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (0x8048000+0x40782) [0x8088782]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>3: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (xf86PostMotionEventM+0xf1) [0x80c5671]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>4: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/input/evdev_drv.so (0xb7623000+0x2fdf) [0xb7625fdf]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>5: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/input/evdev_drv.so (0xb7623000+0x4229) [0xb7627229]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>6: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (0x8048000+0x67fcf) [0x80affcf]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>7: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (0x8048000+0x8e984) [0x80d6984]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>8: (vdso) (__kernel_sigreturn+0x0) [0xb7fff400]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>9: /home/gongzg/gfx-dev-test/build/lib/libdrm_intel.so.1 (drm_intel_gem_bo_map_gtt+0x83) [0xb7e9cee3]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>10: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so (0xb7ea1000+0xd6cb) [0xb7eae6cb] -- <span style='color:red'>intel_uxa_pixmap_put_image</span><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>11: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so (0xb7ea1000+0xf42c) [0xb7eb042c] --<span style='color:red'> intel_uxa_put_image</span> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>12: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so (0xb7ea1000+0x37f8e) [0xb7ed8f8e] -- <span style='color:red'>uxa_trapezoids<o:p></o:p></span></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>It’s a one line patch. And there is not too much thing to do with UXA code, I guess It may be a libdrm related problem.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>It’s can be simply reproduced in my machine, Use Mozilla 3.6.10 to open the following URL:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><a href="http://pnp.sh.intel.com/WRTBench/Workload_3.3_rev0.13/iterations_rev11_new.html">http://pnp.sh.intel.com/WRTBench/Workload_3.3_rev0.13/iterations_rev11_new.html</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>It will iterate many pages and finally give a report. The crash may occur after a few seconds of running.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Uncomment that one line patch can avoid this crash. <o:p></o:p></span></p></div></div></body></html>