-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
MethodError: no method matching active_module()
(leading to world age error), on Julia 1.11
#54780
Comments
It looks like there was an issue with #46866, where is wrongly used |
Note that the thing this generated function may be doing (string-ify a Type) may be causing UB as well, since that operation accesses a significant amount of non-constant global state (to pretty-ify the result), which may trigger arbitrary UB. |
This doesn't seem to happen now in ClimaCore --- did you work around it? Still needs to be fixed, just checking. |
I didn’t do anything specifically, no 🤷🏻♂️, but you’re right in that the error doesn’t seem to be showing up anymore. |
If it's helpful, I could open a pull request in ClimaCore that reverts to the last commit where we saw the error. |
Yes that would be helpful, thanks. |
Alright, I opened CliMA/ClimaCore.jl#1904, let's see what happens. Hm, it needs some fixes due to changes in upstream packages, I'll keep pushing fixes so long they're simple, and see if we can reproduce it. I'll comment on this issue again once it's working. Out of the office tomorrow, though, so I may not get back to it until Monday. |
I'm seeing this error as well in https://github.com/arviz-devs/PosteriorStats.jl/blob/176faa772079c1e57b35fe6c5aa2aeb965de2354/src/summarize.jl#L404-L408. An example CI log is https://github.com/arviz-devs/PosteriorStats.jl/actions/runs/10247536730/job/28346942153#step:11:496 I don't have the nightly installed, but this should reproduce the error: using PosteriorStats, Statistics, Test
x = randn(1_000, 4, 3)
stats1 = @inferred PosteriorStats.summarize(x, mean, std, median) |
While we will likely look into fixes for this in some contexts, note that calling |
Good to know, I've been struggling to get our reproducer working again since there seem to be a bunch of required changes in the way. |
Should be fixed by #55316 |
We're seeing an odd MethodError on Julia 1.11 in ClimaCore CI (here):
This same code works on Julia 1.10.
The text was updated successfully, but these errors were encountered: