-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Process terminated. Infinite recursion during resource lookup within System.Private.CoreLib #53504
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @tannergooding Issue DetailsHi, We've started receiving some very odd exceptions on our production environment today, which took our production application down for a short while. "Process terminated. Infinite recursion during resource lookup within System.Private.CoreLib. This may be a bug in System.Private.CoreLib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names. Resource name: Argument_InvalidResourceCultureName" We're not sure what caused this or how to reproduce this issue, but it looks as if some incoming JSON managed to take down the entire application. The relevant stack trace:
|
CC. @tarekgh, it looks like this is throwing some other exception and then that this line itself fails because |
@tannergooding this failure usually indicate something else seriously failed and the real problem is not the resource lookup. Here is some example of that grpc/grpc-dotnet#1193. I don't think such issue will be actionable till we get a debugger dump. |
Right, but we are also masking the actual exception by throwing this one. I feel like we need to at least fix this so its not a guaranteed failure when we get to this state and to also preferably provide better information about what the original resource failure was. That will help make these issues easier to diagnose in the future, since we'll get the actual failure shown. |
Thanks guys, I strongly agree with @tannergooding, |
We already know from the stack that @effyteva is there a way in that container you can dump the value of
And how you'll get the English exception in the first place? it is still in the resources. we know where the exception is thrown already. |
@tarekgh |
BTW, How do you think an invalid CultureName managed to be set into the CultureInfo.CurrentUICulture? |
We depend on the ICU library to read the default Culture.
Is there a way from your side to add more logging so if you hit this issue again, we can have more info? |
I think so, |
This issue has been automatically marked |
Hi,
We've started receiving some very odd exceptions on our production environment today, which took our production application down for a short while.
We're using the latest ASP.NET 5.0 docker image (Debian). Our software is updated many times a week, and don't believe this has anything to do with the latest ASP.NET core release.
"Process terminated. Infinite recursion during resource lookup within System.Private.CoreLib. This may be a bug in System.Private.CoreLib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names. Resource name: Argument_InvalidResourceCultureName"
We're not sure what caused this or how to reproduce this issue, but it looks as if some incoming JSON managed to take down the entire application.
The relevant stack trace:
The text was updated successfully, but these errors were encountered: