pulsar-client-cpp
pulsar-client-cpp copied to clipboard
[Bug] getPartitionsForTopic Cause Signal 11 SIGSEGV (Segmentation Fault)
Search before asking
- [X] I searched in the issues and found nothing similar.
Version
CPP Client: 3.6.0 pulsar broker: 3.0.4
Minimal reproduce step
1、create pulsar client 2、invoke client getPartitionsForTopic to get partition
What did you expect to see?
can get partition correctlly
What did you see instead?
Signal ID:11 Pid:920 Time:1731978465 /opt/lib/libpulsar.so(_ZN6pulsar6Client26getPartitionsForTopicAsyncERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvNS_6ResultERKSt6vectorIS6_SaIS6_EEEE+0x10)[0xffff17ac16d8] /opt/lib/libpulsar.so(_ZN6pulsar6Client21getPartitionsForTopicERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS6_SaIS6_EE+0xd8)[0xffff17ac5df0]
Anything else?
This issue does not occur every time; it happens only with a certain probability.
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!