[Mesa-dev] [Bug 96865] [swrast] egl-create-pbuffer-surface regression
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 8 20:04:49 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96865
Bug ID: 96865
Summary: [swrast] egl-create-pbuffer-surface regression
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Keywords: bisected, regression
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: vlee at freedesktop.org
QA Contact: mesa-dev at lists.freedesktop.org
CC: chad.versace at intel.com
mesa: a0bf1768c7131a5d9a23c5177e7b9d7a0267ef6c (12.1.0-devel)
$ ./bin/egl-create-pbuffer-surface -auto
Segmentation fault (core dumped)
(gdb) bt
#0 __memcpy_avx_unaligned () at
../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:238
#1 0x00007ff000483961 in memcpy (__len=262144, __src=<optimized out>,
__dest=0x0) at /usr/include/x86_64-linux-gnu/bits/string3.h:53
#2 swrastGetImage (read=<optimized out>, x=<optimized out>, y=<optimized out>,
w=<optimized out>, h=<optimized out>, data=0x0,
loaderPrivate=0x1b00a60) at drivers/dri2/platform_x11.c:179
#3 0x00007feffb11e65c in swrastSetTexBuffer2 (pDRICtx=<optimized out>,
target=<optimized out>, texture_format=8410, dPriv=0x1aef960)
at swrast.c:110
#4 0x00007ff00047feb2 in dri2_bind_tex_image (drv=0x1937c10, disp=0x19375d0,
surf=0x1b00a60, buffer=12420) at drivers/dri2/egl_dri2.c:1452
#5 0x00007ff000475dff in eglBindTexImage (dpy=0x19375d0, surface=<optimized
out>, buffer=12420) at main/eglapi.c:944
#6 0x00000000004024d2 in draw (state=0x7fff00df85c0) at
piglit/tests/egl/egl-create-pbuffer-surface.c:64
#7 0x0000000000401d12 in event_loop (state=0x7fff00df85c0,
test=0x7fff00df8650) at piglit/tests/egl/egl-util.c:158
#8 0x00000000004022ae in egl_util_run (test=0x7fff00df8650, argc=2,
argv=0x7fff00df8788)
at piglit/tests/egl/egl-util.c:299
#9 0x00000000004026b1 in main (argc=2, argv=0x7fff00df8788) at
piglit/tests/egl/egl-create-pbuffer-surface.c:100
(gdb) frame 2
#2 swrastGetImage (read=<optimized out>, x=<optimized out>, y=<optimized out>,
w=<optimized out>, h=<optimized out>, data=0x0,
loaderPrivate=0x1b00a60) at drivers/dri2/platform_x11.c:179
179 memcpy(data, idata, bytes);
(gdb) print data
$1 = 0x0
(gdb) print idata
$2 = <optimized out>
(gdb) print bytes
$3 = 262144
9fea9d6f8e862a8b3f569d37d06d1ff69c6e18f5 is the first bad commit
commit 9fea9d6f8e862a8b3f569d37d06d1ff69c6e18f5
Author: Guillaume Charifi <guillaume.charifi at sfr.fr>
Date: Mon Jun 20 15:27:33 2016 +0200
egl: Fix the bad surface attributes combination checking for pbuffers. (v3)
Fixes a regression induced by commit
a0674ce5c41903ccd161e89abb149621bfbc40d2:
When EGL_TEXTURE_FORMAT and EGL_TEXTURE_TARGET were both specified (and
both != EGL_NO_TEXTURE), an error was instantly triggered, before the
other one had even a chance to be checked, which is obviously not the
intended behaviour.
v2: Full commit hash, remove useless variables.
v3: [chadv] Add Fixes footers.
Fixes: piglit "spec/egl 1.4/eglcreatepbuffersurface and then glclear"
Fixes: piglit "spec/egl 1.4/largest possible eglcreatepbuffersurface and
then glclear"
Signed-off-by: Guillaume Charifi <guillaume.charifi at sfr.fr>
Reviewed-by: Frank Binns <frank.binns at imgtec.com>
Reviewed-by: Chad Versace <chad.versace at intel.com>
:040000 040000 3c833d0cdcb72af089cc2a777d4e782db0f51646
a851d5bcedb1fe8dd95b0a173cfaacdf19ea1025 M src
bisect run success
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160708/025bd7a2/attachment-0001.html>
More information about the mesa-dev
mailing list