microsoft / microsoft/DirectXShaderCompiler

Exit() are present in the shared libraries

Open
#8,231 0 comments 1 reaction 2 assignees View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.