Giter Club home page Giter Club logo

Comments (9)

finmod avatar finmod commented on July 3, 2024

Confirm the same problem that started three days ago. On a completely clean install of Julia 1.10.3 via juliaup for windows, the error message is:

_       _ _(_)_     |  Documentation: https://docs.julialang.org

() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 1.10.3 (2024-04-30)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |

(@v1.10) pkg> up
Updating registry at C:\Users\Denis\.julia\registries\General.toml
Installed FastLapackInterface ─ v2.0.4
No Changes to C:\Users\Denis\.julia\environments\v1.10\Project.toml
Updating C:\Users\Denis\.julia\environments\v1.10\Manifest.toml
[29a986be] ↑ FastLapackInterface v2.0.3 ⇒ v2.0.4
Precompiling project...
┌ Warning: attempting to remove probably stale pidfile 9/15
│ path = "C:\Users\Denis\.julia\compiled\v1.10\ModelingToolkit\Qmdqu_BUi1j.ji.pidfile"
└ @ FileWatching.Pidfile C:\Users\Denis.julia\juliaup\julia-1.10.3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:244
Progress [======================================> ] 14/15
◐ ModelingToolkit

from modelingtoolkit.jl.

SA8416 avatar SA8416 commented on July 3, 2024

I'm also having this issue, on a fresh install of windows 11 and of julia 1.10.3.

I get a similar output, with pre-compilation never completing:

Precompiling ModelingToolkit
┌ Warning: attempting to remove probably stale pidfile  1/3
│   path = "C:\\Users\\user\\.julia\\compiled\\v1.10\\ModelingToolkit\\Qmdqu_HW5VR.ji.pidfile"
└ @ FileWatching.Pidfile C:\Users\user\.julia\juliaup\julia-1.10.3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:244
        Info Given ModelingToolkit was explicitly requested, output will be shown live

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 0x7ffc6bf5845f -- gc_setmark_pool_ at C:/workdir/src\gc.c:876 [inlined]
gc_setmark_pool at C:/workdir/src\gc.c:895 [inlined]
gc_setmark at C:/workdir/src\gc.c:902 [inlined]
gc_setmark at C:/workdir/src\gc.c:898 [inlined]
gc_mark_outrefs at C:/workdir/src\gc.c:2617 [inlined]
gc_mark_loop_serial_ at C:/workdir/src\gc.c:2690
in expression starting at C:\Users\user\.julia\packages\ModelingToolkit\Gpzyo\src\ModelingToolkit.jl:6
gc_setmark_pool_ at C:/workdir/src\gc.c:876 [inlined]
gc_setmark_pool at C:/workdir/src\gc.c:895 [inlined]
gc_setmark at C:/workdir/src\gc.c:902 [inlined]
gc_setmark at C:/workdir/src\gc.c:898 [inlined]
gc_mark_outrefs at C:/workdir/src\gc.c:2617 [inlined]
gc_mark_loop_serial_ at C:/workdir/src\gc.c:2690
gc_mark_loop_serial at C:/workdir/src\gc.c:2713
gc_mark_loop at C:/workdir/src\gc.c:2894 [inlined]
_jl_gc_collect at C:/workdir/src\gc.c:3227
ijl_gc_collect at C:/workdir/src\gc.c:3524
maybe_collect at C:/workdir/src\gc.c:937 [inlined]
jl_gc_pool_alloc_inner at C:/workdir/src\gc.c:1293 [inlined]
ijl_gc_pool_alloc at C:/workdir/src\gc.c:1341
argextype at .\compiler\optimize.jl:344                                             
argextype at .\compiler\optimize.jl:341                                             
argextype at .\compiler\optimize.jl:340 [inlined]
is_known_call at .\compiler/ssair\passes.jl:5
sroa_pass! at .\compiler/ssair\passes.jl:1032
run_passes at .\compiler\optimize.jl:489
run_passes at .\compiler\optimize.jl:504 [inlined]
optimize at .\compiler\optimize.jl:453 [inlined]
_typeinf at .\compiler\typeinfer.jl:272
typeinf at .\compiler\typeinfer.jl:216
typeinf_edge at .\compiler\typeinfer.jl:930
abstract_call_method at .\compiler\abstractinterpretation.jl:629
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:95
abstract_call_known at .\compiler\abstractinterpretation.jl:2087
abstract_call at .\compiler\abstractinterpretation.jl:2169
abstract_apply at .\compiler\abstractinterpretation.jl:1612
abstract_call_known at .\compiler\abstractinterpretation.jl:2004
abstract_call at .\compiler\abstractinterpretation.jl:2169
abstract_call at .\compiler\abstractinterpretation.jl:2162
abstract_call at .\compiler\abstractinterpretation.jl:2354
abstract_eval_call at .\compiler\abstractinterpretation.jl:2370
abstract_eval_statement_expr at .\compiler\abstractinterpretation.jl:2380
abstract_eval_statement at .\compiler\abstractinterpretation.jl:2624
abstract_eval_basic_statement at .\compiler\abstractinterpretation.jl:2913
typeinf_local at .\compiler\abstractinterpretation.jl:3098
typeinf_nocycle at .\compiler\abstractinterpretation.jl:3186
_typeinf at .\compiler\typeinfer.jl:247
typeinf at .\compiler\typeinfer.jl:216
typeinf_edge at .\compiler\typeinfer.jl:930
abstract_call_method at .\compiler\abstractinterpretation.jl:629
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:95
abstract_call_known at .\compiler\abstractinterpretation.jl:2087
abstract_call at .\compiler\abstractinterpretation.jl:2169
abstract_call at .\compiler\abstractinterpretation.jl:2162
abstract_call at .\compiler\abstractinterpretation.jl:2354
abstract_eval_call at .\compiler\abstractinterpretation.jl:2370
abstract_eval_statement_expr at .\compiler\abstractinterpretation.jl:2380
abstract_eval_statement at .\compiler\abstractinterpretation.jl:2624
abstract_eval_basic_statement at .\compiler\abstractinterpretation.jl:2913
typeinf_local at .\compiler\abstractinterpretation.jl:3098
typeinf_nocycle at .\compiler\abstractinterpretation.jl:3186
_typeinf at .\compiler\typeinfer.jl:247
typeinf at .\compiler\typeinfer.jl:216
typeinf_ext at .\compiler\typeinfer.jl:1051
typeinf_ext_toplevel at .\compiler\typeinfer.jl:1082
typeinf_ext_toplevel at .\compiler\typeinfer.jl:1078
jfptr_typeinf_ext_toplevel_38978.1 at C:\Users\user\.julia\juliaup\julia-1.10.3+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
_jl_invoke at C:/workdir/src\gf.c:2895 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:3077 [inlined]
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
jl_type_infer at C:/workdir/src\gf.c:394
_generate_from_hint at C:/workdir/src\gf.c:2756 [inlined]
jl_compile_now at C:/workdir/src\gf.c:2770 [inlined]
ijl_compile_method_instance at C:/workdir/src\gf.c:2782
ijl_compile_hint at C:/workdir/src\gf.c:2820
precompile at .\loading.jl:3210
precompile_mi at C:\Users\user\.julia\packages\PrecompileTools\L8A3n\src\PrecompileTools.jl:13
foreach at .\abstractarray.jl:3097
recompile_invalidations at C:\Users\user\.julia\packages\PrecompileTools\L8A3n\src\invalidations.jl:23
unknown function (ip: 000001f367eb1973)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:223
eval_stmt_value at C:/workdir/src\interpreter.c:174 [inlined]
eval_body at C:/workdir/src\interpreter.c:635
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:775
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:934
jl_eval_module_expr at C:/workdir/src\toplevel.c:215 [inlined]
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:736
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
include_string at .\loading.jl:2076
_include at .\loading.jl:2136
include at .\Base.jl:495 [inlined]
include_package_for_output at .\loading.jl:2222
jfptr_include_package_for_output_84841.1 at C:\Users\user\.julia\juliaup\julia-1.10.3+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:223
eval_stmt_value at C:/workdir/src\interpreter.c:174 [inlined]
eval_body at C:/workdir/src\interpreter.c:635
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:775
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:934
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
include_string at .\loading.jl:2076
include_string at .\loading.jl:2086 [inlined]
exec_options at .\client.jl:316
_start at .\client.jl:552
jfptr__start_86582.1 at C:\Users\user\.julia\juliaup\julia-1.10.3+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
true_main at C:/workdir/src\jlapi.c:582
jl_repl_entrypoint at C:/workdir/src\jlapi.c:731
mainCRTStartup at C:/workdir/cli\loader_exe.c:58
BaseThreadInitThunk at C:\Windows\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
Allocations: 13613850 (Pool: 13597138; Big: 16712); GC: 14
Progress [====================>                    ]  1/2
  ◓ ModelingToolkit

from modelingtoolkit.jl.

B-LIE avatar B-LIE commented on July 3, 2024

I have now tried with Julia v1.10.3 and latest version of MTK + MTK v9.13.0 and MTK v9.0.0, as well as Julia v1.10.2 and the same trio of MTK versions and Julia v1.10.0 and the same MTK version trios. No luck.

from modelingtoolkit.jl.

skycolt avatar skycolt commented on July 3, 2024

same problem. Even I don't add ModelingToolkit.jl explicitly, once it's required the precompile will halt here. 1.10.3.
I did try julia 1.9.4 and everything seems to still play well

from modelingtoolkit.jl.

ChrisRackauckas avatar ChrisRackauckas commented on July 3, 2024

We know, thread is here:

https://discourse.julialang.org/t/modelingtoolkit-takes-forever-to-precompile-on-windows-11/114492/44

from modelingtoolkit.jl.

natlampen avatar natlampen commented on July 3, 2024

I believe this is the same as #2722?

from modelingtoolkit.jl.

ChrisRackauckas avatar ChrisRackauckas commented on July 3, 2024

Yes, and it's also the same as JuliaLang/julia#54550, and it's also the same as https://discourse.julialang.org/t/modelingtoolkit-takes-forever-to-precompile-on-windows-11/114492 . We know it exists, it's all hands-on-deck madness, it's weird, its likely a GC bug in Julia, and we have no idea what's causing it but we're running around trying to get a solution ASAP. More threads will not help, we know the issue exists.

from modelingtoolkit.jl.

ChrisRackauckas avatar ChrisRackauckas commented on July 3, 2024

Because this was isolated to being a Julia issue, we can keep the conversation going there: JuliaLang/julia#54550

from modelingtoolkit.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.