-
-
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
Infinitely growing compilation recursion #16201
Comments
What happens when you run this in a debugger? |
it's sitting in an infinitely growing compilation recursion, for example: |
Regression on #14009 ? |
probably related, yes. but this is in codegen, not inference. |
This bug complicates the work in #6837 because I have to kill Julia when a method is missing. It's a slow process to figure out if the tests are just slow (like the 15 minutes of |
I've bisected this and there seems to two issues. When executing UpperTriangular(randn(3,3))\sub(randn(3), [1,2,3])
Right now, I'm working on a fix for the specific statement above such the dispatch isn't recursive but I would still expect that the behavior in 1. and 2. are bugs, i.e. type inference should never go into an infinite loop and you should always be able to break out of a loop with ctrl+c. |
This is kind of fixed by #16288. I've changed the title to reflect the issue with infinite compilation recursions. Isn't there a way to detect this? |
TODO: add the test case to #16692. |
On 0.4 I get
but on
0.5.0-dev+3878 (2016-05-04 17:25 UTC)
Julia just hangs and I cannot break out of recursion so I have to kill Julia.Update: This is on OS X.
The text was updated successfully, but these errors were encountered: