Skip to content

1.7.0-rc2: StackOverflowError with complex-valued matrix exp #43008

Closed

Description

On macos, using version 1.7.0-rc2, julia just shows StackOverflowError with no other info when taking the matrix exp with a ~ 300x300 complex-valued matrix. Minimum example:

using LinearAlgebra

n = 300
m = rand(ComplexF64, n, n);
mex = exp(m);

Alro ran with --startup-file=no to make sure it's not some clash with other packages.

Screen Shot 2021-11-08 at 5 52 35 PM

my versioninfo():

Julia Version 1.7.0-rc2
Commit f23fc0d27a (2021-10-20 12:45 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.5.0)
  CPU: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Environment:
  JULIA_MATHLINK = /Applications/Mathematica.app/Contents/Frameworks/mathlink.framework
  JULIA_MATHKERNEL = /Applications/Mathematica.app/Contents/MacOS/MathKernel

Same code runs fine with Version 1.6.3 (2021-09-23).

Hardware: Macbook pro (intel) with 16 GB ram, activity monitor shows low memory usage.

In addition, the same code sometimes gives ERROR: LoadError: ReadOnlyMemoryError(), not sure how to reproduce that one...

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorexternal dependenciesInvolves LLVM, OpenBLAS, or other linked librarieslinear algebraLinear algebraregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions