-
Notifications
You must be signed in to change notification settings - Fork 130
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
GC crash while allocating GAP object #1283
Comments
Maybe we need new binaries again. Bisect points to JuliaLang/julia#42302:
This PR seems to have modified a few internal datastructures. |
Crash also happens for PR #1281 in Julia nightly, both for Linux and for macOS. There was one recent Julia PR merged affecting a part of the GC specifically made for us, but I don't see how it could be related. Another idea is that some recent Julia PRs changed the layout of |
To be more precise, that PR added a new |
@benlorenz yeah I had my eyes on that one, too. But I do not yet understand how; I tried hard to get rid of all references inside Julia structs (I wish Julia split Anyway: that patch also added globale variables before |
OK, we access member I'll update GAP then GAP_jll -- no need to update libjulia_jll for this just now |
Sorry about that folks. Please be aware that there will likely be further changes to |
With JuliaPackaging/Yggdrasil#4844 the GAP kernel code no longer directly access members of any structs in I'll next investigate the code in JuliaInterface; there we are using the |
GAP_jll v400.1192.2+0 is now in the registry and should fix this, so I am closing. Of course reopen if it happens again even with the new version... |
This seems to have broken the tests for julia 1.7 on macos with a similar backtrace: https://github.com/oscar-system/Oscar.jl/runs/6208242212?check_suite_focus=true
cc: @lkastner |
Huh, in Julia 1.7? That's really strange. I have no clue at all what could cause that sigh. But of course I'll take a look. |
I can reproduce this on munk with the aarch julia 1.7 as well and it started with the new binaries: (Oscar) pkg> add GAP_jll@400.1192.1
Resolving package versions...
Installed GAP_jll ─ v400.1192.1+0
Downloaded artifact: GAP
Updating `~/Oscar.jl/Project.toml`
[5cd7a574] + GAP_jll v400.1192.1+0
Updating `~/Oscar.jl/Manifest.toml`
[5cd7a574] ↓ GAP_jll v400.1192.2+0 ⇒ v400.1192.1+0
Precompiling project...
4 dependencies successfully precompiled in 19 seconds (60 already precompiled)
(Oscar) pkg> add GAP_jll@400.1192.2
Resolving package versions...
Updating `~/Oscar.jl/Project.toml`
[5cd7a574] ↑ GAP_jll v400.1192.1+0 ⇒ v400.1192.2+0
Updating `~/Oscar.jl/Manifest.toml`
[5cd7a574] ↑ GAP_jll v400.1192.1+0 ⇒ v400.1192.2+0
Precompiling project...
✗ Oscar
3 dependencies successfully precompiled in 3 seconds (60 already precompiled)
1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package |
I have a theory what's going on now. |
Should be fixed by JuliaPackaging/Yggdrasil#4850 |
Seems fixed now, thanks! All green here https://github.com/oscar-system/Oscar.jl/actions/runs/2244067770 after a complete re-run. |
A test of PR #1279 by @HereAround failed with a crash in Julia nightly. Looking at the logs, it crashes during GC while allocating a new GAP string object:
Right now I am still pursuing various ideas what might be behind it. I mainly record it here so that there is a reference we can point people at if this happens again.
The text was updated successfully, but these errors were encountered: