-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Julia v1.11.3 and v1.10.8 stalling precompilation with [email protected] #57152
Comments
Precompilation via
|
Some possibly useful questions that come to mind:
|
I do test this with a completely empty Julia package depot every time, of course.
It does now, interestingly, with [email protected], which was released about an hour ago. But I can perfectly reproduce it with [email protected]. Stalls forever on Julia v1.11.3, with 100% CPU load:
Done in a few seconds:
While the problem is "gone" now with [email protected], I think it should still be investigated, given that Julia v1.11.2 and lower has no problem with [email protected]. The difference is the commit davidavdav/GaussianMixtures.jl#115 which addresses the stalled-precompilation issue, but it doesn't look like the code was "incorrect" before - it's more like an empirical workaround. To to me it looks more like some compiler bug that triggered before somehow but isn't triggered after the changes. @BenCurran98 mentions in that PR that Julia v1.10.8 is also affected, while v1.10.7 seems to have been fine. |
Most helpful here would be a bisect that would find the commit that introduced the stall. |
Sorry, don't have the tooling set up to do a quick bisect. But I can reproduce the stalling-precompilation issue with Julia v1.11.3 and [email protected] on macOS (arm64-apple-darwin24.0.0) as well. |
It's #56640 |
I guess better wait until it's fixed |
Oh, sorry - #56640 was the cause, not the fix - my bad. :-) |
I haven't found the MWE, but backporting #56007 fixes this locally. |
Closing since the fix is marked for backporting. |
Thanks again! |
With Julia v1.11.3 (official binaries, tested on Ubuntu 22.04), precompilation of GaussianMixtures.jl stalls:
never finishes, but also show no errors (fresh Julia installation, starting with and empty package depot).
Everything is fine with Julia v1.11.2 and lower, so maybe some compiler bug in Julia v1.11.3?
System info:
The text was updated successfully, but these errors were encountered: