-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Labels
compiler-rt:scudoScudo Hardened AllocatorScudo Hardened Allocator
Description
When Scudo malloc is in use, coreutils cat -v fails with memory exhausted before doing anything. dd can also faiil with this error, though it seems intermittent. Other programs, including complex ones like Chromium and the COSMIC desktop environment, work as expected.
This was originally reported to Nixpkgs as NixOS/nixpkgs#459884, but NixOS/nixpkgs#459884 (comment) recommended that I report this here.
In case it matters, Scudo is loaded via NixOS’s environment.memoryAllocator.provider, which uses what I believe is the equivalent of /etc/ld.so.preload on non-NixOS. Switching to GrapheneOS’s hardened allocator makes the problem go away, which indicates that it is not simply due to overriding libc malloc..
Metadata
Metadata
Assignees
Labels
compiler-rt:scudoScudo Hardened AllocatorScudo Hardened Allocator