rust-lang / rust-lang/ssh2-rs

channel::shell() test occasionally deadlocks on MacOS

Open
#303 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
566
Forks
163
Avg merge
4h 51m
Merged PRs (30d)
2

Description

The shell() test in tests/all/channel.rs tends to deadlock on MacOS. I'm 99% certain that this is a combination of a MacOS and libssh2 issue, and not caused by this crate, but I can provide a work-around.

Contributor guide

No contributing guide indexed for this repository

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 with the shell() test in tests/all/channel.rs and reproduce the occasional deadlock on MacOS. Investigate whether the behavior is specific to MacOS and libssh2; done means the test no longer deadlocks or the issue has a documented, verified workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
operating-systems, testing
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.