From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] New: SDL applications crash when changing video mode:
double free or corruption
Date: Thu, 07 Aug 2014 05:12:15 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2144380265=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 832446E201
for ; Wed, 6 Aug 2014 22:12:15 -0700 (PDT)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============2144380265==
Content-Type: multipart/alternative; boundary="1407388335.fE77e530.28297"; charset="us-ascii"
--1407388335.fE77e530.28297
Date: Thu, 7 Aug 2014 05:12:15 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
Priority: medium
Bug ID: 82279
Assignee: dri-devel@lists.freedesktop.org
Summary: SDL applications crash when changing video mode:
double free or corruption
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: xamaniqinqu@gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa
Created attachment 104195
--> https://bugs.freedesktop.org/attachment.cgi?id=104195&action=edit
GDB backtrace of Dosbox crash.
Overview:
SDL applications crash when changing video mode, "corrupted double-linked
list" and "double free or corruption" are printed to stderr. The applications
tested are Dosbox and Enemy Territory: Quake Wars.
Steps to reproduce:
1) Install an abandonware game such as Commander Keen 4
2) Run it in Dosbox
3) Depending on the game, press a key to start the game proper
Actual results:
The application crashes upon changing video mode.
Expected results:
The application changes video mode without causing a crash.
Build date and platform:
Build date of all components: 2014-08-07
Platform: Gentoo GNU/Linux x86_64
Linux kernel version: 3.16
Additional information:
Bisecting revealed the culprit commit to be
"58d2afa2232060b88f9c444ce7a0d6e63c841bb2: radeonsi: fix leaking the bound
state on destruction v2". See attachments for backtraces.
--
You are receiving this mail because:
You are the assignee for the bug.
--1407388335.fE77e530.28297
Date: Thu, 7 Aug 2014 05:12:15 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Priority |
medium
|
| Bug ID |
82279
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Summary |
SDL applications crash when changing video mode: double free or corruption
|
| Severity |
normal
|
| Classification |
Unclassified
|
| OS |
Linux (All)
|
| Reporter |
xamaniqinqu@gmail.com
|
| Hardware |
x86-64 (AMD64)
|
| Status |
NEW
|
| Version |
git
|
| Component |
Drivers/Gallium/radeonsi
|
| Product |
Mesa
|
Created attachment 104195 [details]
GDB backtrace of Dosbox crash.
Overview:
SDL applications crash when changing video mode, "corrupted double-linked
list" and "double free or corruption" are printed to stderr. The applications
tested are Dosbox and Enemy Territory: Quake Wars.
Steps to reproduce:
1) Install an abandonware game such as Commander Keen 4
2) Run it in Dosbox
3) Depending on the game, press a key to start the game proper
Actual results:
The application crashes upon changing video mode.
Expected results:
The application changes video mode without causing a crash.
Build date and platform:
Build date of all components: 2014-08-07
Platform: Gentoo GNU/Linux x86_64
Linux kernel version: 3.16
Additional information:
Bisecting revealed the culprit commit to be
"58d2afa2232060b88f9c444ce7a0d6e63c841bb2: radeonsi: fix leaking the bound
state on destruction v2". See attachments for backtraces.
You are receiving this mail because:
- You are the assignee for the bug.
--1407388335.fE77e530.28297--
--===============2144380265==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============2144380265==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] SDL applications crash when changing video mode: double
free or corruption
Date: Thu, 07 Aug 2014 05:15:30 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0512148956=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 8D8D56E268
for ; Wed, 6 Aug 2014 22:15:30 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0512148956==
Content-Type: multipart/alternative; boundary="1407388530.8CFd6F0.29099"; charset="us-ascii"
--1407388530.8CFd6F0.29099
Date: Thu, 7 Aug 2014 05:15:30 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
--- Comment #1 from Remco Zoet ---
Created attachment 104196
--> https://bugs.freedesktop.org/attachment.cgi?id=104196&action=edit
GDB full backtrace of Dosbox crash.
--
You are receiving this mail because:
You are the assignee for the bug.
--1407388530.8CFd6F0.29099
Date: Thu, 7 Aug 2014 05:15:30 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1407388530.8CFd6F0.29099--
--===============0512148956==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0512148956==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] SDL applications crash when changing video mode: double
free or corruption
Date: Thu, 07 Aug 2014 05:17:40 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0040304081=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id DC26B6E299
for ; Wed, 6 Aug 2014 22:17:39 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0040304081==
Content-Type: multipart/alternative; boundary="1407388659.cfbCe4A0.29516"; charset="us-ascii"
--1407388659.cfbCe4A0.29516
Date: Thu, 7 Aug 2014 05:17:39 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
Remco Zoet changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bisected
--
You are receiving this mail because:
You are the assignee for the bug.
--1407388659.cfbCe4A0.29516
Date: Thu, 7 Aug 2014 05:17:39 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Remco Zoet
changed
bug 82279
| What |
Removed |
Added |
| Keywords |
|
bisected
|
You are receiving this mail because:
- You are the assignee for the bug.
--1407388659.cfbCe4A0.29516--
--===============0040304081==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0040304081==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] [bisected] SDL applications crash when changing video
mode: double free or corruption
Date: Thu, 07 Aug 2014 05:18:02 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0663375399=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 2DC536E293
for ; Wed, 6 Aug 2014 22:18:02 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0663375399==
Content-Type: multipart/alternative; boundary="1407388682.f56CF0.29611"; charset="us-ascii"
--1407388682.f56CF0.29611
Date: Thu, 7 Aug 2014 05:18:02 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
Remco Zoet changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|SDL applications crash when |[bisected] SDL applications
|changing video mode: double |crash when changing video
|free or corruption |mode: double free or
| |corruption
--
You are receiving this mail because:
You are the assignee for the bug.
--1407388682.f56CF0.29611
Date: Thu, 7 Aug 2014 05:18:02 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Remco Zoet
changed
bug 82279
| What |
Removed |
Added |
| Summary |
SDL applications crash when changing video mode: double free or corruption
|
[bisected] SDL applications crash when changing video mode: double free or corruption
|
You are receiving this mail because:
- You are the assignee for the bug.
--1407388682.f56CF0.29611--
--===============0663375399==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0663375399==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] [bisected] SDL applications crash when changing video
mode: double free or corruption
Date: Thu, 07 Aug 2014 05:28:23 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0448299368=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 86CE16E291
for ; Wed, 6 Aug 2014 22:28:23 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0448299368==
Content-Type: multipart/alternative; boundary="1407389303.bD070Aa0.542"; charset="us-ascii"
--1407389303.bD070Aa0.542
Date: Thu, 7 Aug 2014 05:28:23 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
--- Comment #2 from Remco Zoet ---
Some additional information: the crash (obviously) only occurs when Dosbox uses
opengl rendering. For this, 'output=opengl' or 'output=openglnb' needs to be
set in ~/${USER}/.dosbox/dosbox-${VERSION}.conf.
--
You are receiving this mail because:
You are the assignee for the bug.
--1407389303.bD070Aa0.542
Date: Thu, 7 Aug 2014 05:28:23 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 2
on bug 82279
from Remco Zoet
Some additional information: the crash (obviously) only occurs when Dosbox uses
opengl rendering. For this, 'output=opengl' or 'output=openglnb' needs to be
set in ~/${USER}/.dosbox/dosbox-${VERSION}.conf.
You are receiving this mail because:
- You are the assignee for the bug.
--1407389303.bD070Aa0.542--
--===============0448299368==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0448299368==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] SDL applications crash when changing video mode: double
free or corruption
Date: Thu, 07 Aug 2014 05:50:49 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1805181108=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 0285F6E2BB
for ; Wed, 6 Aug 2014 22:50:49 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1805181108==
Content-Type: multipart/alternative; boundary="1407390648.Db4Cef20.6507"; charset="us-ascii"
--1407390648.Db4Cef20.6507
Date: Thu, 7 Aug 2014 05:50:48 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
Remco Zoet changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[bisected] SDL applications |SDL applications crash when
|crash when changing video |changing video mode: double
|mode: double free or |free or corruption
|corruption |
--
You are receiving this mail because:
You are the assignee for the bug.
--1407390648.Db4Cef20.6507
Date: Thu, 7 Aug 2014 05:50:48 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Remco Zoet
changed
bug 82279
| What |
Removed |
Added |
| Summary |
[bisected] SDL applications crash when changing video mode: double free or corruption
|
SDL applications crash when changing video mode: double free or corruption
|
You are receiving this mail because:
- You are the assignee for the bug.
--1407390648.Db4Cef20.6507--
--===============1805181108==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1805181108==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] SDL applications crash when changing video mode on
radeonsi: double free or corruption
Date: Thu, 07 Aug 2014 05:58:55 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0990608145=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 0DECA6E380
for ; Wed, 6 Aug 2014 22:58:55 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0990608145==
Content-Type: multipart/alternative; boundary="1407391134.18D027c0.8732"; charset="us-ascii"
--1407391134.18D027c0.8732
Date: Thu, 7 Aug 2014 05:58:54 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
Remco Zoet changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|SDL applications crash when |SDL applications crash when
|changing video mode: double |changing video mode on
|free or corruption |radeonsi: double free or
| |corruption
--
You are receiving this mail because:
You are the assignee for the bug.
--1407391134.18D027c0.8732
Date: Thu, 7 Aug 2014 05:58:54 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Remco Zoet
changed
bug 82279
| What |
Removed |
Added |
| Summary |
SDL applications crash when changing video mode: double free or corruption
|
SDL applications crash when changing video mode on radeonsi: double free or corruption
|
You are receiving this mail because:
- You are the assignee for the bug.
--1407391134.18D027c0.8732--
--===============0990608145==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0990608145==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] [bisected] double free or corruption on context
destruction with postprocessing enabled
Date: Thu, 07 Aug 2014 06:01:19 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1645091801=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 338AE6E382
for ; Wed, 6 Aug 2014 23:01:19 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1645091801==
Content-Type: multipart/alternative; boundary="1407391279.D4a0E60.9254"; charset="us-ascii"
--1407391279.D4a0E60.9254
Date: Thu, 7 Aug 2014 06:01:19 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D82279
Michel D=C3=A4nzer changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |deathsimple@vodafone.de
Summary|SDL applications crash when |[bisected] double free or
|changing video mode on |corruption on context
|radeonsi: double free or |destruction with
|corruption |postprocessing enabled
--- Comment #3 from Michel D=C3=A4nzer ---
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?
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1407391279.D4a0E60.9254
Date: Thu, 7 Aug 2014 06:01:19 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
=
Michel D=C3=A4nzer
changed
bug 82279<=
/a>
| What |
Removed |
Added |
| CC |
|
deathsimple@vodafone.de
|
| Summary |
SDL applications crash when changing video mode on radeonsi:=
double free or corruption
|
[bisected] double free or corruption on context destruction =
with postprocessing enabled
|
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1407391279.D4a0E60.9254--
--===============1645091801==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1645091801==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@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
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1516187909=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 2BC716E719
for ; Wed, 6 Aug 2014 23:44:58 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1516187909==
Content-Type: multipart/alternative; boundary="1407393898.BdbAcC0.21584"; charset="us-ascii"
--1407393898.BdbAcC0.21584
Date: Thu, 7 Aug 2014 06:44:58 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D82279
--- Comment #4 from Christian K=C3=B6nig ---
(In reply to comment #3)
> AFAICT this only happens if postprocessing is enabled via one of the pp_*
> driconf options or environment variables.
>=20
> (In reply to comment #0)
> > Bisecting revealed the culprit commit to be
> > "58d2afa2232060b88f9c444ce7a0d6e63c841bb2: radeonsi: fix leaking the bo=
und
> > state on destruction v2".
>=20
> 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 shad=
ers
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.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1407393898.BdbAcC0.21584
Date: Thu, 7 Aug 2014 06:44:58 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Comment=
# 4
on bug 82279<=
/a>
from Christian K=C3=B6nig
(In reply to comment #3=
)
> AFAICT this only happens if postprocessing is en=
abled via one of the pp_*
> driconf options or environment variables.
>=20
> (In reply to comment #0)
> > Bisecting revealed the culprit commit to be
> > "58d2afa2232060b88f9c444ce7a0d6e63c841bb2: radeonsi: fix lea=
king the bound
> > state on destruction v2".
>=20
> 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 shad=
ers
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:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1407393898.BdbAcC0.21584--
--===============1516187909==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1516187909==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] [bisected] double free or corruption on context
destruction with postprocessing enabled
Date: Thu, 07 Aug 2014 13:49:10 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1135648302=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 6CC756E256
for ; Thu, 7 Aug 2014 06:49:10 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1135648302==
Content-Type: multipart/alternative; boundary="1407419350.B32aDC0.27447"; charset="us-ascii"
--1407419350.B32aDC0.27447
Date: Thu, 7 Aug 2014 13:49:10 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82279
--- Comment #5 from Remco Zoet ---
I can now confirm that the crash only occurs with postprocessing enabled
through driconf. Apparently, there was still a .drirc present on my /home
partition from an earlier installation that had the 'pp_jimenezmlaa' and
'force_s3tc_enable' options enabled. Resetting .drirc to defaults allows me to
run all SDL applications normally.
--
You are receiving this mail because:
You are the assignee for the bug.
--1407419350.B32aDC0.27447
Date: Thu, 7 Aug 2014 13:49:10 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 5
on bug 82279
from Remco Zoet
I can now confirm that the crash only occurs with postprocessing enabled
through driconf. Apparently, there was still a .drirc present on my /home
partition from an earlier installation that had the 'pp_jimenezmlaa' and
'force_s3tc_enable' options enabled. Resetting .drirc to defaults allows me to
run all SDL applications normally.
You are receiving this mail because:
- You are the assignee for the bug.
--1407419350.B32aDC0.27447--
--===============1135648302==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1135648302==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82279] [bisected] double free or corruption on context
destruction with postprocessing enabled
Date: Wed, 15 Jun 2016 11:56:24 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1814394591=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 84DAE6E8F6
for ; Wed, 15 Jun 2016 11:56:24 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1814394591==
Content-Type: multipart/alternative; boundary="14659917840.c6fDcB.28627";
charset="UTF-8"
--14659917840.c6fDcB.28627
Date: Wed, 15 Jun 2016 11:56:24 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D82279
Christian K=C3=B6nig changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #6 from Christian K=C3=B6nig ---
I think that issue is fixed by now. Any objections to closing this bug?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14659917840.c6fDcB.28627
Date: Wed, 15 Jun 2016 11:56:24 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Christian K=C3=B6nig
changed
bug 82279<=
/a>
| What |
Removed |
Added |
| Resolution |
---
|
FIXED
|
| Status |
NEW
|
RESOLVED
|
You are receiving this mail because:
- You are the assignee for the bug.
=
--14659917840.c6fDcB.28627--
--===============1814394591==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1814394591==--