PowerShell / PowerShell/Win32-OpenSSH

Worker thread hangs when it attempts to print an error message

Open
#1,424 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

I happened to notice this core problem of #1330 that makes ssh.exe hang.

"OpenSSH for Windows" version
7.7.2.0 (v7.7.2.0p1-Beta, x64)

Server OperatingSystem
Unknown (github.com)

Client OperatingSystem
Windows 10 Pro Version 1903 Build 18362.239

What is failing
A worker thread hangs when it attempts to print an error message.

Expected Behavior
ssh.exe doesn't hang.

Actual Behavior
ssh.exe hangs.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the related issue #1330 and reproduce the hang in ssh.exe on the reported Windows environment. Trace the worker thread when it attempts to print the error message; done means ssh.exe no longer hangs and the relevant failure behavior is covered by an appropriate test or reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.