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

Does not precompile on Mac OS 12.2, Intel Core i7, Julia 10.0.0 #30

Open
alexeyovchinnikov opened this issue Jan 31, 2024 · 4 comments
Open

Comments

@alexeyovchinnikov
Copy link

alexeyovchinnikov commented Jan 31, 2024

Getting the following error. Any suggestions would be appreciated.

IrrationalConstants [92d709cd-6900-40b7-9082-c6be49f344b6]

Failed to precompile IrrationalConstants [92d709cd-6900-40b7-9082-c6be49f344b6] to "/Users/alexey/.julia/compiled/v1.10/IrrationalConstants/jl_jNJgAT".
[92697] signal (11.1): Segmentation fault: 11
in expression starting at /Users/alexey/.julia/packages/IrrationalConstants/vp5v4/src/stats.jl:3
unknown function (ip: 0x0)
Allocations: 2906 (Pool: 2897; Big: 9); GC: 
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
  [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{io::Base.TTY})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:1656
  [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
  [4] precompile
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
  [5] #precompile#114
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
  [6] #invokelatest#2
    @ Base ./essentials.jl:889 [inlined]
  [7] invokelatest
    @ Base ./essentials.jl:884 [inlined]
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1957
  [9] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1806
 [10] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [11] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1797
 [13] macro expansion
    @ Base ./loading.jl:1784 [inlined]
 [14] macro expansion
    @ Base ./lock.jl:267 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1747
 [16] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [17] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [18] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1740
@devmotion
Copy link
Member

There's not much I can do here - I can't reproduce the issue (not the same specs but an M2 Mac). Did you try with a clean environment? And did you try to nuke (or probably safer, move) the .julia folder?

@alexeyovchinnikov
Copy link
Author

Thank you for looking into this! Yes, I tried installing on a fresh installation of Julia (without any additionally installed packages) - still the same issue.

@devmotion
Copy link
Member

fresh installation of Julia

After deleting /Users/alexey/.julia?

@alexeyovchinnikov
Copy link
Author

Yes

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

No branches or pull requests

2 participants