apache / apache/pulsar-client-cpp

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

Đang mở
#453 1 bình luận 0 reaction 1 người được giao Được @BewareMyPower nhận Xem trên GitHub
Ngôn ngữ chính
C++
Star
71
Fork
90
Merge trung bình
2 giờ 33 phút
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.