microsoft / microsoft/DirectXShaderCompiler
Exit() are present in the shared libraries
Open
@damyanp is already working on this.
Since Mar 10, 2026.
bug
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Description
X: dxc: exit-in-shared-library [usr/lib/dxc/libdxcompiler.so]
X: dxc: exit-in-shared-library [usr/lib/dxc/libdxil.so]
Some exit() or _exit() calls are detected by linux packaging tools.
In the case of an error, the library should instead return an appropriate error code to the calling program which can then determine how to handle the error, including performing any required clean-up.
Steps to Reproduce
N/A
Actual Behavior
N/A
Environment
- DXC version 1.9.2602
- Host Operating System N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.