-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thread ID reported incorrectly in procfs #967
Comments
Thanks, @ericeil for reporting this. I have opened a bug at our end to track this, which should get auto-triaged. |
I have checked in a fix for this. |
@misenesi How/when should we expect to see the effects of your fix? |
@CIPop - I would say ~2 weeks if I had to guess. Since you're also a Microsoft employee I'm sure you can relate to how hard it can be to track when things reach Insider builds. Shoot me a mail and I can tell you which internal branch the fix is in. |
This should be fixed on build 14986 out today. |
On rs_preview build 14905:
The per-thread "stat" files under /proc seem to report the "pid" differently from Linux. For example, if I have a process with pid 57003, containing thread 57004, on Linux I see this:
Note that the first field in the "stat" file is "57004", which is the thread ID, not the process ID.
On Windows, the per-thread "stat" file seems to report the process ID in this field, when it should be the thread ID.
FWIW, this is causing some .NET Core tests to fail, due to System.Diagnostics.Process making use of the contents of these files.
The text was updated successfully, but these errors were encountered: