glsl-optimizer icon indicating copy to clipboard operation
glsl-optimizer copied to clipboard

Segfault on nodejs build

Open IvanSanchez opened this issue 9 years ago • 0 comments

Steps to reproduce:

  • Clone repo
  • Run npm install to trigger build (will call node-gyp rebuild internally)
  • Run build/Release/glslOptimizer.node
  • Segfault!

Fiddling around with gdb I'm able to get:

(gdb) run
Starting program: glsl-optimizer/build/Release/obj.target/glslOptimizer.node 

Program received signal SIGSEGV, Segmentation fault.
_mesa_glsl_parse_state::has_uniform_buffer_objects (this=0x0) at ../src/glsl/glsl_parser_extras.h:197
197           return ARB_uniform_buffer_object_enable || is_version(140, 300);
(gdb) quit

On a related note, #92 is reproducible on my machine (Debian 8, quadcore i5, linux kernel v4.0.0-1-amd64) . I somehow suspect a bad build via cmake might be related to a segfault-y build via gyp.

IvanSanchez avatar May 27 '15 11:05 IvanSanchez