-
Notifications
You must be signed in to change notification settings - Fork 66
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] SampleAsyncProducer causes core dump #435
Comments
Please provide more info:
|
The OS isTencentOS developed based on centos |
Oh, this issue can be reproduced. Assigned it to me first.
|
It seems to be the libstdc++ incompatibility in GCC 4.8. It should already be fixed by #428. Could you try the RPM packages in https://github.com/BewareMyPower/pulsar-client-cpp/actions/runs/9535942883 |
Oh, I use the new pre-built libraries you gave https://github.com/BewareMyPower/pulsar-client-cpp/actions/runs/9535942883
Here are my compilation options:
|
It's suspicious about the path BTW, could you try building in release mode? |
I can build in release mode,but the same error occurs when it runs
it looks relatively normal |
This binary links so many unrelated dynamic libraries. Most of them are from libcurl and OpenSSL. Which library did you use? Currently, it would be better to link Besides, what is your compiler toolchain? Generally, if you're building directly via |
I use libpulsar.so from https://github.com/BewareMyPower/pulsar-client-cpp/actions/runs/9535942883, |
Yeah it's right. So I believe it's something wrong with your Bazel project. I have experiences with Bazel a few years ago. Could you share a minimum reproducible Bazel project? |
why the lib/Commands.cc include <pulsar/Version.h> ,but There is no such file |
This header was generated by CMake: pulsar-client-cpp/CMakeLists.txt Line 56 in 2a69168
|
Search before asking
Version
pulsar cpp client 3.5.1
Minimal reproduce step
run the example: SampleAsyncProducer.cc
What did you expect to see?
it will produce the messages
What did you see instead?
it will have the coredump
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: