-
Notifications
You must be signed in to change notification settings - Fork 125
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
Oscar.build() fails due to GAP's "foreign Julia type" not being serializable #1400
Comments
Thanks for the report! I have looked a bit into it. The error persists even if Oscar is stripped down to module Oscar
end The error was gone once I removed GAP.jl as a dependency. Indeed, just doing julia> PackageCompiler.create_sysimage([:GAP], sysimage_path="bla") results in ⠋ [00m:08s] PackageCompiler: compiling incremental system image
signal (11): Segmentation fault
in expression starting at /tmp/jl_jWNKliF8x6:18
jl_unwrap_unionall at /disk2/home/bla/repositories/julia/src/jltypes.c:1077
jl_deserialize_value_any at /disk2/home/bla/repositories/julia/src/dump.c:2038 [inlined]
jl_deserialize_value at /disk2/home/bla/repositories/julia/src/dump.c:2193
jl_deserialize_datatype at /disk2/home/bla/repositories/julia/src/dump.c:1488 [inlined]
jl_deserialize_value at /disk2/home/bla/repositories/julia/src/dump.c:2190
[...] (This is with a fresh julia master and the recent version of PackageCompiler). I had a very artificial look and sprinkled some |
I am looking into it |
Just to say: this is fixed in Julia 1.9 (which is currently in beta, and hopefully will be released soon; it has exciting improvements, like caching of native code, which reduces the need for |
Describe the bug
Oscar.build() fails
To Reproduce
Steps to reproduce the behavior, please provide a code snippet that triggers
the bug.
then here are some possible output:
https://gist.github.com/edgarcosta/3b91f9feefbe239201ef3d33ff5279a9
https://gist.github.com/edgarcosta/60b0792861968c4cd7bd5ec02f3a42b7
it is unclear to me if this is converging or not, but I'm past my 10th iteration of calling
Oscar.build()
Expected behavior
Oscar.build() to successfully terminate
System :
Additional context
My goal is simply to speed up the loading time of Oscar, as the 30 seconds at the beginning of each session is utterly painful.
I can recreate this in two independent servers, but the logs posted above are from just one server.
The text was updated successfully, but these errors were encountered: