-
Notifications
You must be signed in to change notification settings - Fork 880
StackOverflowException: new Error() #1249
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
Comments
i took a quick look at the code and didn't see how this was possible. thanks for the code snippet - will investigate. |
@mhowlett I'm encountering this same issue when making calls to IProducer<>.SendOffsetsToTransaction() after my transaction has timed out and I get an old Epoch error right before the stack overflow. confluent-kafka-dotnet/src/Confluent.Kafka/Impl/LibRdKafka.cs Lines 1299 to 1301 in 98f019a
error_destroy is calling itself instead of the private _error_destroy resulting in the stack overflow. I'd be happy to put in a PR for this just let me know. |
cool, thanks! we're doing a v1.4.4, i'll include this fix. feel free to open a pr if you want (or not, doesn't matter). |
I'll leave it to you then thanks. |
resolved in 1.4.4-RC1 |
Uh oh!
There was an error while loading. Please reload this page.
Description
In at least one situation, Error(IntPtr error) ctor causes a StackOverflowException. For my specific case, it was because the TransactionTimeout was set to a value that was too large.
Client Version: 1.4
OS: Windows 10
Stack Trace:
How to reproduce
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: