Skip to content

clang frontend command failed with exit code 135 #163284

@urvangjoshi

Description

@urvangjoshi

For our project AVM (https://gitlab.com/AOMediaCodec/avm), we build using clang with different sanitizers enabled as part of the Gitlab CI.

Recently, we have noticed that clang occasionally crashes with this type of error message:

clang: error: clang frontend command failed with exit code 135 (use -v to see invocation)
clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-18/bin
clang: note: diagnostic msg: 
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/av1_config-260c0e.c
clang: note: diagnostic msg: /tmp/av1_config-260c0e.sh
clang: note: diagnostic msg: 
********************

Example log: https://gitlab.com/AOMediaCodec/avm/-/jobs/11702400258
(The compilation enabled Thread sanitizer in this case -- but transient errors have occurred for other sanitizers like address or undefined as well).

Attaching:

  • The 2 diagnostic files generated by clang.
  • The full log from the link above (in case link is not accessible / expires).

Pls let me know if any additional information will help.

clang_crash_artifacts.zip

clang_crash.log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"crashPrefer [crash-on-valid] or [crash-on-invalid]

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions