Windows terminal hangs after running ripgrep in a loop #1798

Open
opened 2026-01-30 22:36:44 +00:00 by claunia · 0 comments
Owner

Originally created by @Treit on GitHub (Jun 21, 2019).

Originally assigned to: @miniksa on GitHub.

Environment

Windows version 1903 OS build 18899.1000
Windows Terminal (Preview) version 0.2.1703.0

Any other software?
ripgrep 11.0.0

Steps to reproduce

Install ripgrep
Open wt (Windows Terminal), running PowerShell.
Run the following from the root of a large drive
while ($true) { rg -i "foo" }

Expected behavior

The terminal continually runs ripgrep against all files on the drive

Actual behavior

The terminal eventually hangs and is completely unresponsive.

The call stack for the main thread when the window hangs is attached.

HungTerminal1.callstack.txt

A minidump of the hung process is available here:
HungWindowsTerminal

Originally created by @Treit on GitHub (Jun 21, 2019). Originally assigned to: @miniksa on GitHub. # Environment Windows version 1903 OS build 18899.1000 Windows Terminal (Preview) version 0.2.1703.0 Any other software? ripgrep 11.0.0 # Steps to reproduce Install [ripgrep](https://github.com/BurntSushi/ripgrep) Open wt (Windows Terminal), running PowerShell. Run the following from the root of a large drive `while ($true) { rg -i "foo" }` # Expected behavior The terminal continually runs ripgrep against all files on the drive # Actual behavior The terminal eventually hangs and is completely unresponsive. The call stack for the main thread when the window hangs is attached. [HungTerminal1.callstack.txt](https://github.com/microsoft/terminal/files/3312675/HungTerminal1.callstack.txt) A minidump of the hung process is available here: [HungWindowsTerminal](https://1drv.ms/u/s!Alav93a0o3vchOg0nCVjwUPjFn0DYw?e=Ue4AP5)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1798