From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@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 [thread overview]
Message-ID: <bug-56546-8800@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2097 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 3466 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
next reply other threads:[~2012-10-29 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 21:23 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
[not found] ` <bug-56546-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2012-10-29 21:26 ` [Bug 56546] crash at the second render when applying gamma correction bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-26 3:03 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-09-27 2:01 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-56546-8800@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.