From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 63263] X server crash in nouveau_xv.c:NVPutImage (NVCopyNV12ColorPlanes) Date: Wed, 10 Apr 2013 16:57:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1766431996==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1766431996== Content-Type: multipart/alternative; boundary="1365613037.e5751.13796"; charset="us-ascii" --1365613037.e5751.13796 Date: Wed, 10 Apr 2013 16:57:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=63263 --- Comment #1 from Ilia Mirkin --- Reading the code some more, higher up in the call chain (ProcXv{Shm,}PutImage), a call to NVQueryImageAttributes is made to determine how many bytes the source image needs to be, and if there aren't enough bytes, we never even make it to NVPutImage. So this means that we're looking for some sort of inconsistency between NVQueryImageAttributes and how far into the source buffer NVPutImage reads. Sadly the logic in NVPutImage is separate, and is much more complex. By the way, it occurs to me that I didn't mention what hardware I'm using, in case it matters: 02:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1) And I'm using x11-libs/libdrm-2.4.40 (which nouveau_xv.c depends on via nouveau_bo_*) -- You are receiving this mail because: You are the assignee for the bug. --1365613037.e5751.13796 Date: Wed, 10 Apr 2013 16:57:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 63263 from
Reading the code some more, higher up in the call chain (ProcXv{Shm,}PutImage),
a call to NVQueryImageAttributes is made to determine how many bytes the source
image needs to be, and if there aren't enough bytes, we never even make it to
NVPutImage.

So this means that we're looking for some sort of inconsistency between
NVQueryImageAttributes and how far into the source buffer NVPutImage reads.
Sadly the logic in NVPutImage is separate, and is much more complex.

By the way, it occurs to me that I didn't mention what hardware I'm using, in
case it matters:

02:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT]
(rev a1)

And I'm using x11-libs/libdrm-2.4.40 (which nouveau_xv.c depends on via
nouveau_bo_*)


You are receiving this mail because:
  • You are the assignee for the bug.
--1365613037.e5751.13796-- --===============1766431996== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1766431996==--