From: bugzilla-daemon@freedesktop.org
Subject: [Bug 27868] [r600] on new campaign, Vegastrike crashes or freezes Xorg
Date: Fri, 7 May 2010 07:26:32 -0700 (PDT)
Message-ID: <20100507142632.9446713004E@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id ECBA39E82E
for ;
Fri, 7 May 2010 07:26:33 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27868
--- Comment #4 from Bobby Weinmann 2010-05-07 07:26:32 PDT ---
Created an attachment (id=35497)
View: https://bugs.freedesktop.org/attachment.cgi?id=35497
Review: https://bugs.freedesktop.org/review?bug=27868&attachment=35497
PATCH for crash after "valide"
PATCH:
I have run into a crash after a "cannot valide it" warning. The unmap function
in radeon_bo_legacy is called sometimes when the memory is no longer mapped.
The radeon_bo_legacy->map_count goes negative which means statements like
if (radeon_bo_legacy->map_count) ...
will return true.
The attached patch prevents the count from going negative and fixes the crash
for me.
Crash was with the r200 driver (Radeon 9250SE) playing UrbanTerror using UMS.
I made the patch using the Ubuntu Lucid 10.04 source package.
Bobby
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.