From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 56546] New: crash at the second render when applying gamma correction Date: Mon, 29 Oct 2012 21:23:24 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0948991828==" Return-path: 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 --===============0948991828== Content-Type: multipart/alternative; boundary="1351545804.b3666dD0.25342"; charset="us-ascii" --1351545804.b3666dD0.25342 Date: Mon, 29 Oct 2012 21:23:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=56546 Priority: medium Bug ID: 56546 Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Summary: crash at the second render when applying gamma correction Severity: critical Classification: Unclassified OS: Linux (All) Reporter: yves-RFxl5bZtqS5Wk0Htik3J/w@public.gmane.org Hardware: x86-64 (AMD64) Status: NEW Version: 8.0 Component: Drivers/DRI/nouveau Product: Mesa Created attachment 69256 --> https://bugs.freedesktop.org/attachment.cgi?id=69256&action=edit example of the crash Here a very simple program which illustrate a bug in driver 2.1 Mesa 8.0.4 when applying a gamma value with opengl. (The program is OK with driver NVIDIA). In attachment, the file utc24.tga used by the program glut_gamma_bug.cpp. Compile the program with the command: g++ -L/usr/lib64 -lGL -lGLU -lglut -lX11 -lXi -lxcb-glx -lxcb-xlib -ldl glut_gamma_bug.cpp Start it with: ./a.out It will open a small window with an image composed of vertical strips. Press the enter key (it apply a gamma correction of 3 to the image): a) it will print a message: KEY_ENTER b) it will print another message: current error GL: no error c) the same image will be brightness d) at the second message: current error GL: no error, it will crash Crash in: ==17340== Invalid read of size 4 ==17340== at 0xE5D4ABE: set_sampler_views.isra.2 (u_atomic.h:62) ==17340== by 0xE5B72E8: draw_textured_quad.isra.8 (st_cb_drawpixels.c:777) ==17340== by 0xE5B9596: st_DrawPixels (st_cb_drawpixels.c:1156) ==17340== by 0xE56BE98: _mesa_DrawPixels (drawpix.c:131) =17340== Address 0x101a95b0 is 0 bytes inside a block of size 96 free'd ==17340== at 0x4C2A5C6: free (vg_replace_malloc.c:446) ==17340== by 0xE5B95FB: st_DrawPixels (u_inlines.h:134) ==17340== by 0xE56BE98: _mesa_DrawPixels (drawpix.c:131) Thanks. -- You are receiving this mail because: You are the assignee for the bug. --1351545804.b3666dD0.25342 Date: Mon, 29 Oct 2012 21:23:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 56546
Assignee nouveau@lists.freedesktop.org
Summary crash at the second render when applying gamma correction
Severity critical
Classification Unclassified
OS Linux (All)
Reporter yves@3delight.com
Hardware x86-64 (AMD64)
Status NEW
Version 8.0
Component Drivers/DRI/nouveau
Product Mesa

Created attachment 69256 [details]
example of the crash

Here a very simple program which illustrate a bug in
driver 2.1 Mesa 8.0.4 when applying a gamma value with opengl.

(The program is OK with driver NVIDIA).

In attachment, the file utc24.tga used by the program glut_gamma_bug.cpp.

Compile the program with the command:

g++ -L/usr/lib64 -lGL -lGLU -lglut -lX11 -lXi -lxcb-glx -lxcb-xlib -ldl
glut_gamma_bug.cpp

Start it with: ./a.out

It will open a small window with an image composed of vertical strips.

Press the enter key (it apply a gamma correction of 3 to the image):

a) it will print a message: KEY_ENTER
b) it will print another message: current error GL: no error
c) the same image will be brightness
d) at the second message: current error GL: no error, it will crash


Crash in:

