close
Skip to content

Fix a deadlock during cooked reads#19994

Merged
DHowett merged 2 commits into
mainfrom
dev/lhecker/19922-cooked-deadlock
Mar 19, 2026
Merged

Fix a deadlock during cooked reads#19994
DHowett merged 2 commits into
mainfrom
dev/lhecker/19922-cooked-deadlock

Conversation

@lhecker
Copy link
Copy Markdown
Member

@lhecker lhecker commented Mar 19, 2026

Closes #19922

Validation Steps Performed

  • The repro now works as expected ✅
    (CreatePseudoConsole({1,20}) + WriteFile("キ"))

Comment thread src/host/readDataCooked.cpp Fixed
@github-actions

This comment has been minimized.

@DHowett DHowett enabled auto-merge (squash) March 19, 2026 16:07
@DHowett DHowett merged commit ddf514e into main Mar 19, 2026
20 checks passed
@DHowett DHowett deleted the dev/lhecker/19922-cooked-deadlock branch March 19, 2026 17:31
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.24 Servicing Pipeline Mar 30, 2026
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.25 Servicing Pipeline Mar 30, 2026
DHowett pushed a commit that referenced this pull request Mar 30, 2026
Closes #19922

## Validation Steps Performed
* The repro now works as expected ✅
  (`CreatePseudoConsole({1,20})` + `WriteFile("キ")`)

(cherry picked from commit ddf514e)
Service-Card-Id: PVTI_lADOAF3p4s4BBcTlzgn2sRY
Service-Version: 1.24
DHowett pushed a commit that referenced this pull request Mar 30, 2026
Closes #19922

## Validation Steps Performed
* The repro now works as expected ✅
  (`CreatePseudoConsole({1,20})` + `WriteFile("キ")`)

(cherry picked from commit ddf514e)
Service-Card-Id: PVTI_lADOAF3p4s4BQX0-zgn2sRU
Service-Version: 1.25
@DHowett DHowett moved this from Cherry Picked to Shipped in 1.24 Servicing Pipeline Apr 30, 2026
@lhecker lhecker added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue-Bug It either shouldn't be doing this or needs an investigation.

Projects

Status: Cherry Picked

Development

Successfully merging this pull request may close these issues.

ConPTY hangs or enters infinite loop when writing a 2-column character to a 1-column wide terminal

3 participants