<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [softpipe] piglit egl-create-pbuffer-surface regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91100">91100</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[softpipe] piglit egl-create-pbuffer-surface regression
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Keywords</th>
<td>bisected, regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>brianp@vmware.com, maraeo@gmail.com, martin.peres@free.fr
</td>
</tr></table>
<p>
<div>
<pre>mesa: e31bce4041122cd00712b60b4dc1eae6486f6579 (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
184e4de3a126fa21945fe59f68b8a29977919fc4 is the first bad commit
commit 184e4de3a126fa21945fe59f68b8a29977919fc4
Author: Martin Peres <<a href="mailto:martin.peres@linux.intel.com">martin.peres@linux.intel.com</a>>
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 <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>>
Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>
Signed-off-by: Martin Peres <<a href="mailto:martin.peres@linux.intel.com">martin.peres@linux.intel.com</a>>
:040000 040000 d79f536961876f490be51ac2137ba8f18662bc49
cca6b9455a77b64fb2d684a9dd7b3edb20d533eb M src
bisect run success</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>