[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#341351: marked as done (Ati driver crashes when hw acceleration is disabled)



Your message dated Sun, 08 Jan 2006 18:51:19 -0500
with message-id <20060108235119.GB15197@localdomain>
and subject line Closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Nov 2005 06:12:08 +0000
>From rojelio@sssup.it Tue Nov 29 22:12:08 2005
Return-path: <rojelio@sssup.it>
Received: from ms01.sssup.it ([193.205.80.99] helo=sssup.it)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EhLCI-0001aa-VM
	for submit@bugs.debian.org; Tue, 29 Nov 2005 22:12:08 -0800
Received: by sssup.it (CommuniGate Pro PIPE 4.1.8)
  with PIPE id 17646421; Wed, 30 Nov 2005 07:03:34 +0100
Received: from [193.205.81.254] (HELO localhost.localdomain)
  by sssup.it (CommuniGate Pro SMTP 4.1.8)
  with ESMTP id 17646420; Wed, 30 Nov 2005 07:03:29 +0100
Content-Type: multipart/mixed; boundary="===============1853542441=="
MIME-Version: 1.0
From: Riccardo Brigo <rojelio@sssup.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Ati driver crashes when hw acceleration is disabled
X-Mailer: reportbug 3.17
Date: Wed, 30 Nov 2005 07:09:55 +0100
Message-ID: <auto-000017646420@sssup.it>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1853542441==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: xserver-xorg
Version: 6.8.2.dfsg.1-11
Severity: normal
Tags: patch

A bug into one of ati driver's sources (radeon_video.c) causes Xorg server to
crash when using it with option "NoAccel", due to erroneous dereferencing of
uninitialized pointer.

The bug should be reproducible by anyone using "ati" driver:

1 - add 'Option "NoAccel"' to the device section of video card into xorg.conf
2 - restart Xorg
3 - launch any video player (I have personally tested it with totem, xine and
mplayer -- the latter using xv output, x11 doesn't crash the server)

I'm sure that many other programs are able to trigger this bug, but playing a
video is the one by which I've discovered the problem.

I'm attaching a patch that modifies the single line of code involved and that
solves the problem.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-r4
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to it_IT@euro)

Versions of packages xserver-xorg depends on:
ii  debconf [debconf-2.0]    1.4.59          Debian configuration management sy
ii  libc6                    2.3.5-8.1       GNU C Library: Shared libraries an
ii  libgcc1                  1:4.0.2-4       GCC support library
ii  libxau6                  6.8.2.dfsg.1-11 X Authentication library
ii  libxdmcp6                6.8.2.dfsg.1-11 X Display Manager Control Protocol
ii  xserver-common           6.8.2.dfsg.1-11 files and utilities common to all 
ii  zlib1g                   1:1.2.3-8       compression library - runtime

Versions of packages xserver-xorg recommends:
pn  discover | discover1     <none>          (no description available)
pn  laptop-detect            <none>          (no description available)
pn  mdetect                  <none>          (no description available)
ii  xlibs                    6.8.2.dfsg.1-11 X Window System client libraries m
pn  xresprobe                <none>          (no description available)

-- debconf information excluded

--===============1853542441==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch_radeon_missing_accelOn.diff"

--- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c.orig	2005-10-16 15:58:58.000000000 +0200
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c	2005-10-16 15:59:34.000000000 +0200
@@ -993,7 +993,7 @@
     RADEONPortPrivPtr	pPriv = (RADEONPortPrivPtr)data;
     Bool		setTransform = FALSE;
 
-    info->accel->Sync(pScrn);
+    if (info->accelOn) info->accel->Sync(pScrn);
 
 #define RTFSaturation(a)   (1.0 + ((a)*1.0)/1000.0)
 #define RTFBrightness(a)   (((a)*1.0)/2000.0)

--===============1853542441==--

---------------------------------------
Received: (at 341351-done) by bugs.debian.org; 8 Jan 2006 23:51:19 +0000
>From david_nusinow@verizon.net Sun Jan 08 15:51:19 2006
Return-path: <david_nusinow@verizon.net>
Received: from vms042pub.verizon.net ([206.46.252.42])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EvkJj-0000Sj-Gc
	for 341351-done@bugs.debian.org; Sun, 08 Jan 2006 15:51:19 -0800
Received: from squee ([129.44.187.7])
 by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep
 9 2005)) with ESMTPA id <0ISS005X4SXIYR84@vms042.mailsrvcs.net> for
 341351-done@bugs.debian.org; Sun, 08 Jan 2006 17:51:19 -0600 (CST)
Received: by squee (Postfix, from userid 1000)	id A255B46DA8; Sun,
 08 Jan 2006 18:51:19 -0500 (EST)
Date: Sun, 08 Jan 2006 18:51:19 -0500
From: David Nusinow <david_nusinow@verizon.net>
Subject: Closing
To: 341351-done@bugs.debian.org
Message-id: <20060108235119.GB15197@localdomain>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-1.0 required=4.0 tests=BAYES_00,ONEWORD,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

This bug was fixed in a previous upload. Closing.

 - David Nusinow



Reply to: