[softpipe] piglit egl-create-pbuffer-surface regression
Submitted by Vinson Lee
Assigned to mes..@..op.org
Description
mesa: e31bce40 (master 10.7.0-devel)
$ ./bin/egl-create-pbuffer-surface -auto egl-create-pbuffer-surface: sp_texture.c:360: softpipe_transfer_map: Assertion `box->x + box->width <= (int) u_minify(resource->width0, level)' failed. Aborted (core dumped)
(gdb) bt
#0 0x00007f154073e267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007f154073feca in __GI_abort () at abort.c:89
#2 0x00007f154073703d in __assert_fail_base (fmt=0x7f1540899028 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7f153bb067b8 "box->x + box->width <= (int) u_minify(resource->width0, level)",
file=file@entry=0x7f153bb06663 "sp_texture.c", line=line@entry=360,
function=function@entry=0x7f153bb06a00 <__PRETTY_FUNCTION__.8823> "softpipe_transfer_map") at assert.c:92
#3 0x00007f15407370f2 in __GI___assert_fail (assertion=0x7f153bb067b8 "box->x + box->width <= (int) u_minify(resource->width0, level)",
file=0x7f153bb06663 "sp_texture.c", line=360, function=0x7f153bb06a00 <__PRETTY_FUNCTION__.8823> "softpipe_transfer_map") at assert.c:101
#4 0x00007f153ba4dc10 in softpipe_transfer_map (pipe=0x417c, resource=0x1b1a1e0, level=0, usage=2, box=0x7ffd8acf97e0, transfer=0x1)
at sp_texture.c:360
#5 0x00007f153b97200b in pipe_transfer_map (transfer=0x7ffd8acf97d8, h=<optimized out>, w=<optimized out>, y=<optimized out>, x=<optimized out>,
access=2, layer=0, level=0, resource=0x1b1a1e0, context=0x19adb20) at ../../../../src/gallium/auxiliary/util/u_inlines.h:447
#6 drisw_update_tex_buffer (drawable=<optimized out>, ctx=<optimized out>, res=0x1b1a1e0) at drisw.c:309
#7 0x00007f153b9709a8 in dri_set_tex_buffer2 (pDRICtx=<optimized out>, target=3553, format=8410, dPriv=<optimized out>) at dri_drawable.c:245
#8 0x00007f15410204a2 in dri2_bind_tex_image (drv=0x199fe50, disp=0x199f810, surf=0x1ac4720, buffer=12420) at egl_dri2.c:1288
#9 0x00007f154101991a in eglBindTexImage (dpy=0x199f810, surface=<optimized out>, buffer=12420) at eglapi.c:948
#10 0x0000000000402507 in draw (state=0x7ffd8acf9af0) at piglit/tests/egl/egl-create-pbuffer-surface.c:64
#11 0x0000000000401d55 in event_loop (state=0x7ffd8acf9af0, test=0x7ffd8acf9b70) at piglit/tests/egl/egl-util.c:156
#12 0x00000000004022fb in egl_util_run (test=0x7ffd8acf9b70, argc=2, argv=0x7ffd8acf9c88) at piglit/tests/egl/egl-util.c:302
#13 0x00000000004026ef in main (argc=2, argv=0x7ffd8acf9c88) at piglit/tests/egl/egl-create-pbuffer-surface.c:100
(gdb) frame 4
#4 0x00007f153ba4dc10 in softpipe_transfer_map (pipe=0x417c, resource=0x1b1a1e0, level=0, usage=2, box=0x7ffd8acf97e0, transfer=0x1)
at sp_texture.c:360
360 assert(box->x + box->width <= (int) u_minify(resource->width0, level));
(gdb) print box->x
$1 = 1
(gdb) print box->width
$2 = 256
(gdb) print resource->width0
$3 = 256
(gdb) print level
$4 = 0
184e4de3 is the first bad commit commit 184e4de3 Author: Martin Peres martin.peres@linux.intel.com Date: Fri Jun 5 15:03:19 2015 +0300
main/version: make sure all the output variables get set in get_gl_override
This fixes 2 warnings in gcc 5.1.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
:040000 040000 d79f536961876f490be51ac2137ba8f18662bc49 cca6b9455a77b64fb2d684a9dd7b3edb20d533eb M src bisect run success
Version: 11.0