apache / apache/pulsar-client-cpp

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

未关闭
#453 1 条评论 0 个 reaction 已指派 1 人 已被 @BewareMyPower 认领 在 GitHub 查看
主要语言
C++
星标
71
派生
90
平均合并
2 小时 33 分钟
30 天内合并 PR
3

描述

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar-client-cpp/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!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。