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:
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.