google / graphicsfuzz

A testing framework for automatically finding and simplifying bugs in graphics shader compilers.
Apache License 2.0
561 stars 117 forks source link

java.lang.AssertionError: There should be no aliasing in the AST with the exception of types; found multiple parents for 'com.graphicsfuzz.common.ast.decl.ParameterDecl@50a6f920' which has class class com.graphicsfuzz.common.ast.decl.ParameterDecl. #446

Closed jonathanmetzman closed 5 years ago

jonathanmetzman commented 5 years ago

This one happens on CF pretty frequently :-(

I can repro on dev branch.

Repro command:

java -ea -cp graphicsfuzz-build/jar/tool-1.0.jar com.graphicsfuzz.generator.tool.GenerateShaderFamily /tmp/references/33413.0.json shaders-build/donors /tmp/output --seed 1789707565 --max-uniforms 0 --max-bytes 500000 --disable-shader-translator --num-variants 18 --verbose --disable-glslangValidator

where donors is from the shader folder you all shared with me, and /tmp/references/ contains the files in references.zip

paulthomson commented 5 years ago

Fixed by #453

paulthomson commented 5 years ago

Thanks for the report and repro command. This should be fixed now in dev.