From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 70511] nouveau_bo_name_get segmentation fault while running root tutorials/gl/glbox.C Date: Sun, 13 Jul 2014 16:28:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0554286040==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0554286040== Content-Type: multipart/alternative; boundary="1405268935.8Df21.10098"; charset="us-ascii" --1405268935.8Df21.10098 Date: Sun, 13 Jul 2014 16:28:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=70511 --- Comment #1 from Vittorio --- I believe this situation comes from a NULL pointer in nouveau_dri2.c:246 "r = nouveau_bo_name_get(nouveau_pixmap_bo(pixmap), &front->name);" because nouveau_pixmap_bo returns a NULL pointer and nouveau_bo_name_get dereferences it. Should the caller update_front handle this one, or the called nouveau_bo_name_get? This is from xf86-video-nouveau-1.0.9. Many codes provoke this bug, as in /usr/lib64/mesa/teapot. -- You are receiving this mail because: You are the assignee for the bug. --1405268935.8Df21.10098 Date: Sun, 13 Jul 2014 16:28:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 70511 from
I believe this situation comes from a NULL pointer in nouveau_dri2.c:246
"r = nouveau_bo_name_get(nouveau_pixmap_bo(pixmap), &front->name);"
because nouveau_pixmap_bo returns a NULL pointer and 
nouveau_bo_name_get dereferences it.
Should the caller update_front handle this one, 
or the called nouveau_bo_name_get?
This is from xf86-video-nouveau-1.0.9.
Many codes provoke this bug, as in /usr/lib64/mesa/teapot.


You are receiving this mail because:
  • You are the assignee for the bug.
--1405268935.8Df21.10098-- --===============0554286040== 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 --===============0554286040==--