<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [bisected] double free or corruption on context destruction with postprocessing enabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82279#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [bisected] double free or corruption on context destruction with postprocessing enabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82279">bug 82279</a>
from <span class="vcard"><a class="email" href="mailto:deathsimple@vodafone.de" title="Christian König <deathsimple@vodafone.de>"> <span class="fn">Christian König</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=82279#c3">comment #3</a>)
<span class="quote">> AFAICT this only happens if postprocessing is enabled via one of the pp_*
> driconf options or environment variables.
>
> (In reply to <a href="show_bug.cgi?id=82279#c0">comment #0</a>)
> > Bisecting revealed the culprit commit to be
> > "58d2afa2232060b88f9c444ce7a0d6e63c841bb2: radeonsi: fix leaking the bound
> > state on destruction v2".
>
> Christian, any ideas?</span >
That looks like a bug in the post processing cleanup to me. The context the
shaders belong to is destroyed before pp_free is called to destroy the shaders
created from that context.
Since the bisected patch explicitly destroys all bound shaders of a context if
the context is destroyed we get a double free of the shader.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>