-
Notifications
You must be signed in to change notification settings - Fork 44
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
class on free aborts on invalid pointer #83
Comments
Yeah, This is documented there: https://docs.rs/cpp/0.5.5/cpp/macro.cpp_class.html#relocatable-classes Perhaps the documentation should be more explicit, or extra warning should be in order. |
I decided to test this out on OSX and Windows. Interestingly both Windows and OSX did not have the issue. |
This depends on the implementation of the standard library. |
Hi, out of curiosity, why |
Internally it is returned from the |
Using the cpp_class! macro with a simple class aborts on freeing the resource. This is happening on Ubuntu 1804. Code snippet reproducing the issue:
The text was updated successfully, but these errors were encountered: