-
Notifications
You must be signed in to change notification settings - Fork 80
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
Segmentation fault when using nmos-cpp through conan package #339
Comments
Hello, I'm seeing the same issue in nmos-cpp-node. The weird thing is that this problem is present only under new ubuntu users, it works fine under users which existed for a long time (and under which nmos node has been run before). It looks like some conan package got updated, so when conan downloads it from scratch nmos-cpp-node starts to fail in Debug and freezes in Release mode. Here is full backtrace of segmentation fault:
Temporary fix which worked out for me: |
A Conan Center Index maintainer frustratingly removed the recipe requirement that the same Boost minor version is used between nmos-cpp and cpprestsdk. Boost does not keep binary compatibility between minor versions and that is known to cause the issue you are seeing. conan-io/conan-center-index#17096 (comment) Please confirm the versions and recipe revisions you are using of Conan itself, nmos-cpp, cpprestsdk, Boost and other dependencies. A possible workaround is to force Conan to build all packages locally, though this significantly reduces the benefit of using Conan. |
I now recommend adopting Conan 2 which is better able to express the nuances of dependencies. There is also a new conan package nmos-cpp/cci.20240223. |
Hello,
I am currently developping a C++ application using the nmos-cpp conan package. I did a really simple node-implementation just to test that my node is up and can connect to my registry.
When I try to run my application I get a segmentation fault at the node server start (when I call
node_server.open().wait();
). It seems it comes from cpp-rest.To quickly check if my code was responsible for this error, I've tried running the nmos-cpp node example present in the official repo with the conan package. I was surprised to also get a segmentation fault. I didn't have the error when running the node implementation example with directly using nmos-cpp source code and not the conan package.
Is the conan package still up to date with the official node implementation ? Is this a known bug ?
If you need more context, I'll be happy to provide any information that should be required.
The text was updated successfully, but these errors were encountered: