[Mesa-dev] [Bug 98595] glsl: ralloc assertion "info->canary == CANARY" failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 5 02:54:20 UTC 2016


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

            Bug ID: 98595
           Summary: glsl: ralloc assertion "info->canary == CANARY" failed
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: OpenBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: jsg at openbsd.org
        QA Contact: intel-3d-bugs at lists.freedesktop.org

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 http://wiki.x.org
        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 ?? ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161105/539057a4/attachment.html>


More information about the mesa-dev mailing list