Skip to content

Hang (probably type inference) in Julia 1.2.0rc2 #32595

@wbhart

Description

@wbhart

We have been having a hang when tests run in AbstractAlgebra.jl that seems to be a new regression for Julia-1.2.0.

I have been able to get it down to a more or less minimal example (< 300 sloc). Finding lines of code that I can remove now is becoming difficult, so I think this is as far as I can get it without a lot of extra work.

To reproduce it, simply check out the inference_bug branch of this repository (into a directory AbstractAlgebra):

https://github.com/wbhart/InferenceBug1

It's a very heavily cut down version of our AbstractAlgebra.jl package.

using Pkg
Pkg.test("AbstractAlgebra")

will hang indefinitely before the test runs.

Please note that this is a pure Julia package and I have removed all functions that didn't seem to contribute to the hang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions