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

Recursive client code (Stack Overflow) causes stateless service to crash without any sensible error or exception #342

Open
esbenbach opened this issue Aug 8, 2022 · 1 comment

Comments

@esbenbach
Copy link

Describe the bug
Given a stateless .NET 6 service with a recursion bug, service fabric seems to do "something" causing the service to crash and get restarted without any sensible error reporting.

Attaching the debugger shows an "Access Violation" message in the output, but no sane amount of toggling exception options on gives information about the underlying "StackOverflowException".

To Reproduce
Create a simple stateless service and cause a recursion bug.
An minimal reproduction is attached with a console app that behaves correctly using the same "buggy code".

AccessViolationIssue.zip

Expected behavior
Some indication of the underlying exception should be provided in logs, events or whatever.

@esbenbach
Copy link
Author

poke anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant