Home / Latest

Ripgrep Crashes on Large Searches
Image: Wikipedia
Latest

Ripgrep Crashes on Large Searches

WireByte Staff · August 1, 2026

Ripgrep, a popular command-line search tool, has been found to occasionally crash with a SIGSEGV signal when searching very large trees at high concurrency. The issue affects the x86_64-unknown-linux-musl architecture and has been reproduced independently of OpenAI Codex. The bug is under investigation, and users are advised to exercise caution when using the tool on large datasets.

Key points

  • Ripgrep version 15.2.0 (rev e89fff8) is affected by the issue.
  • The bug occurs on x86_64-unknown-linux-musl architecture and is related to MUSL's mallocng heap metadata.
  • The issue has been reproduced independently of OpenAI Codex and is not specific to the bundled rg binary.
  • Users are advised to exercise caution when using ripgrep on large datasets until the issue is resolved.

Ripgrep, a widely used command-line search tool, has been found to occasionally crash with a SIGSEGV signal when searching very large trees at high concurrency. The issue affects the x86_64-unknown-linux-musl architecture and has been reproduced independently of OpenAI Codex.

The bug is related to MUSL's mallocng heap metadata and occurs in a calloc call made from opendir. Users who rely on ripgrep for large-scale searches are advised to exercise caution until the issue is resolved.

The OpenSUSE Tumbleweed Linux x86_64 environment is one of the affected platforms. The issue has been reported by a user who encountered it while using the tool on a large dataset.

The ripgrep developers are currently investigating the issue, and users are advised to monitor the project's GitHub repository for updates on the bug and any potential fixes.

Sources

WireByte Staff — Editorial Team

The WireByte editorial team synthesises technology news from multiple primary sources, verifies the facts, and links every source. Articles are produced with AI assistance and reviewed under our editorial policy.