nsaireland.blogg.se

How to get stack smashing detected ubuntu 16.04
How to get stack smashing detected ubuntu 16.04




how to get stack smashing detected ubuntu 16.04

I've tested this with Mesa 743e11c10b from week ago and Mesa 233718a199 from today (I haven't tested 18.04 build earlier, so I have no idea whether this is a regression). GL & GLES versions of Aztec Ruins works fine, so the issue is Anvil specific. I've tested this on HSW & BXT and it happens on both, so I think it's a generic issue. (I got same result also from another GfxBench build, with a different backend, on Clear Linux / Wayland instead of Ubuntu 18.04 / X, when using same Mesa build.) Gdb output seems to validate that type used here is indeed sampler ("_sampler2DShadow_type"):Ģ08 src/compiler/nir/nir_opt_large_constants.c: No such file or directory.ī = I assume it's unreachable that's directly triggering the stack smash, instead of this being a stack corruption that could have happened elsewhere. Unreachable("type does not have a natural size") Other archs work as they different host libc is skipped. Glsl_get_natural_size_align_bytes(const struct glsl_type *type, stack smashing detected when using glibc For some reason QEMU / glibc x8664 picks up the host libc, which breaks things.

how to get stack smashing detected ubuntu 16.04

PPipelines=0x7ffff2c3c850) at src/intel/vulkan/genX_pipeline.c:1944 #12 gen9_CreateGraphicsPipelines (_device=0x7ffff017fbb0, pipelineCache=0x7ffff3569860, count=1, pCreateInfos=, pAllocator=0x0, _device=0x7ffff017fbb0) at src/intel/vulkan/genX_pipeline.c:1734 #9 0x00007ffff48ee068 in anv_pipeline_compile_graphics at src/intel/vulkan/anv_pipeline.c:970 Spec_info=0x0, pipeline=, pipeline=) at src/intel/vulkan/anv_pipeline.c:222 #8 0x00007ffff48edc1d in anv_shader_compile_to_nir (mem_ctx=, module=, entrypoint_name=, stage=, #6 0x00007ffff4ad40c6 in nir_opt_large_constants, at src/compiler/nir/nir_opt_large_constants.c:208 #5 0x00007ffff4b353c3 in glsl_get_natural_size_align_bytes (type=, size=, align=) Thread 2 "testfw_app" received signal SIGABRT, Aborted.Ġx00007ffff6ddc917 in raise () from /usr/lib64/libc.so.6 *** stack smashing detected ***: terminated * Stack checks detect an issue, which shows in the following way in Gdb: * 18.04 (gcc 7.3) build & run works as well as it does on 16.04 (gcc 5.4) build & run * Ubuntu 18.04 (seems to enable extra stack checks for gcc compared to 16.04)īin/testfw_app -gfx vulkan -gl_api vulkan -width 1920 -height 1080 -test_id vulkan_5_normal






How to get stack smashing detected ubuntu 16.04