Skip to content

[Bug] getPartitionsForTopic Cause Signal 11 SIGSEGV (Segmentation Fault) #454

Open
@mawenyu

Description

@mawenyu

Search before asking

  • 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions