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

compile error on Windows #930

Closed
SimonEnsemble opened this issue Jan 25, 2023 · 6 comments
Closed

compile error on Windows #930

SimonEnsemble opened this issue Jan 25, 2023 · 6 comments

Comments

@SimonEnsemble
Copy link

a student gets the following compile error on Windows. what can I have them do to fix this? thanks!

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 0x7ffac537680c -- recache_type at C:/workdir/src\dump.c:3060 [inlined]
recache_datatype at C:/workdir/src\dump.c:3108
in expression starting at C:\Users\emcdu\.julia\packages\StochasticDiffEq\fgxaw\src\StochasticDiffEq.jl:12
recache_type at C:/workdir/src\dump.c:3060 [inlined]
recache_datatype at C:/workdir/src\dump.c:3108
recache_datatype at C:/workdir/src\dump.c:3101 [inlined]
recache_type at C:/workdir/src\dump.c:3055 [inlined]
recache_datatype at C:/workdir/src\dump.c:3108
recache_datatype at C:/workdir/src\dump.c:3101 [inlined]
jl_recache_types at C:/workdir/src\dump.c:3148 [inlined]
_jl_restore_incremental at C:/workdir/src\dump.c:3374
ijl_restore_incremental at C:/workdir/src\dump.c:3436
_include_from_serialized at .\loading.jl:807
_require_search_from_serialized at .\loading.jl:1039
_require at .\loading.jl:1315
_require_prelocked at .\loading.jl:1200
macro expansion at .\loading.jl:1180 [inlined]
macro expansion at .\lock.jl:223 [inlined]
require at .\loading.jl:1144
jfptr_require_26555.clone_1 at C:\Users\emcdu\AppData\Local\Programs\Julia-1.8.5\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
call_require at C:/workdir/src\toplevel.c:462 [inlined]
eval_import_path at C:/workdir/src\toplevel.c:499
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:778
jl_eval_module_expr at C:/workdir/src\toplevel.c:203 [inlined]
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:709
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:850
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:850
ijl_toplevel_eval at C:/workdir/src\toplevel.c:915 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:965
eval at .\boot.jl:368 [inlined]
include_string at .\loading.jl:1428
_include at .\loading.jl:1488
include at .\Base.jl:419 [inlined]
include_package_for_output at .\loading.jl:1554
jfptr_include_package_for_output_51114.clone_1 at C:\Users\emcdu\AppData\Local\Programs\Julia-1.8.5\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:215
eval_stmt_value at C:/workdir/src\interpreter.c:166 [inlined]
eval_body at C:/workdir/src\interpreter.c:612
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:750
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:906
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:850
ijl_toplevel_eval at C:/workdir/src\toplevel.c:915 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:965
eval at .\boot.jl:368 [inlined]
include_string at .\loading.jl:1428
include_string at .\loading.jl:1438
exec_options at .\client.jl:301
_start at .\client.jl:522
jfptr__start_54247.clone_1 at C:\Users\emcdu\AppData\Local\Programs\Julia-1.8.5\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
true_main at C:/workdir/src\jlapi.c:575
jl_repl_entrypoint at C:/workdir/src\jlapi.c:719
mainCRTStartup at C:/workdir/cli\loader_exe.c:59
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Allocations: 20141160 (Pool: 20136902; Big: 4258); GC: 11
ERROR: LoadError: Failed to precompile StochasticDiffEq [789caeaf-c7a9-5a7d-9973-96adeb23e2a0] to C:\Users\emcdu\.julia\compiled\v1.8\StochasticDiffEq\jl_C462.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:1707
  [3] compilecache
    @ .\loading.jl:1651 [inlined]
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1337
  [5] _require_prelocked(uuidkey::Base.PkgId)
    @ Base .\loading.jl:1200
  [6] macro expansion
    @ .\loading.jl:1180 [inlined]
  [7] macro expansion
    @ .\lock.jl:223 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1144
  [9] include
    @ .\Base.jl:419 [inlined]
 [10] 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::Nothing)
    @ Base .\loading.jl:1554
 [11] top-level scope
    @ stdin:1
in expression starting at C:\Users\emcdu\.julia\packages\DifferentialEquations\yS3VA\src\DifferentialEquations.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to C:\Users\emcdu\.julia\compiled\v1.8\DifferentialEquations\jl_60F5.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base .\loading.jl:1707
 [3] compilecache
   @ .\loading.jl:1651 [inlined]
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1337
 [5] _require_prelocked(uuidkey::Base.PkgId)
   @ Base .\loading.jl:1200
 [6] macro expansion
   @ .\loading.jl:1180 [inlined]
 [7] macro expansion
   @ .\lock.jl:223 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:1144
julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65e (2023-01-08 06:45 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 12 × Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
  Threads: 1 on 12 virtual cores
(@v1.8) pkg> status
Status `C:\Users\emcdu\.julia\environments\v1.8\Project.toml`
  [13f3f980] CairoMakie v0.10.1
  [a93c6f00] DataFrames v1.4.4
  [0c46a032] DifferentialEquations v7.6.0
⌃ [c3e4b0f8] Pluto v0.19.19
  [7f904dfe] PlutoUI v0.7.49
  [f2b01f46] Roots v2.0.8
Info Packages marked with ⌃ have new versions available and may be upgradable.
@ChrisRackauckas
Copy link
Member

Interesting, what are the steps to reproduce? How much RAM?

@SimonEnsemble
Copy link
Author

watched the student open a fresh Julia REPL, then using DifferentialEquations, to see it fail on pre-compilation.
it happens every time, he said.
"I do experience some decent lag." asked student to report back on RAM usage.

also realized I should have them use the more minimal OrdinaryDiffEq for just solving ordinary differential equations... 👀

@ChrisRackauckas
Copy link
Member

Any update?

@SimonEnsemble
Copy link
Author

SimonEnsemble commented Jan 27, 2023

student says:

I tried running Julia and retried importing/ using differential equations while monitoring RAM usage on task manager and it never exceeded 70%.

👁️

@ChrisRackauckas
Copy link
Member

When was the last time they did ]up? What package versions? ]st -m?

It's hard to do much more with just this information.

@SimonEnsemble
Copy link
Author

student did ] up and it was solved. sorry, I should have had them do that. still weird, but glad it finally works. thank you.

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