-
-
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
World age issue when precompiling and redirecting the logger stream #28042
Comments
This is a relatively recent regression; I can't repro this on
|
Perhaps related to some of @StefanKarpinski's recent code-loading changes? |
None of my changes should affect anything world-age-related. Maybe #27549? |
Regression seems to have occurred sometime between
and
but that's all the bisecting I'm gonna do today. Edit: 027e344 seems kinda relevant judging by the commit message. |
Ah yes, #27894 is actually what I meant to find above. |
Indeed, A trivial fix would be to change Line 1173 in 3791357
Line 1175 in 3791357
println s
|
Ah, yes. We might need to revert that commit, or at least make it only applicable inside the precompile process children |
Should that commit be reverted or is there a solution that keeps the performance improvements and doesn't break things, @JeffBezanson? |
See JuliaLang/IJulia.jl#677.
IJulia
sets the global logger with its own stream which causes the following during precompilation of a package:Here is another repro from @pfitzseb:
The text was updated successfully, but these errors were encountered: