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

make Callback_Data mutable #142

Merged
merged 1 commit into from
Mar 28, 2020
Merged

Conversation

JeffBezanson
Copy link
Contributor

The interop here depends on Callback_Data objects being heap allocated with stable addresses, so they need to be mutable. I believe this should be backwards-compatible, but will be necessary in the future (JuliaLang/julia#34126).

@stevengj stevengj merged commit 9e6daa0 into jump-dev:master Mar 28, 2020
@JeffBezanson
Copy link
Contributor Author

JeffBezanson commented Apr 2, 2020

Thanks for merging. It would be great to have a released version with this so we can start getting clean PkgEval runs (and so people's code won't crash in julia 1.5!).

Keno added a commit to JuliaRegistries/General that referenced this pull request May 18, 2022
On Julia 1.5+, NLOpt versions before jump-dev/NLopt.jl#142 cause silent memory corruption.
Unfortunately, there are (older, unmaintained) packages in the Julia ecosystem that pin NLOpt 0.5, so they show up
as random failures in PkgEval. Try to improve the situation by explicitly marking the compatibility to prevent
installation of those older packages on recent Julia versions.
DilumAluthge pushed a commit to JuliaRegistries/General that referenced this pull request May 19, 2022
On Julia 1.5+, NLOpt versions before jump-dev/NLopt.jl#142 cause silent memory corruption.
Unfortunately, there are (older, unmaintained) packages in the Julia ecosystem that pin NLOpt 0.5, so they show up
as random failures in PkgEval. Try to improve the situation by explicitly marking the compatibility to prevent
installation of those older packages on recent Julia versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants