-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Package precompilation suddenly hangs on 1.5.4 without direct code changes #40457
Comments
This could be due to changes in |
* Pins ArrayInterface at 3.1.6 * Bump to 0.56.1 * Update Project.toml * Update compat for ArrayInterface to "3.1.6" * Actually specify strict compat for ArrayInterface at 3.1.6
I can confirm pinning ArrayInterface to 3.1.6 fixes this locally. |
The newly released ArrayInterface 3.1.9 also fixes this, will close this issue now. To summarize, a small interface package, ArrayInterface, used indirectly by many different packages quietly introduced a bug (only on Julia 1.5) that caused a hang of Julia. For the package authors involved it was not possible to directly determine what (package) caused the hang. |
As of a week ago, without code changes, package(s) hang on precompiling on 1.5.4. Julia 1.6.0 works fine.
The package in question is SpaceLiDAR.jl. The behavior can be replicated on the downstream package of GeoArrays.jl. Of interest is the CI build here: https://github.com/evetion/GeoArrays.jl/actions/runs/706154210 which was green two weeks ago, but when I now restart it, it will hang and timeout eventually (no code changes). The CPU usage is 100% for the Julia process.
If you interrupt the process with
CTRL-C
you get:After the interrupt and exiting Julia there's still a Julia process active taking 100%(!):
If I kill that process with a SIGTERM, I get:
I've tried to compare package dependency differences, but didn't find any direct dependencies that changed that would explain the behavior. Asking around in Slack, we found similar behaviour (CI timeout while precompiling) at CliMA/Oceananigans.jl#1561, that started happening around the same time. The only overlap is
ChainRulesCore 0.9.37
, but when I pin a lower version for GeoArrays (https://github.com/evetion/GeoArrays.jl/pull/69/checks?check_run_id=2330978888), it still hangs.There's a lot going on, not sure what is relevant and what not. I'd like to replicate and pinpoint this a bit better, but I'm at a loss on how to tackle this.
The text was updated successfully, but these errors were encountered: