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

Crash on Android when invoking the copy assignment operator of 'shared_library' #52

Open
RazvanAM opened this issue Aug 2, 2021 · 0 comments

Comments

@RazvanAM
Copy link

RazvanAM commented Aug 2, 2021

When invoking the copy assignment operator (or the copy constructor) of the 'shared_library' class, eventually there is a call to 'boost::dll::detail::path_from_handle'. On android this call ends up dereferencing the handle returned by 'dlopen', which is not allowed since this patch: https://android.googlesource.com/platform/bionic/+/ae74e87%5E!/.

As a side-note, I believe the 'BOOST_OS_ANDROID' macro is not longer used.

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

1 participant