Summary: | [i965] brw::vec4_visitor::run SIGSEGV on OpenBSD | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jonathan Gray <jsg> |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED NOTOURBUG | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 10.6 | ||
Hardware: | Other | ||
OS: | OpenBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jonathan Gray
2015-07-20 01:58:53 UTC
The same crash occurs on the 10.5 branch, the 10.4 branch doesn't have the problem. (gdb) run Starting program: /usr/X11R6/bin/glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. Program received signal SIGSEGV, Segmentation fault. 0x00001bc0f409ac9a in brw::vec4_visitor::run (this=0x7f7ffffe7790) at brw_vec4.cpp:1729 warning: Source file is more recent than executable. 1729 Current language: auto; currently c++ (gdb) bt #0 0x00001bc0f409ac9a in brw::vec4_visitor::run (this=0x7f7ffffe7790) at brw_vec4.cpp:1729 #1 0x00001bc0f409b4ba in brw_vs_emit (brw=0x1bc136746030, prog=0x1bc141553e30, c=0x7f7ffffe8770, prog_data=0x7f7ffffe8680, mem_ctx=0x1bc150dea6b0, final_assembly_size=0x7f7ffffe8824) at brw_vec4.cpp:1933 #2 0x00001bc0f40c10f0 in do_vs_prog (brw=0x1bc136746030, prog=0x1bc141553e30, vp=0x1bc0c254f800, key=Variable "key" is not available. ) at brw_vs.c:291 #3 0x00001bc0f40c1353 in brw_vs_precompile (ctx=0x1bc136746030, shader_prog=0x1bc141553e30, prog=0x1bc0c254f800) at brw_vs.c:514 #4 0x00001bc0f4091912 in brw_link_shader (ctx=0x1bc136746030, shProg=0x1bc141553e30) at brw_shader.cpp:71 #5 0x00001bc0f3eabed9 in _mesa_glsl_link_shader (ctx=0x1bc136746030, prog=0x1bc141553e30) at program/ir_to_mesa.cpp:3035 #6 0x00001bc0f3dc358a in link_program (ctx=0x1bc136746030, program=Variable "program" is not available. ) at main/shaderapi.c:932 #7 0x00001bc0f3ea9268 in meta_clear (ctx=0x1bc136746030, buffers=18, glsl=true) at drivers/common/meta.c:1542 #8 0x00001bc0f3fde9d9 in brw_clear (ctx=0x1bc136746030, mask=0) at brw_clear.c:263 #9 0x00001bbe5610302e in __register_frame_info () from /usr/X11R6/bin/glxgears #10 0x00001bbe56103c6d in __register_frame_info () from /usr/X11R6/bin/glxgears #11 0x00001bbe56101e31 in ?? () from /usr/X11R6/bin/glxgears #12 0x0000000000000000 in ?? () (gdb) p prog $1 = (gl_program * const) 0x0 While the 10.6 branch still segfaults it seems the 11.0 branch and master do not. I don't see anything that is obviously marked as a fix in the brw_vec4.cpp commit logs. This problem occurred due to differences in enum attribute handling between gcc and g++. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39219 Fixed in the version of gcc in OpenBSD base back in October http://marc.info/?l=openbsd-cvs&m=144421363218215&w=2 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.