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

Fix pyrealsense2 crash when importing other pybind11 created modules #8570

Merged
merged 3 commits into from
Mar 14, 2021

Conversation

Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented Mar 14, 2021

Pybind's ABI is made up of compiler type among other things, but not compiler version -- so two modules with pybind compiled with VS 2019 and VS 2015 would generate the same ABI and pybind will try to share resources, crashing Python.
(see pybind/pybind11#2898)

This forces a unique ABI version that won't be shared.

Tracked on [ RS5-10582 ]

@maloel maloel merged commit 0664939 into IntelRealSense:development Mar 14, 2021
maloel added a commit that referenced this pull request Mar 14, 2021
@Nir-Az Nir-Az deleted the fix_pybind branch April 8, 2021 16:27
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

Successfully merging this pull request may close these issues.

2 participants