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

Stuck in infinite loop #18

Closed
kevingosse opened this issue Jun 17, 2021 · 2 comments
Closed

Stuck in infinite loop #18

kevingosse opened this issue Jun 17, 2021 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@kevingosse
Copy link

Consider this sequence:

C# > interface ITest { public void Test(); }

C# > typeof(ITest).GetMethods()

At this point, dotnet-repl seems to go into some kind of infinite loop and becomes unresponsive while using large amounts of CPU.

@kevingosse
Copy link
Author

I'm not familiar with this code yet, but it looks like it's trying to render a graph of objects that has a loop in it.

@jonsequitur jonsequitur added the bug Something isn't working label Jun 17, 2021
@jonsequitur
Copy link
Owner

This is the same problem as #8. The recursion depth check is not in place like it is in the default .NET Interactive formatters.

@jonsequitur jonsequitur added the duplicate This issue or pull request already exists label Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants