<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 - glsl: ralloc assertion "info->canary == CANARY" failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98595">98595</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>glsl: ralloc assertion "info->canary == CANARY" failed
          </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>OpenBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>glsl-compiler
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jsg@openbsd.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With Mesa git (0c17b0b6f089e325de6a3f871c8d799326be4202) I now see the
following assertion triggered on OpenBSD/amd64 with i965 and Broadwell (
Intel HD Graphics 5500).

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 6.0 amd64 
Current Operating System: OpenBSD stan.jsg.id.au 6.0 GENERIC.MP#2 amd64
Build Date: 19 October 2016  01:54:48PM

Current version of pixman: 0.34.0
        Before reporting problems, check <a href="http://wiki.x.org">http://wiki.x.org</a>
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov  5 13:39:12 2016
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
Mesa warning: Kernel 4.1 required to properly query GPU properties.

assertion "info->canary == CANARY" failed: file "ralloc.c", line 84, function
"get_header"

Program received signal SIGABRT, Aborted.
0x000008d39043788a in thrkill () at <stdin>:2
2       <stdin>: No such file or directory.
        in <stdin>
Current language:  auto; currently asm
(gdb) bt
#0  0x000008d39043788a in thrkill () at <stdin>:2
#1  0x000008d3903e9559 in *_libc_abort () at
/usr/src/lib/libc/stdlib/abort.c:52
#2  0x000008d390411914 in *_libc___assert2 (file=Variable "file" is not
available.
) at /usr/src/lib/libc/gen/assert.c:52
#3  0x000008d2be38d4f5 in get_header (ptr=Variable "ptr" is not available.
) at ralloc.c:84
#4  0x000008d2be38d50d in ralloc_set_destructor (ptr=Variable "ptr" is not
available.
) at ralloc.c:347
#5  0x000008d2be3618e6 in glsl_symbol_table::add_type (this=0x8d36c6f91b0,
name=0x8d38a69c8f0 "void", t=0x8d2beaba7e0) at glsl/glsl_symbol_table.cpp:30
#6  0x000008d2be3303ea in _mesa_glsl_initialize_types (state=0x8d325402830) at
glsl/builtin_types.cpp:270
#7  0x000008d2be3578a5 in _mesa_glsl_parse (state=0x8d325402830) at
glsl_parser.yy:311
#8  0x000008d2be360313 in _mesa_glsl_compile_shader (ctx=0x8d2baac2030,
shader=0x8d2daf2d230, dump_ast=false, dump_hir=false) at
glsl/glsl_parser_extras.cpp:1911
#9  0x000008d2be1c3c72 in _mesa_compile_shader (ctx=0x8d2baac2030,
sh=0x8d2daf2d230) at main/shaderapi.c:1034
#10 0x000008d372d30986 in glamor_compile_glsl_prog () from
/usr/X11R6/lib/modules/libglamoregl.so
#11 0x000008d372d30f1c in glamor_init_finish_access_shaders () from
/usr/X11R6/lib/modules/libglamoregl.so
#12 0x000008d372d2c328 in glamor_init () from
/usr/X11R6/lib/modules/libglamoregl.so
#13 0x000008d2f9fb5a99 in ScreenInit () from
/usr/X11R6/lib/modules/drivers/modesetting_drv.so
#14 0x000008d0a390d60a in AddScreen () from /usr/X11R6/bin/Xorg
#15 0x000008d0a395b58c in InitOutput () from /usr/X11R6/bin/Xorg
#16 0x000008d0a3918448 in dix_main () from /usr/X11R6/bin/Xorg
#17 0x000008d0a3901942 in _start () from /usr/X11R6/bin/Xorg
#18 0x0000000000000000 in ?? ()</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>