Repository navigation
Description
Pre-submit Checks
- I have searched Warp bugs and there are no duplicates
- I have searched Warp known issues page and my issue is not there
- I have an issue with AI and have included the debugging ID (Optional, but helps expedite the AI quality fix). Debugging ID instructions
- I have technical issue and have included the logs (optional, but helps expedite the bug fix). Log instructions
Describe the bug
Environment:
- Warp version: v0.2026.08.26.17.59.stable_01 (Windows), installed 2026-08-27
- OS: Windows 11 Pro 10.0.26200
- Git for Windows: 2.55.0.windows.5, MSYS2 runtime dated 2026-08-20
- CPU: 12 logical processors
Symptom:
Every new Git Bash tab hangs indefinitely at "Starting Git Bash..." with the
"Seems like your shell is taking a while to start..." banner. "Show running
processes" shows the tab stuck on the very first line of Warp's shell-init
snippet:
command -p stty raw;HISTCONTROL=ignorespace;...
The underlying process is "C:\Program Files\Git\usr\bin\bash.exe" --noprofile --norc
(child of warp.exe). Live per-process CPU sampling confirms this bash process
pegs 100% of a single logical core continuously and never returns — it does
not just wait, it actively spins forever. Opening multiple tabs multiplies
the number of pinned cores (one stuck bash process per hung tab), which
matches system total CPU% readings (e.g. ~24-33% total on a 12-core machine
= 3-4 cores fully pinned).
This is not caused by antivirus (reproduced identically with Kaspersky
protection fully paused), not by .bashrc/.bash_profile/.profile content
(plain bash --login -i -c exit completes in <0.4s outside Warp), and does
not affect PowerShell or WSL tabs in the same Warp window. Plain Git Bash
launched outside Warp (native git-bash.exe) is also unaffected — this only
reproduces through Warp's own Git Bash pty (ConPTY) integration.
Timeline: this started right after Warp auto-updated to
v0.2026.08.26.17.59.stable_01 on 2026-08-27. That release's changelog entry
mentions "Fixed bash plugin detection". Notably, the 2026-08-13 changelog
already describes a very similar-sounding issue: "Windows PTY priority
inversion" causing "high CPU on machines with many cores" — this looks like
a regression of that same class of bug, possibly reintroduced by the
bash-plugin-detection change.
Also worth noting: warp.exe bundles its own conpty.dll, which was replaced
at the exact same timestamp as warp.exe in this release (2026-08-27
23:17:38), suggesting the regression may be in the bundled ConPTY component.
Could you point me to an installer for the previous build
(v0.2026.08.25.19.26, 2026-08-25) so I can roll back while this is fixed?
Auto-update also seems to have no user-facing off switch in Settings >
Account for individual (non-Team) accounts — worth double-checking that too.
To reproduce
Steps to reproduce:
- Open Warp on Windows.
- Open a new tab and select "Bash" (Git Bash).
- Tab shows "Starting Git Bash..." and the "Seems like your shell is taking a while to start..." banner appears; it stays stuck for 30-40+ seconds before finally loading.
- Open 2-3 more Git Bash tabs while this is happening — each additional tab compounds the problem, and eventually all Git Bash tabs (including previously-working ones) stop responding entirely.
- Clicking the "x" to close a stuck tab shows "You have 1 process running in this tab" → "Show running processes" reveals it's stuck on the very first line of Warp's init script:
command -p stty raw;HISTCONTROL=ignorespace;... - Live per-process CPU sampling (Get-Counter) confirms each stuck tab's
bash.exe --noprofile --norcprocess pins 100% of one logical CPU core indefinitely and never returns.
Expected behavior
Git Bash tabs should start in 1-2 seconds, same as before this Warp version, same as PowerShell/WSL tabs in the same Warp window, and same as native git-bash.exe launched outside Warp — without pinning any CPU core.
Screenshots, videos, and logs
Operating system (OS)
Windows
Operating system and version
Windows 11 Pro 10.0.26200
Shell Version
No response
Current Warp version
No response
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Activity
warp-for-oss commentedon Aug 29, 2026
@aslan-py
Here's what I found while triaging this issue:
This appears to be a Windows-only Git Bash startup regression in Warp's MSYS2/ConPTY shell bootstrap path. The current evidence is strong enough to route as a reproducible bug; the
bash plugin detectionchangelog entry is a useful regression-window clue, but the report points to an earlier hang at the initial raw-mode bootstrap command.I have a few follow-up questions before I can narrow this down:
Reply in-thread with those details and the triage workflow will automatically re-evaluate the issue and update the diagnosis, labels, and next steps.
Maintainer details
I concluded that windows Git Bash startup regressed in v0.2026.08.26.17.59.stable_01, hanging at Warp's injected
stty rawbootstrap command while each tab's bash process pins one CPU core..Triage summary
This looks like a Windows-specific Git Bash/MSYS2 startup regression in Warp's shell bootstrap path. The report is unusually detailed: it identifies the affected Warp build, Windows and Git for Windows/MSYS2 versions, the
bash.exe --noprofile --norcchild process, the first stuck bootstrap command, screenshots, and per-process CPU behavior.Reproduction confidence
High. The issue is isolated to Warp's Git Bash session path, with native Git Bash, PowerShell, and WSL reported as unaffected. The exact environment and reproduction path are specific enough to route without waiting for generic environment details.
Likely area
Current code routes Git Bash through the MSYS2 shell starter and starts it with
--noprofile --norc(crates/warp_terminal/src/local_tty/shell.rs). For MSYS2/Zsh shells,TerminalManager::enqueue_init_scriptsends the init script before PTY creation (app/src/terminal/local_tty/terminal_manager.rs). The Bash init script begins withcommand -p stty rawand then emits InitShell metadata (app/assets/bundled/bootstrap/bash_init_shell.sh). On Windows that path runs through the ConPTY-backed PTY implementation (crates/warp_terminal/src/local_tty/windows/mod.rsandcrates/warp_terminal/src/local_tty/windows/conpty_api.rs).The best current hypothesis is a regression in the Windows ConPTY/MSYS2 raw-mode/startup handoff or queued init-script behavior. The nearby bash plugin detection change affects
shell_pluginsin the later Bootstrapped payload (app/assets/bundled/bootstrap/bash_body.sh), so it is worth checking in the regression window, but the report's observed hang occurs earlier atstty rawand does not by itself prove plugin detection is the cause.Duplicate check
I enumerated all open issues and then narrowed exact searches for
Starting Git Bash,stty raw,--noprofile --norc,Git Bash+ CPU/hang,MSYS2+ Windows bash, and ConPTY/Windows PTY CPU reports. The closest candidates describe different surfaces such as Linux command hangs, Claude Code large-output CPU/crash behavior, SSH MSYS2 wrapper failures, or WSL rendering slowness. I did not find two or more open issues that meet the duplicate threshold for this specific Git Bash startup hang.Suggested next diagnostics
Warp logs from immediately after opening a stuck Git Bash tab would help confirm whether the client sees a PTY/bootstrap event-loop error, and clarifying whether a single tab eventually recovers or remains permanently stuck would help distinguish slow startup from a hard hang.
Question reasoning
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
aslan-py commentedon Aug 29, 2026
Attached the redacted logs (warp-logs.zip)
Regarding the second question: for a single new Git Bash tab, it does eventually finish — it takes roughly 30–40 seconds every time, rather than hanging indefinitely. It's consistently slow to start, not a permanent hang.
warp-logs.zip
warp-for-oss commentedon Aug 29, 2026
@aslan-py
Here's what I found while triaging this issue:
Thanks for the logs — they corroborate repeated slow Git Bash bootstrap failures in Warp. Based on the follow-up, this looks like a consistent ~30-40s Git Bash startup delay for a single new tab that can cascade into much worse CPU usage/unresponsiveness when several Git Bash tabs are opened, rather than a permanent single-tab hang.
Maintainer details
I concluded that windows Git Bash tabs in Warp v0.2026.08.26.17.59.stable_01 consistently spend ~30-40s in bootstrap on
stty rawwhile each spawned bash process pins one CPU core, with logs corroborating repeated slow bootstrap failures..Triage summary
This is a high-confidence Windows Git Bash startup performance regression in Warp. The reporter is on Warp v0.2026.08.26.17.59.stable_01 for Windows, Windows 11 Pro 10.0.26200, and Git for Windows 2.55.0.windows.5; new Git Bash tabs started by Warp get stuck on the first injected bootstrap command (
command -p stty raw) while the spawnedbash.exe --noprofile --norcprocess pins one logical CPU core. The follow-up clarifies that a single tab usually completes after roughly 30-40 seconds, but opening several tabs compounds the CPU usage and can make existing Git Bash tabs unresponsive.Evidence
git-bash.exeare not affected.Starting direct shell process: \"C:\\Program Files\\Git\\usr\\bin\\bash.exe\"entries and repeatedBootstrapping failed for shell \"unknown\" on ssh falsewarnings around the reported attempts, which matches the slow-bootstrap banner path.Likely affected code
crates/warp_terminal/src/local_tty/shell.rsspecial-cases MSYS2/Git Bash viaShellStarter::MSYS2and starts bash with--noprofile --norc.app/src/terminal/local_tty/terminal_manager.rsinjects the shell init script for MSYS2 before PTY creation.app/assets/bundled/bootstrap/bash_init_shell.shstarts withcommand -p stty rawand uses Windows-ConPTY-specific OSC hook emission for MSYS2.crates/warp_terminal/src/local_tty/windows/mod.rsandcrates/warp_terminal/src/local_tty/windows/conpty_api.rscreate the Windows pseudoconsole, load the bundledconpty.dll, and attach the shell process to it.The reporter's proposed links to bash plugin detection and the bundled
conpty.dllshould be treated as hypotheses. The shell plugin payload change runs later in the bash bootstrap, while the observed stall is at the first injectedstty rawcommand; the ConPTY/MSYS2 bootstrap boundary is the stronger current lead.Duplicate check
I enumerated all 3,827 open issues, excluding pull requests and #15659, and checked recently closed issues since 2026-08-22. Exact and narrowed matches for Git Bash, MSYS2,
stty raw, ConPTY/OpenConsole, startup delay, and CPU spin did not produce two or more likely duplicates; the closest open issues are SSH/MSYS2 or unrelated ConPTY/terminal behavior, not this Git Bash startup regression.Suggested next steps
stty raw, InitShell/Bootstrapped hook receipt, ConPTY reads/writes, and the slow-bootstrap timer.This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
mozex commentedon Aug 30, 2026
A same-version A/B that might save someone time: the trigger here is Git for Windows 2.55.0.windows.5, not Warp's build.
Two boxes on the same Warp,
v0.2026.08.26.17.59.stable_01, both running Kaspersky:Starting direct shell processtoShell is bootstrappedDowngrading Box A to
2.55.0.windows.4fixed it. Same Warp build, untouched, tabs now bootstrap in 2s.Why
.5(2026-08-20) is the release that moved the MSYS2 runtime to Cygwin 3.6.10..1through.4ship 3.6.9. That bump pulled in git-for-windows/msys2-runtime#131, "Cygwin: pty: detect pcon-backed pty for non-Cygwin-spawned children":Warp spawns
bash.exe --noprofile --norcfrom a native Win32 parent into a ConPTY, which is precisely that case. It runs instdio_init(), so it fires during process startup, before any of the bootstrap script. That's why the block sits on the first line sent (command -p stty raw) while the process pins a core.Everything in the bootstrap itself is fast on the affected box:
stty rawin a ConPTY outside Warp 40ms,hostnameandwhoami~25ms,bash -nover the 73 KBbash_body.sh32ms, sourcing/etc/profileplus~/.bash_profile0.29s,bash -lic exit0.27s. Meanwhile a livebash --noprofile --norcchild ofwarp.exehad burned 25s of CPU without reaching a prompt.Workaround
Git for Windows
2.55.0.windows.4: Cygwin 3.6.9, so no PR #131, and unlike.3it still carries the CVE-2026-62960 fix. Thengit config --global update-git-for-windows.autoUpdate false, or the updater pulls.5back.Posting this for the record since it's reproducible from the version numbers alone.
aslan-py commentedon Aug 31, 2026
Confirming the fix suggested by @mozex above — the culprit was Git for Windows 2.55.0.windows.5 (Cygwin 3.6.10 + patch git-for-windows/msys2-runtime#131).
Downgraded to 2.55.0.windows.4 (https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.4) and disabled auto-update:
git config --global update-git-for-windows.autoUpdate false
After that, Git Bash tabs in Warp now start in 1-2 seconds instead of 30-40. This looks like an upstream Git for Windows issue rather than a Warp bug — might be worth re-labeling/tracking this as upstream and waiting for a fix in a newer .windows.N build.
YevheniiKotyrlo commentedon Oct 20, 2026
Git for Windows 2.56.0 ships the fix for the runtime regression behind this, so upgrading is an alternative to going back to 2.55.0(4). The slowdown is the Cygwin 3.6.10 console input path (msys2/msys2-runtime#358: pasting into bash pegs a core), whose fix Git for Windows backported in git-for-windows/msys2-runtime#144.
winget upgrade Git.Gitdoesn't reach it yet, since winget's newest Git.Git is still 2.55.0.5; the installer from the v2.56.0.windows.2 release does.CPU per character typed into an interactive bash, one bash binary with only
msys-2.0.dllswapped, 30 other MSYS processes running:These are console runs, not a Warp tab; I haven't timed a tab on 2.56.0 yet.
YevheniiKotyrlo commentedon Oct 20, 2026
Timed in Warp now, on Git for Windows 2.56.0(2): a Git Bash tab runs its first command 4.1 s after I open it, and four opened together all do within 10.5 s, with 88 other MSYS processes running. The same probe took 102.6 s for one tab and 122 s for four on 2.55.0(5), with 21 and 29 others. Warp also updated from v0.2026.10.07 to v0.2026.10.14 between those runs, so the console comparison above is the one that isolates the runtime.