[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: EXA performance issue
From:       prudhvi raj <prudhviraj.v () gmail ! com>
Date:       2013-01-27 13:40:28
Message-ID: CAGasw4DScXs8_V5DVUpphf8hVC8Cf9YW-1FL-zzfaEekMp6-Nw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

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.

/* submit damage marker whenever possible. */
if (pDamage->damageMarker)
    *(*pDamage->damageMarker) (pDrawable, pDamage, &pDamage->backupDamage,
&pDamage->pendingDamage, pDamage->closure);*

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.

This (*pDamage->damageMarker) call crashes explicitly when it a call
initiated from CloseDownClient () calls this.

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?

[Attachment #5 (text/html)]

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-&gt;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-&gt;damageMarker)</div> <div><span \
class="Apple-tab-span" style="white-space:pre">	</span>    <b><font \
color="#ff0000">(*pDamage-&gt;damageMarker) (pDrawable, pDamage, \
&amp;pDamage-&gt;backupDamage, &amp;pDamage-&gt;pendingDamage, \
pDamage-&gt;closure);</font></b></div> <div><br></div></div><div>But \
pDamage-&gt;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-&gt;damageMarker.</div> <div><br></div><div>This \
(*pDamage-&gt;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-&gt;damageMarker function and what is it supposed to do? \
and who should be using it?</div>



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic