-
Notifications
You must be signed in to change notification settings - Fork 359
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
dotnet-dump analyze Unhandled exception: System.ArgumentOutOfRangeException: Count cannot be less than zero. (Parameter 'count') #1059
Comments
Hey @smokedog2, quick few questions:
In this case I see that the dump was loaded and we are starting to use the console provider, we are trying to clear the command line to refresh it. We are allocating a string of however many spaces are necessary to fill the console width in here https://github.com/dotnet/diagnostics/blob/master/src/Microsoft.Diagnostics.Repl/Console/ConsoleProvider.cs#L250 @mikem8361 can you think of any reason the console width would be 0 or less? I know if |
First of all, thank you very much for your answers. Host environment: centos7.4 dockerfile: |
I have no idea why Console.WindowWidth <= 0, but maybe the console code should check and not clear the line. This code has been around a long time and haven't seem any problems like this. |
Today my application stopped responding again. I tried to dump the file, but it stuck there while executing the command, and I waited for almost an hour. I also tried the dotnet-counters monitor and it kept loading. This is the resource usage monitored by docker stats Any suggestions? |
It may be due to errors caused by environmental problems, I can analyze the dump on other machines. I will continue to investigate the problem that the program stops responding. |
The text was updated successfully, but these errors were encountered: