We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The darwin sandbox does not clean up System V IPC objects.
On a darwin system:
nix-build --no-link -E 'with import <nixpkgs> {}; stdenv.mkDerivation { name = "ipc"; dontUnpack = true; doCheck = true; nativeCheckInputs = [ postgresqlTestHook postgresql ]; checkPhase = "runHook preCheck; sleep 1000"; }'`
ipcs -ma
(you can clean up with ipcrm -m <ID>)
ipcrm -m <ID>
ipcs -ma should not return any left-over shared memory segments.
nix-env (Nix) 2.24.12
More details about my analysis:
The Linux sandbox mentions IPC cleanup explicitly:
nix/src/libstore/unix/build/local-derivation-goal.cc
Lines 959 to 963 in d904921
Various tickets which are all caused by this:
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The darwin sandbox does not clean up System V IPC objects.
Steps To Reproduce
On a darwin system:
ipcs -ma
and see the left-over shared memory segment belonging to a build user.(you can clean up with
ipcrm -m <ID>
)Expected behavior
ipcs -ma
should not return any left-over shared memory segments.Metadata
nix-env (Nix) 2.24.12
Additional context
More details about my analysis:
The Linux sandbox mentions IPC cleanup explicitly:
nix/src/libstore/unix/build/local-derivation-goal.cc
Lines 959 to 963 in d904921
Various tickets which are all caused by this:
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: