-
Notifications
You must be signed in to change notification settings - Fork 237
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
Use Pybind11's CMake code #667
Conversation
Here is the full backtrace for the Segfault happening on macOS:
Here is the site of the fault. The test passes when |
I think that the changes presented here are only making the race more likely, and are not directly causing the fault. I even had the test complete successfully once during my local testing. I have a hunch that resolving the issue presented by #663 will make the tests pass here. |
#674 should work around the problem and unblock this PR. The problem isn't specific to macOS, we just got lucky on the other platforms. |
a11af4b
to
850e84b
Compare
850e84b
to
531d36e
Compare
Rebased now that #674 is merged. I think green CI and an approving review is all this needs. CI (build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor things.
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> Co-authored-by: Scott K Logan <logans@cottsay.net> Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
c04dc58
to
674b02c
Compare
Ran |
I'm not sure about this, but I'm guessing this PR caused failures on Windows debug in CI: https://ci.ros2.org/view/nightly/job/nightly_win_deb/1899/console |
Part of #665
This uses Pybind11's CMake code to build the CPython extensions. Once this is merged, every module will be able to use Pybind11.