Skip to content

[Bug] Close Consumer Cause Signal 11 SIGSEGV (Segmentation Fault) #453

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、use key_shared subscription and message listener to receive message
2、close consumer in another thread;

What did you expect to see?

consumer close correctlly

What did you see instead?

Signal ID:11 Pid:368
Time:1731059617
/opt/lib/libpulsar.so(_ZNK6pulsar7Message9getLengthEv+0x20)[0xffff30ce6f40]
/opt/lib/libpulsar.so(+0x2110f0)[0xffff30d030f0]
/opt/lib/libpulsar.so(+0x21547c)[0xffff30d0747c]
/opt/lib/libpulsar.so(+0x222ee4)[0xffff30d14ee4]
/opt/lib/libpulsar.so(_ZN5boost4asio6detail18completion_handlerISt8functionIFvvEENS0_10io_context19basic_executor_typeISaIvELm0EEEE11do_completeEPvPNS1_19scheduler_operationERKNS_6system10error_codeEm+0x78)[0xffff30ccb6a8]
/opt/lib/libpulsar.so(_ZN5boost4asio6detail9scheduler3runERNS_6system10error_codeE+0x37c)[0xffff30c3108c]
/opt/lib/libpulsar.so(+0x1cfae8)[0xffff30cc1ae8]
/opt/lib/libpulsar.so(+0x4d4f34)[0xffff30fc6f34]

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

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