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

Infinite loop in compilation (with AxisArrays) #22248

Closed
iamed2 opened this issue Jun 6, 2017 · 6 comments
Closed

Infinite loop in compilation (with AxisArrays) #22248

iamed2 opened this issue Jun 6, 2017 · 6 comments

Comments

@iamed2
Copy link
Contributor

iamed2 commented Jun 6, 2017

I tried to distill this so it didn't require AxisArrays with no luck. It seems to be a pretty complex interaction.

using AxisArrays

A = AxisArray([  1  4  7  10  13
                 2  5  8  11  14
                 3  6  9  12  15], :y, :x)
for C in (A,)
    for op in (sum,)
        C1t = op(C, Axis{:y})
    end
end

Making A const fixes it. Assigning the tuples to variables fixes it. Calling op with a numerical dimension instead of an Axis fixes it.

This happens on master (80369bf7b4 as of this post) and is not SIGINTable.

@iamed2
Copy link
Contributor Author

iamed2 commented Jun 7, 2017

This does not occur on v0.6.0-rc3

@StefanKarpinski
Copy link
Member

So can it be closed then? What's the action here? Bisect to figure out what fixed it?

@iamed2
Copy link
Contributor Author

iamed2 commented Jun 13, 2017

No, I mean it's upstream from 0.6, on master.

@iamed2
Copy link
Contributor Author

iamed2 commented Jun 13, 2017

A bisect might work to find out what introduced this, but since it's such a finicky example that might not find the actual underlying bug.

@vtjnash
Copy link
Member

vtjnash commented Jun 13, 2017

Is this fixed by #21933 now?

@iamed2
Copy link
Contributor Author

iamed2 commented Jun 13, 2017

Yep, looks like that did it 🎉

@iamed2 iamed2 closed this as completed Jun 13, 2017
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

3 participants