Skip to content
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

Printing to console at the same time as selecting text causes deadlock #185

Closed
LunarLambda opened this issue May 19, 2018 · 6 comments
Closed
Labels
Work-Item It's being tracked by an actual work item internally. (to be removed soon)
Milestone

Comments

@LunarLambda
Copy link

LunarLambda commented May 19, 2018

Microsoft Windows [Version 10.0.16299.431]
2018-05-19_23-34-36
Attempting to print text to the console and selecting text at the same time causes a deadlock.

@LunarLambda LunarLambda changed the title Printing to console at the same moment as opening a menu causes deadlock Printing to console at the same moment as selecting text causes deadlock May 19, 2018
@LunarLambda LunarLambda changed the title Printing to console at the same moment as selecting text causes deadlock Printing to console at the same time as selecting text causes deadlock May 19, 2018
@zadjii-msft zadjii-msft added this to the RS5 milestone May 21, 2018
@zadjii-msft zadjii-msft added the Work-Item It's being tracked by an actual work item internally. (to be removed soon) label May 21, 2018
@miniksa
Copy link
Member

miniksa commented Jun 6, 2018

What is b? Which API is it calling?

@LunarLambda
Copy link
Author

@miniksa basically while (true) puts("hi");

I also tested it with std::cout, and also WriteConsole directly.

@miniksa
Copy link
Member

miniksa commented Jun 6, 2018

OK. Sometimes they back-end on different functions on our side. I'll whip up a little utility and try this out. Thanks.

@miniksa
Copy link
Member

miniksa commented Jun 6, 2018

Hmmm, not happening for me on 17686. Let me go stand up a 16299 image and see if it happens.

@miniksa
Copy link
Member

miniksa commented Jul 16, 2018

Not repro on 17718 (RS5 Insiders Build).
Not repro on 17134.1 (RS4 release).
Not repro on 16299.431 (RS3 release).

Please reactivate if you can provide the actual source code for "b" that makes this repro.

@miniksa miniksa closed this as completed Jul 16, 2018
@LunarLambda
Copy link
Author

LunarLambda commented Jul 20, 2018

Doesn't repro on my machine anymore (10.0.17134.112)

The code was

#include <stdio.h>

int main()
{
    while (1)
    {
        printf("hi");
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Work-Item It's being tracked by an actual work item internally. (to be removed soon)
Projects
None yet
Development

No branches or pull requests

3 participants