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

7.0: Stack overflow "ExchangeDeclareAsync" #1444

Closed
Jakimar opened this issue Dec 14, 2023 · 2 comments
Closed

7.0: Stack overflow "ExchangeDeclareAsync" #1444

Jakimar opened this issue Dec 14, 2023 · 2 comments
Labels

Comments

@Jakimar
Copy link

Jakimar commented Dec 14, 2023

Describe the bug

Method ExchangeDeclareAsync in "IChannelExtensions" calling itself instead of underlying method of "ExchangeDeclareAsync" in "IChannel" causing Stack overflow. It's because undelrying method have "passive bool" parameter which does not exist in public one.

Stack overflow.
Repeat 13845 times:

   at RabbitMQ.Client.IChannelExtensions.ExchangeDeclareAsync(RabbitMQ.Client.IChannel, System.String, System.String, Boolean, Boolean, System.Collections.Generic.IDictionary`2<System.String,System.Object>)

Reproduction steps

call ExchangeDeclareAsync

Expected behavior

Method complete succesefully

Additional context

No response

@Jakimar Jakimar added the bug label Dec 14, 2023
@Jakimar
Copy link
Author

Jakimar commented Dec 14, 2023

I can see it's already fixed in #1431, closing issue

@Jakimar Jakimar closed this as completed Dec 14, 2023
@lukebakken
Copy link
Contributor

Please see this upcoming release - packages will be available in the next hour or so:
https://github.com/rabbitmq/rabbitmq-dotnet-client/releases/tag/v7.0.0-alpha.2

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

No branches or pull requests

2 participants