[Bug 88385] New: [SNB+ Bisected]Ogles3conform ES3-CTS.gtf.GL3Tests.packed_pixels.packed_pixels core dumped

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 13 18:42:25 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88385

            Bug ID: 88385
           Summary: [SNB+ Bisected]Ogles3conform
                    ES3-CTS.gtf.GL3Tests.packed_pixels.packed_pixels core
                    dumped
           Product: Mesa
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: high
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: huax.lu at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

System Environment:
--------------------------
Platform: HSW
Libdrm:       
(master)libdrm-2.4.58-21-gd7c0a08bc576deb07df6c3f91f393ca8edd0c4bf
Mesa:        (master)bed6f20f28af8bf531c14e3cab12a00354a313fc
Xserver:   
(master)xorg-server-1.16.99.901-128-g4e12d7b6f4489fa06475465993a3e1e1d896390b
Xf86_video_intel:(master)2.99.917-26-gee79d1885509a2a94acb80e0c416cb276ba7c453
Libva:        (master)e97ac9e78cd475a13e722c455e34d5d39d0f059d
Libva_intel_driver:(master)1a4e98338b8b498895eabe3a151f48e5c624bb63
Kernel:   (drm-intel-nightly)823e7150631cb1059edc9c57fc4c6f8454e1700e

Bug detailed description:
---------------------------
It fails on SNB+ platforms with mesa master branch, works well on 10.4 branch.
Following cases also fail with the same bisect commit:
ES3-CTS.gtf.GL3Tests.packed_pixels.packed_pixels_pbo
ES3-CTS.gtf.GL3Tests.packed_pixels.packed_pixels_pixelstore

Bisect shows: 8ec6534b266549cdc2798e2523bf6753924f6cde is the first bad commit
Author:     Iago Toral Quiroga <itoral at igalia.com>
AuthorDate: Wed Oct 15 13:42:11 2014 +0200
Commit:     Iago Toral Quiroga <itoral at igalia.com>
CommitDate: Mon Jan 12 11:20:29 2015 +0100

    mesa: Use _mesa_format_convert to implement texstore_rgba.

    Notice that _mesa_format_convert does not handle byte-swapping scenarios,
    GL_COLOR_INDEX or MESA_FORMAT_YCBCR(_REV), so these must be handled
    separately.

    Also, remove all the code that goes unused after using
_mesa_format_convert.

    Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

output:
dEQP Core GL-CTS-2.0 (0x0052484b) starting..
  target implementation = 'X11'

