Skip to content
New issue

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

nixos/malloc: fix Scudo #104052

Merged
merged 1 commit into from Nov 21, 2020
Merged

nixos/malloc: fix Scudo #104052

merged 1 commit into from Nov 21, 2020

Conversation

TredwellGit
Copy link
Member

Motivation for this change

Fixes segmentation faults.
#100799

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Fixes segmentation faults.
NixOS#100799
@TredwellGit
Copy link
Member Author

Should be backported.

@joachifm joachifm merged commit 547d660 into NixOS:master Nov 21, 2020
@TredwellGit TredwellGit deleted the nixos/malloc branch November 21, 2020 18:40
@nixbitcoin
Copy link
Contributor

Please backport to 20.09.

erikarvstedt added a commit to erikarvstedt/nix-bitcoin that referenced this pull request Dec 16, 2020
The 'scudo' memory allocator set by the 'hardened' profile breaks some
services on 20.09.
The fix for NixOS unstable (NixOS/nixpkgs#104052)
is ineffective on 20.09.

As a workaround, add a custom 'hardened' preset that uses the default allocator.
erikarvstedt added a commit to erikarvstedt/nix-bitcoin that referenced this pull request Dec 16, 2020
The 'scudo' memory allocator set by the 'hardened' profile breaks some
services on 20.09.
The fix for NixOS unstable (NixOS/nixpkgs#104052)
is ineffective on 20.09.

As a workaround, add a custom 'hardened' preset that uses the default allocator.
erikarvstedt added a commit to erikarvstedt/nix-bitcoin that referenced this pull request Dec 18, 2020
The 'scudo' memory allocator set by the 'hardened' profile breaks some
services on 20.09.
The fix for NixOS unstable (NixOS/nixpkgs#104052)
is ineffective on 20.09.

As a workaround, add a custom 'hardened' preset that uses the default allocator.
erikarvstedt added a commit to erikarvstedt/nix-bitcoin that referenced this pull request Dec 18, 2020
The 'scudo' memory allocator set by the 'hardened' profile breaks some
services on 20.09.
The fix for NixOS unstable (NixOS/nixpkgs#104052)
is ineffective on 20.09.

As a workaround, add a custom 'hardened' preset that uses the default allocator.
erikarvstedt added a commit to erikarvstedt/nix-bitcoin that referenced this pull request Dec 18, 2020
The 'scudo' memory allocator set by the 'hardened' profile breaks some
services on 20.09.
The fix for NixOS unstable (NixOS/nixpkgs#104052)
is ineffective on 20.09.

As a workaround, add a custom 'hardened' preset that uses the default allocator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants