Skip to content

Failed to start tiglviewer-3 due to stack smashing #1069

@BeccyB

Description

@BeccyB

After building on linux with

cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DOCE_STATIC_LIBS=ON -DTIGL_BUILD_TESTS=ON -DCMAKE_CXX_FLAGS=-fno-stack-protector

I get the following error:

*** MESA_GLSL_CACHE_DISABLE is deprecated; use MESA_SHADER_CACHE_DISABLE instead ***
*** stack smashing detected ***: terminated
Aborted

After adding the flag -DTIGL_BUILD_TESTS=ON -DCMAKE_CXX_FLAGS=-fno-stack-protector I now see a short 1 sec glimps of a gui before crashing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions