`MapWindowsToCygwin` returns Windows path
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by tracing MapWindowsToCygwin and its call to LaunchCygPathAndReadResult, focusing on the five-second timeout path described in the issue. Reproduce or inspect the failure behavior and make completion mean that a timeout produces a proper error instead of returning the original Windows path.
Written by the indexing model from the issue text.
Description
Another issue like #1418 that can cause wrong paths to be returned from MapWindowsToCygwin.
If LaunchCygPathAndReadResult fails, due to the five second timeout, MapWindowsToCygwin will return the original Windows path. This happened to a coworker of mine because the name resolution to our domain controller is sometimes extremely slow, which causes the startup of many Cygwin programs to take a lot longer than usual.
The symptom was an error message when launching the debugger. It will read somewhat like this:
GDB failed with message:
C:Dir1Dir2PathToTheExecutable: No such file or directory.
I'd like to receive a proper error when LaunchCygPathAndReadResult times out. It took us a lot of time and digging around to figure out why GDB was reporting such a path, only to find out that, ultimately, the MIEngine was the root cause for this error.
- Dominant language
- C#
- Stars
- 859
- Forks
- 233
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/MIEngine
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
question
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
All issues in microsoft/MIEngine
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·