Test case 'ES3-CTS.gtf.GL3Tests.packed_pixels.packed_pixels'..
glcts: ../../src/mesa/main/glformats.c:2682: _mesa_format_from_format_and_type:
Assertion `!"Unsupported format"' failed.
Aborted (core dumped)


(gdb) bt
#0  0x0000003820a35819 in raise () from /usr/lib64/libc.so.6
#1  0x0000003820a36f28 in abort () from /usr/lib64/libc.so.6
#2  0x0000003820a2e7f6 in __assert_fail_base () from /usr/lib64/libc.so.6
#3  0x0000003820a2e8a2 in __assert_fail () from /usr/lib64/libc.so.6
#4  0x00007ffff5ffda77 in _mesa_format_from_format_and_type
(format=format at entry=6407, type=type at entry=33640) at
../../src/mesa/main/glformats.c:2682
#5  0x00007ffff6059c6d in texstore_rgba (srcPacking=0x7ffff5acb720,
srcAddr=0x1e2d6d0, srcType=33640, srcFormat=6407, srcDepth=1, srcHeight=3,
srcWidth=7,
    dstSlices=0x7fffffffd4c8, dstRowStride=64,
dstFormat=MESA_FORMAT_B10G10R10A2_UNORM, baseInternalFormat=6407, dims=0,
ctx=0x0) at ../../src/mesa/main/texstore.c:1007
#6  _mesa_texstore (ctx=ctx at entry=0x7ffff5ab0038, dims=dims at entry=2,
baseInternalFormat=6407, dstFormat=MESA_FORMAT_B10G10R10A2_UNORM,
dstRowStride=64,
    dstSlices=dstSlices at entry=0x7fffffffd4c8, srcWidth=srcWidth at entry=7,
srcHeight=srcHeight at entry=3, srcDepth=srcDepth at entry=1,
srcFormat=srcFormat at entry=6407,
    srcType=srcType at entry=33640, srcAddr=srcAddr at entry=0x1e2d6d0,
srcPacking=srcPacking at entry=0x7ffff5acb720) at
../../src/mesa/main/texstore.c:1142
#7  0x00007ffff605a592 in store_texsubimage (ctx=ctx at entry=0x7ffff5ab0038,
texImage=texImage at entry=0x1e33270, xoffset=xoffset at entry=0,
yoffset=yoffset at entry=0,
    zoffset=zoffset at entry=0, width=7, height=3, depth=1,
format=format at entry=6407, type=type at entry=33640, pixels=pixels at entry=0x1e2d6d0,
packing=packing at entry=0x7ffff5acb720,
    caller=caller at entry=0x7ffff62f32c0 "glTexImage") at
../../src/mesa/main/texstore.c:1280
#8  0x00007ffff605a781 in _mesa_store_teximage (ctx=ctx at entry=0x7ffff5ab0038,
dims=dims at entry=2, texImage=texImage at entry=0x1e33270, format=format at entry=6407,
    type=type at entry=33640, pixels=pixels at entry=0x1e2d6d0,
packing=packing at entry=0x7ffff5acb720) at ../../src/mesa/main/texstore.c:1327
#9  0x00007ffff62bdbc0 in intelTexImage (ctx=0x7ffff5ab0038, dims=2,
texImage=0x1e33270, format=6407, type=33640, pixels=0x1e2d6d0,
unpack=0x7ffff5acb720)
    at intel_tex_image.c:204
#10 0x00007ffff6048fbf in teximage (ctx=0x7ffff5ab0038,
compressed=compressed at entry=0 '\000', dims=dims at entry=2,
target=target at entry=3553, level=0, internalFormat=31666800,
    width=7, height=3, depth=depth at entry=1, border=0, format=format at entry=6407,
type=type at entry=33640, imageSize=imageSize at entry=0,
pixels=pixels at entry=0x1e2d6d0)
    at ../../src/mesa/main/teximage.c:3269
#11 0x00007ffff604a2b4 in _mesa_TexImage2D (target=3553, level=<optimized out>,
internalFormat=<optimized out>, width=<optimized out>, height=<optimized out>,
    border=<optimized out>, format=6407, type=33640, pixels=0x1e2d6d0) at
../../src/mesa/main/teximage.c:3308
#12 0x0000000000f666f2 in glwTexImage2D ()
#13 0x000000000096629f in packedPixelsPixelRectangleInner ()
#14 0x0000000000966449 in packedPixelsPixelRectangle ()
#15 0x0000000000966644 in GTFTestGL3_packed_pixels_Apply ()
#16 0x00000000008bedec in GTFTestGL3VirtualCallApply ()
#17 0x00000000008b78d1 in GTFTestGL3Apply ()
#18 0x0000000000866b41 in GTFTestEncapsulateApply ()
#19 0x0000000000812907 in GTFRunTest ()
#20 0x000000000080ae9b in gtf::TestCase::iterate() ()
#21 0x0000000000f00a97 in tcu::TestCaseWrapper::iterateTestCase(tcu::TestCase*)
()
#22 0x00000000007da1a1 in
glcts::TestCaseWrapper::iterateTestCase(tcu::TestCase*) ()
#23 0x0000000000f02190 in tcu::TestExecutor::iterate() ()
#24 0x0000000000ef5141 in tcu::App::iterate() ()
#25 0x0000000000541638 in main ()

Reproduce steps:
-------------------------
1. xinit
2. ./glcts --deqp-case=ES3-CTS.gtf.GL3Tests.packed_pixels.packed_pixels

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150114/654a9e89/attachment.html>


More information about the intel-3d-bugs mailing list