Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
mawenyu opened this issue Nov 19, 2024 · 1 comment
Open
1 of 2 tasks
Assignees

Comments

@mawenyu
Copy link

mawenyu commented Nov 19, 2024

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!
@BewareMyPower BewareMyPower self-assigned this Dec 9, 2024
@BewareMyPower
Copy link
Contributor

I cannot reproduce two issues you encountered. Could you share your compiler version, OS and the libraries you used? Did you use the pre-built RPM or DEB packages or just build from source?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants