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 causing bus error in Julia 1.3 #34050

Closed
Roger-luo opened this issue Dec 9, 2019 · 1 comment
Closed

StackOverflowError causing bus error in Julia 1.3 #34050

Roger-luo opened this issue Dec 9, 2019 · 1 comment

Comments

@Roger-luo
Copy link
Contributor

I happened to write a code that will cause StackOverflowError. On the official release of Julia 1.0 this is fine, I got an StackOverFlowError, but on 1.3
this cause my julia compiler crash.

My Julia 1.3 versioninfo

julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.0.0)
  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

You should be able to reproduce this by clone YaoBlocks.jl and checkout the noise branch at commit e220222e1e4a8ee585c57e44cea231d3ae5c8c9b

or the following command

https://github.com/QuantumBFS/YaoBlocks.jl.git YaoBlocks
cd YaoBlocks
git checkout noise
git checkout e220222e1e4a8ee585c57e44cea231d3ae5c8c9b
julia --project

then

using YaoBlocks
UnitaryChannel([X, Y, Z])
@yuyichao
Copy link
Contributor

yuyichao commented Dec 9, 2019

Dup of #17109

(The fact that it works for you on 1.0 and not 1.3 is just luck AFAICT. The issue has always been there.)

@yuyichao yuyichao closed this as completed Dec 9, 2019
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