[Mesa-dev] [Bug 42517] New: Abort with llvmpipe renderer: ir_swizzle @ 0x2e8f0a0 specifies a channel not present in the value.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 2 07:32:05 PDT 2011


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

             Bug #: 42517
           Summary: Abort with llvmpipe renderer: ir_swizzle @ 0x2e8f0a0
                    specifies a channel not present in the value.
    Classification: Unclassified
           Product: Mesa
           Version: 7.11
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: choller at mozilla.com
        Depends on: 42516


Created attachment 53059
  --> https://bugs.freedesktop.org/attachment.cgi?id=53059
Test case for Firefox using llvmpipe as WebGL renderer

Using the llvmpipe software renderer for WebGL in Firefox, the attached html
testcase crashes:

ir_swizzle @ 0x2e8f0a0 specifies a channel not present in the value.
(swiz z (var_ref uni) )
Program received signal SIGABRT, Aborted.
0x00007ffff6eb8d05 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff6eb8d05 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6ebcab6 in abort () at abort.c:92
#2  0x00007fffd481cb27 in ir_validate::visit_leave (this=0x7fffffff8db0,
ir=0x2e8f0a0) at src/glsl/ir_validate.cpp:457
#3  0x00007fffd4819f4c in ir_swizzle::accept (this=0x2e8f0a0, v=0x7fffffff8db0)
at src/glsl/ir_hv_accept.cpp:233
#4  0x00007fffd4819b23 in ir_expression::accept (this=0x2e82e90,
v=0x7fffffff8db0) at src/glsl/ir_hv_accept.cpp:146
#5  0x00007fffd481a1f0 in ir_assignment::accept (this=0x2e831f0,
v=0x7fffffff8db0) at src/glsl/ir_hv_accept.cpp:292
#6  0x00007fffd4819730 in visit_list_elements (v=0x7fffffff8db0, l=0x31822c0)
at src/glsl/ir_hv_accept.cpp:48
#7  0x00007fffd48199dd in ir_function_signature::accept (this=0x3182270,
v=0x7fffffff8db0) at src/glsl/ir_hv_accept.cpp:120
#8  0x00007fffd4819730 in visit_list_elements (v=0x7fffffff8db0, l=0x300a310)
at src/glsl/ir_hv_accept.cpp:48
#9  0x00007fffd4819a6c in ir_function::accept (this=0x300a2e0,
v=0x7fffffff8db0) at src/glsl/ir_hv_accept.cpp:132
#10 0x00007fffd4819730 in visit_list_elements (v=0x7fffffff8db0, l=0x2dccac0)
at src/glsl/ir_hv_accept.cpp:48
#11 0x00007fffd4819663 in ir_hierarchical_visitor::run (this=0x7fffffff8db0,
instructions=0x2dccac0) at src/glsl/ir_hierarchical_visitor.cpp:282
#12 0x00007fffd481ce97 in validate_ir_tree (instructions=0x2dccac0) at
src/glsl/ir_validate.cpp:570
#13 0x00007fffd46ef455 in _mesa_glsl_compile_shader (ctx=0x2ca9c70,
shader=0x2dc55a0) at src/mesa/program/ir_to_mesa.cpp:3208
#14 0x00007fffd46b87ae in compile_shader (ctx=0x2ca9c70, shaderObj=1) at
src/mesa/main/shaderapi.c:848
#15 0x00007fffd46b9188 in _mesa_CompileShaderARB (shaderObj=1) at
src/mesa/main/shaderapi.c:1188
#16 0x00007ffff2c26c42 in mozilla::gl::GLContext::fCompileShader
(this=0x2ce3c90, shader=1) at ../../../dist/include/GLContext.h:2261
#17 0x00007ffff2c3c06a in mozilla::WebGLContext::CompileShader (this=0x29c5390,
sobj=0x2dc56a0)

The test is similar to my previously reported bug (bug 42516) but the crash is
different, so I can't really tell if the underlying issue is the same.

Version information from glxinfo:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe
OpenGL version string: 2.1 Mesa 7.11
OpenGL shading language version string: 1.20

If you need the full output, let me know.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list