Re:RipGrep musl binaries occasionally segfault during very-l...
by zeuxcg on Saturday August 01, 2026 @11:34AM
(#49135319)
If you look at the sigsegv stack, the allocation comes from opendir which is in musl libc as well. The allocation override mechanism used in Rust doesn’t replace the allocator process-wide; it merely replaces the allocator Rust code talks to.
It does seem like ripgrep should probably avoid using opendir from libc if it allocates using an allocator with a global lock though.
It does seem like ripgrep should probably avoid using opendir from libc if it allocates using an allocator with a global lock though.