Skip to content
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

Failure when creating sysimage with ZMQ >= 1.2.3 #241

Closed
bluesmoon opened this issue Jun 13, 2024 · 6 comments · Fixed by #242
Closed

Failure when creating sysimage with ZMQ >= 1.2.3 #241

bluesmoon opened this issue Jun 13, 2024 · 6 comments · Fixed by #242

Comments

@bluesmoon
Copy link

bluesmoon commented Jun 13, 2024

I'm using Julia 1.6.7.

I create a sysimage with PackageCompiler that includes all of my modules. One of the modules is IJulia, which in turn requires ZMQ.

The sysimage succeeds when using ZMQ 1.2.2, but if I use 1.2.3 or higher (I've tested 1.2.4 and 1.2.5 as well), I get thousands of lines of errors that look like this:

jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:446
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:494
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:457
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:446
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:497
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:446
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:493
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:446
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:492
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:446
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:446
jl_save_system_image_to_stream at /buildworker/worker/package_linux64/build/src/staticdata.c:1535
jl_create_system_image at /buildworker/worker/package_linux64/build/src/staticdata.c:1638
jl_write_compiler_output at /buildworker/worker/package_linux64/build/src/precompile.c:77
jl_atexit_hook at /buildworker/worker/package_linux64/build/src/init.c:211
repl_entrypoint at /buildworker/worker/package_linux64/build/src/jlapi.c:703
main at /buildworker/worker/package_linux64/build/cli/loader_exe.c:51
unknown function (ip: 0x7fabcd13ed8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /julia-1.6.7/bin/julia (unknown line)
Allocations: 197675316 (Pool: 197600293; Big: 75023); GC: 137

Any idea where I should look to get more information about this?

@JamesWrigley
Copy link
Member

It seems to be because of the precompilation workload we added in 1.2.3 (#224) 🤔 I'm not sure why exactly, will look into it.

@JamesWrigley
Copy link
Member

Could you try with my branch from #242? That fixes the issue for me.

@bluesmoon
Copy link
Author

Will do. I'll let you know in an hour or so.

@bluesmoon
Copy link
Author

It's still running, but previous runs would have failed by this point.

@bluesmoon
Copy link
Author

ok, success! Is it safe to say that this will be version 1.2.6?

@JamesWrigley
Copy link
Member

Yep :) JuliaRegistries/General#108890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants