From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 82279] [bisected] double free or corruption on context destruction with postprocessing enabled
Date: Thu, 07 Aug 2014 06:44:58 +0000 [thread overview]
Message-ID: <bug-82279-502-ECWFVbTYMo@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-82279-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 906 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82279
--- Comment #4 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #3)
> AFAICT this only happens if postprocessing is enabled via one of the pp_*
> driconf options or environment variables.
>
> (In reply to comment #0)
> > Bisecting revealed the culprit commit to be
> > "58d2afa2232060b88f9c444ce7a0d6e63c841bb2: radeonsi: fix leaking the bound
> > state on destruction v2".
>
> Christian, any ideas?
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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1935 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2014-08-07 6:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 5:12 [Bug 82279] New: SDL applications crash when changing video mode: double free or corruption bugzilla-daemon
2014-08-07 5:15 ` [Bug 82279] " bugzilla-daemon
2014-08-07 5:17 ` bugzilla-daemon
2014-08-07 5:18 ` [Bug 82279] [bisected] " bugzilla-daemon
2014-08-07 5:28 ` bugzilla-daemon
2014-08-07 5:50 ` [Bug 82279] " bugzilla-daemon
2014-08-07 5:58 ` [Bug 82279] SDL applications crash when changing video mode on radeonsi: " bugzilla-daemon
2014-08-07 6:01 ` [Bug 82279] [bisected] double free or corruption on context destruction with postprocessing enabled bugzilla-daemon
2014-08-07 6:44 ` bugzilla-daemon [this message]
2014-08-07 13:49 ` bugzilla-daemon
2016-06-15 11:56 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-82279-502-ECWFVbTYMo@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.