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

[C++] Fix multitopic consumer segfault on connect error #7588

Merged
merged 3 commits into from
Jul 24, 2020

Conversation

merlimat
Copy link
Contributor

Fixes #7577

Motivation

The multi-topic consumer is triggering a segfault when there's an error in creating the consumer. This is due to the calls to close the partial consumers with a null callback.

@merlimat merlimat added type/bug The PR fixed a bug or issue reported a bug component/c++ release/2.6.1 labels Jul 18, 2020
@merlimat merlimat added this to the 2.7.0 milestone Jul 18, 2020
@merlimat merlimat self-assigned this Jul 18, 2020
@jiazhai
Copy link
Member

jiazhai commented Jul 18, 2020

/pulsarbot run-failure-checks

@merlimat merlimat merged commit 09caa92 into apache:master Jul 24, 2020
@merlimat merlimat deleted the fix-cpp-subscribe-error branch July 24, 2020 17:08
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Jul 25, 2020
jerrypeng pushed a commit to jerrypeng/incubator-pulsar that referenced this pull request Jul 28, 2020
wolfstudy pushed a commit that referenced this pull request Jul 29, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/2.6.1 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConnectError throws std:bad_function_call and kills program with SIGABRT
2 participants