[Bug 96911] webgl2 conformance2/textures/misc/tex-mipmap-levels.html crashes 12.1 Intel driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 13 07:11:41 UTC 2016


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

            Bug ID: 96911
           Summary: webgl2
                    conformance2/textures/misc/tex-mipmap-levels.html
                    crashes 12.1 Intel driver
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: yang.gu at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Steps to reproduce:
1. Launch latest Chrome browser on Linux with GEN graphics with following
options "--single-process --enable-unsafe-es3-apis
https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-mipmap-levels.html?webglVersion=2&quiet=0"

2. The driver would crash. (Without --single-process option, you may see "TEST
COMPLETE". But actually the driver already crashes as if you refresh the page,
you will see "WebGL hit a snag" notification).

Using debug version of driver, I saw below stack. The problem is
intel_tex.c:216: intel_map_texture_image: Assertion `mt' failed.

#0  0x00007fffef696267 in __GI_raise (sig=sig at entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007fffef697eca in __GI_abort () at abort.c:89
#2  0x00007fffef68f03d in __assert_fail_base (fmt=0x7fffef7f0fe8 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion at entry=0x7fffc8e4bb53 "mt",
file=file at entry=0x7fffc8e5d301 "intel_tex.c", line=line at entry=216,
function=function at entry=0x7fffc8e5d420 <__PRETTY_FUNCTION__.42517>
"intel_map_texture_image")
    at assert.c:92
#3  0x00007fffef68f0f2 in __GI___assert_fail
(assertion=assertion at entry=0x7fffc8e4bb53 "mt", file=file at entry=0x7fffc8e5d301
"intel_tex.c", line=line at entry=216, function=function at entry=0x7fffc8e5d420
<__PRETTY_FUNCTION__.42517> "intel_map_texture_image") at assert.c:101
#4  0x00007fffc8cd537b in intel_map_texture_image (ctx=<optimized out>,
tex_image=<optimized out>, slice=<optimized out>, x=<optimized out>,
y=<optimized out>, w=<optimized out>, h=0, mode=1, map=0x1191a5670da0,
out_stride=0x7fffccec3f40)
    at intel_tex.c:216
#5  0x00007fffc8a07e92 in _mesa_generate_mipmap (srcImage=<optimized out>,
maxLevel=13, texObj=0x1191a69a3480, target=3553, ctx=0x1191a6934030)
    at main/mipmap.c:1969
#6  0x00007fffc8a07e92 in _mesa_generate_mipmap (ctx=ctx at entry=0x1191a6934030,
target=target at entry=3553, texObj=texObj at entry=0x1191a69a3480)
    at main/mipmap.c:2226
#7  0x00007fffc8b06236 in _mesa_meta_GenerateMipmap (ctx=0x1191a6934030,
target=---Type <return> to continue, or q <return> to quit---
3553, texObj=0x1191a69a3480) at drivers/common/meta_generate_mipmap.c:171
#8  0x00007fffc89f3b4e in _mesa_generate_texture_mipmap (ctx=0x1191a6934030,
texObj=0x1191a69a3480, target=3553, dsa=<optimized out>) at
main/genmipmap.c:155
#9  0x00007ffff4fa7c86 in
gpu::gles2::GLES2DecoderImpl::DoGenerateMipmap(unsigned int) ()
    at /workspace/project/chromium/src/out-gn-linux-x86_64/Release/./libgpu.so
#10 0x00007ffff4f85c4e in
gpu::gles2::GLES2DecoderImpl::HandleGenerateMipmap(unsigned int, void const*)
()


Note: This is a regression in latest code, and I can't reproduce it with 11.2
driver.

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


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