==17340== Invalid read of size 4
==17340==    at 0xE5D4ABE: set_sampler_views.isra.2 (u_atomic.h:62)
==17340==    by 0xE5B72E8: draw_textured_quad.isra.8 (st_cb_drawpixels.c:777)
==17340==    by 0xE5B9596: st_DrawPixels (st_cb_drawpixels.c:1156)
==17340==    by 0xE56BE98: _mesa_DrawPixels (drawpix.c:131)

=17340==  Address 0x101a95b0 is 0 bytes inside a block of size 96 free'd
==17340==    at 0x4C2A5C6: free (vg_replace_malloc.c:446)
==17340==    by 0xE5B95FB: st_DrawPixels (u_inlines.h:134)
==17340==    by 0xE56BE98: _mesa_DrawPixels (drawpix.c:131)


Thanks.


You are receiving this mail because:
  • You are the assignee for the bug.
--1351545804.b3666dD0.25342-- --===============0948991828== 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 --===============0948991828==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 56546] crash at the second render when applying gamma correction Date: Mon, 29 Oct 2012 21:26:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2117968599==" 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 --===============2117968599== Content-Type: multipart/alternative; boundary="1351545988.1dFECD0.25705"; charset="us-ascii" --1351545988.1dFECD0.25705 Date: Mon, 29 Oct 2012 21:26:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=56546 --- Comment #1 from Yves Claude --- Created attachment 69257 --> https://bugs.freedesktop.org/attachment.cgi?id=69257&action=edit data image for cpp file -- You are receiving this mail because: You are the assignee for the bug. --1351545988.1dFECD0.25705 Date: Mon, 29 Oct 2012 21:26:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 56546 from
Created attachment 69257 [details]
data image for cpp file


You are receiving this mail because:
  • You are the assignee for the bug.
--1351545988.1dFECD0.25705-- --===============2117968599== 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 --===============2117968599==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 56546] crash at the second render when applying gamma correction Date: Mon, 26 Aug 2013 03:03:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1351955844==" 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 --===============1351955844== Content-Type: multipart/alternative; boundary="1377486199.3Db0CeD31.24026"; charset="us-ascii" --1377486199.3Db0CeD31.24026 Date: Mon, 26 Aug 2013 03:03:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=56546 --- Comment #2 from Ilia Mirkin --- Couldn't reproduce this with mesa 9.1 or 9.2 on nv96. Please re-test, and if you're still having issues, please provide more information about your setup. (I did see a glibc malloc warning, but I didn't try to figure out if it was in your code or not.) -- You are receiving this mail because: You are the assignee for the bug. --1377486199.3Db0CeD31.24026 Date: Mon, 26 Aug 2013 03:03:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 56546 from
Couldn't reproduce this with mesa 9.1 or 9.2 on nv96. Please re-test, and if
you're still having issues, please provide more information about your setup.
(I did see a glibc malloc warning, but I didn't try to figure out if it was in
your code or not.)


You are receiving this mail because:
  • You are the assignee for the bug.
--1377486199.3Db0CeD31.24026-- --===============1351955844== 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 --===============1351955844==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 56546] crash at the second render when applying gamma correction Date: Fri, 27 Sep 2013 02:01:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0596065763==" 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 --===============0596065763== Content-Type: multipart/alternative; boundary="1380247301.5EaA58231.18373"; charset="us-ascii" --1380247301.5EaA58231.18373 Date: Fri, 27 Sep 2013 02:01:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=56546 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Ilia Mirkin --- No response to re-test request in a month. Closing as invalid. -- You are receiving this mail because: You are the assignee for the bug. --1380247301.5EaA58231.18373 Date: Fri, 27 Sep 2013 02:01:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 56546
What Removed Added
Status NEW RESOLVED
Resolution --- INVALID

Comment # 3 on bug 56546 from
No response to re-test request in a month. Closing as invalid.


You are receiving this mail because:
  • You are the assignee for the bug.
--1380247301.5EaA58231.18373-- --===============0596065763== 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 --===============0596065763==--