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

sysimage-native-code=no option broken #53147

Closed
vtjnash opened this issue Feb 1, 2024 · 0 comments · Fixed by #53373
Closed

sysimage-native-code=no option broken #53147

vtjnash opened this issue Feb 1, 2024 · 0 comments · Fixed by #53373
Labels
backport 1.10 Change should be backported to the 1.10 release regression Regression in behavior compared to a previous version

Comments

@vtjnash
Copy link
Member

vtjnash commented Feb 1, 2024

$ ./julia --sysimage-native-code=no -e 'using Test'
julia: /home/vtjnash/julia/src/staticdata.c:2258: jl_root_new_gvars: Assertion `codeinst && (jl_atomic_load_relaxed(&codeinst->specsigflags) & 0b01) && jl_atomic_load_relaxed(&codeinst->specptr.fptr)' failed.  
                                                                                                                                                                                                                  
[583398] signal 6 (-6): Aborted                                                                                                       
in expression starting at /home/vtjnash/julia/test/runtests.jl:3                                                                      
pthread_kill at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)                                                                        
raise at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)                                                                               
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)                                                                               
unknown function (ip: 0x7f9d6188771a)                              
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)                                                                       
jl_root_new_gvars at /home/vtjnash/julia/src/staticdata.c:2258 [inlined]
@vtjnash vtjnash added regression Regression in behavior compared to a previous version backport 1.10 Change should be backported to the 1.10 release labels Feb 1, 2024
vtjnash added a commit that referenced this issue Feb 17, 2024
Loading pkgimages would try to access the sysimage native code, which
will fail. Ensure that no code tries to load if the sysimage native code
is not available, as it may try to link against it.

Fixes #53147
vtjnash added a commit that referenced this issue Feb 17, 2024
Loading pkgimages would try to access the sysimage native code, which
will fail. Ensure that no code tries to load if the sysimage native code
is not available, as it may try to link against it.

Fixes #53147
KristofferC pushed a commit that referenced this issue Feb 19, 2024
Loading pkgimages would try to access the sysimage native code, which
will fail. Ensure that no code tries to load if the sysimage native code
is not available, as it may try to link against it.

Fixes #53147
@vtjnash vtjnash reopened this Feb 22, 2024
@vtjnash vtjnash closed this as completed Feb 22, 2024
KristofferC pushed a commit that referenced this issue Feb 26, 2024
Loading pkgimages would try to access the sysimage native code, which
will fail. Ensure that no code tries to load if the sysimage native code
is not available, as it may try to link against it.

Fixes #53147

(cherry picked from commit 02699bb)
tecosaur pushed a commit to tecosaur/julia that referenced this issue Mar 4, 2024
Loading pkgimages would try to access the sysimage native code, which
will fail. Ensure that no code tries to load if the sysimage native code
is not available, as it may try to link against it.

Fixes JuliaLang#53147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.10 Change should be backported to the 1.10 release regression Regression in behavior compared to a previous version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant