Hello,<div><br></div><div>In Xorg-1.12.0, a strange crash is observed from damageRegionProcessPending (DrawablePtr pDrawable) {src/miext/damage/damage.c} when the (*pDamage->damageMarker) call is made.</div><div><br></div>
<div><div><span class="Apple-tab-span" style="white-space:pre"> </span>/* submit damage marker whenever possible. */</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>if (pDamage->damageMarker)</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span> <b><font color="#ff0000">(*pDamage->damageMarker) (pDrawable, pDamage, &pDamage->backupDamage, &pDamage->pendingDamage, pDamage->closure);</font></b></div>
<div><br></div></div><div>But pDamage->damageMarker is initialized with NULL in DamageCreate function, and there after no explicit function assignment is found in the source. Not clear who has assigned a valid function to pDamage->damageMarker.</div>
<div><br></div><div>This (*pDamage->damageMarker) call crashes explicitly when it a call initiated from CloseDownClient () calls this.</div><div><br></div><div>Can some one throw any light, on the purpose of pDamage->damageMarker function and what is it supposed to do? and who should be using it?</div>