[Mesa-dev] [Bug 91100] [softpipe] piglit egl-create-pbuffer-surface regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 24 16:17:19 PDT 2015


            Bug ID: 91100
           Summary: [softpipe] piglit egl-create-pbuffer-surface
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (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: brianp at vmware.com, maraeo at gmail.com,
                    martin.peres at free.fr

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 at entry=6) at
#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 at entry=0x7f153bb067b8 "box->x + box->width <= (int)
u_minify(resource->width0, level)", 
    file=file at entry=0x7f153bb06663 "sp_texture.c", line=line at entry=360, 
    function=function at 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
#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
#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
(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,
(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 <martin.peres at 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 at vmware.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Martin Peres <martin.peres at linux.intel.com>

:040000 040000 d79f536961876f490be51ac2137ba8f18662bc49
cca6b9455a77b64fb2d684a9dd7b3edb20d533eb 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: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150624/cdb5eca3/attachment-0001.html>

More information about the mesa-dev mailing list