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

[BUG] precompiling Plots.jl crashes in Julia 1.6.1 on Windows 10 #3467

Closed
YKamer opened this issue May 2, 2021 · 3 comments
Closed

[BUG] precompiling Plots.jl crashes in Julia 1.6.1 on Windows 10 #3467

YKamer opened this issue May 2, 2021 · 3 comments
Labels

Comments

@YKamer
Copy link

YKamer commented May 2, 2021

Hello I am a total noob in Julia so I don't know how to fill in the bug report table properly.
Here is the gist of it: after issuing the "using Plots" command on version 1.6.1 the compilation crashes. I switched to version 1.4.2 and it works. Attached is a link containing the the bug report.
https://discourse.julialang.org/t/just-downloaded-julia-want-to-add-plots-package-all-i-get-is-crashes/60426/7?u=zamazalotta

@YKamer YKamer added the bug label May 2, 2021
@fgasdia
Copy link

fgasdia commented May 10, 2021

I am getting a similar error, also on Windows 10 using Julia 1.6.1.

After deleting C:\Users\username\.julia I add Plots and it gets stuck during precompilation. I Ctrl+C to interrupt precompilation, exit and reopen the Julia REPL, and then do using Plots, which results in the following:

julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --  at 0x0 --  it a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --  at 0x0 --  CESS_VIOLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --  at 0x0 --  CESS_VIOLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --  at 0x0 --  CESS_VIOLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --  at 0x0 --  CESS_VIOLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 --  at 0x0 --  CESS_VIOLATION at 0x0 --  at 0x0 --  CESS_VIOLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 -- unknown function (ip: 0000000000000000)
in expression starting at C:\Users\username\.julia\packages\TableTraits\o8VMV\src\TableTraits.jl:3
Internal error: encountered unexpected error in runtime:
in expression starting at C:\Users\username\ERROR: LoadError: Failed to precompile TableTraits [3783bdb8-4a98-5b6b-af9a-565f29a5fe9c] to C:\Users\username\.julia\compiled\v1.6\TableTraits\jl_20BB.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
    @ Base .\loading.jl:1360
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1306
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1021
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:914
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:901
  [7] include
    @ .\Base.jl:386 [inlined]
  [8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
    @ Base .\loading.jl:1213
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\username\.julia\packages\Tables\uYJXY\src\Tables.jl:1

... followed by LoadErrors for Tables.jl, GeometryBasics.jl, and Plots.jl.

The above error message is for Plots v1.14.0 but I get similar errors for v1.13.2, although the first LoadError is for DataValueInterfaces.jl followed by Tables.jl, GeometryBasics.jl, and Plots.jl.

@fgasdia
Copy link

fgasdia commented May 10, 2021

After restarting my computer I deleted the .julia folder again and this time I was able to add and precompile Plots successfully.

@YangYuebao
Copy link

After restarting my computer I deleted the .julia folder again and this time I was able to add and precompile Plots successfully.

Mine also crashed on 1.7.0-beta2 version. I deleted .julia like you, and then Plots could be precompiled, but I need to download all other packages again.

Some thing wrong happened to my internet when I add Plots for the first time, and then when I tried to precompile, Julia mentioned me to check for duplicate calls to include.

@t-bltg t-bltg closed this as completed Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants