-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Julia hangs when precompiling package with certain pattern #26028
Labels
compiler:precompilation
Precompilation of modules
regression
Regression in behavior compared to a previous version
Comments
KristofferC
added
compiler:precompilation
Precompilation of modules
regression
Regression in behavior compared to a previous version
labels
Feb 13, 2018
Doing |
Seems like still an issue though, right? |
Not sure, perhaps an infinite loop is the natural result when asking to import the packages itself while it is being loaded. |
It is odd that it depends on |
Is this still an issue? |
There's a MWE at the top. |
Keno
added a commit
that referenced
this issue
Aug 2, 2018
If a precompiled package's init function tries to itself require that package (e.g. by importing a symbol from a submodule of that package), we would run into a deadlock. Fix that by delaying the running of initializers until after we've had a chance to register any root module. Fixes #26028
Keno
added a commit
that referenced
this issue
Aug 3, 2018
If a precompiled package's init function tries to itself require that package (e.g. by importing a symbol from a submodule of that package), we would run into a deadlock. Fix that by delaying the running of initializers until after we've had a chance to register any root module. Fixes #26028
ararslan
pushed a commit
that referenced
this issue
Aug 4, 2018
If a precompiled package's init function tries to itself require that package (e.g. by importing a symbol from a submodule of that package), we would run into a deadlock. Fix that by delaying the running of initializers until after we've had a chance to register any root module. Fixes #26028 (cherry picked from commit 0e32871)
KristofferC
pushed a commit
that referenced
this issue
Feb 11, 2019
If a precompiled package's init function tries to itself require that package (e.g. by importing a symbol from a submodule of that package), we would run into a deadlock. Fix that by delaying the running of initializers until after we've had a chance to register any root module. Fixes #26028
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
compiler:precompilation
Precompilation of modules
regression
Regression in behavior compared to a previous version
Package
Foo
with following structure:Foo.jl
bar.jl
Trying to do
using Foo
now hangs indefinitely. Removing__precompile__()
makes it work. Works on 0.6.2.Stacktrace after interrupting is:
The text was updated successfully, but these errors were encountered: