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

StackOverflowError in jl_has_concrete_subtype using Tuple{Vararg} #32483

Closed
luchr opened this issue Jul 2, 2019 · 2 comments
Closed

StackOverflowError in jl_has_concrete_subtype using Tuple{Vararg} #32483

luchr opened this issue Jul 2, 2019 · 2 comments

Comments

@luchr
Copy link

luchr commented Jul 2, 2019

With this minimal example

struct TreePart
    children :: Tuple{Vararg{TreePart}}
end

println(TreePart( () ))

there is a inifinite loop in jl_has_concrete_subtype:

Internal error: encountered unexpected error in runtime:
StackOverflowError()
jl_has_concrete_subtype at /buildworker/worker/package_linux64/build/src/gf.c:2559
jl_has_concrete_subtype at /buildworker/worker/package_linux64/build/src/gf.c:2575
jl_has_concrete_subtype at /buildworker/worker/package_linux64/build/src/gf.c:2575
jl_has_concrete_subtype at /buildworker/worker/package_linux64/build/src/gf.c:2575
...

Julia-Version:

Julia Version 1.2.0-rc1.0
Commit 7097799cf1 (2019-05-30 02:22 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

This also happens for

Julia Version 1.3.0-DEV.373
Commit ad42d5de18 (2019-06-07 22:19 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
@luchr
Copy link
Author

luchr commented Jul 2, 2019

Sorry for the inconvenience. It works for the current master:

Julia Version 1.3.0-DEV.488
Commit 49fc01aa12 (2019-07-02 21:12 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

@luchr luchr closed this as completed Jul 2, 2019
@JeffBezanson
Copy link
Member

Probably fixed by #31064 .

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

2 participants