Dot abruptly ends Julia session

I’m new to Julia. The following code abruptly ends my Julia 1.5.3 session (Julia has exited.) at ii = 14 when I’m working in Windows 10, but it runs to completion when converting to ComplexF32. When I run it on a Mac the code as written runs to completion. Am I missing something obvious (besides derogatory statements about Windows)? If this isn’t something obvious, any advice on where best to post this is appreciated.

using Random: seed!
using LinearAlgebra

seed!(0)
for ii = 1:20
    @show ii, 2^ii    
    dot( randn(ComplexF64,2^ii),randn(ComplexF64,2^ii) );
end

Works on macOS, so seems possibly Windows-specific. What’s your versioninfo()?

This is on Win10 both on Version 1.5.3 (2020-11-09) and Version 1.6.0-beta1.0 (2021-01-08) release-1.6/b84990e1ac (fork: 107 commits, 43 days) I get:

julia> using Random: seed!

julia> using LinearAlgebra

julia> seed!(0)
MersenneTwister(0)

julia> for ii = 1:20
           @show ii, 2^ii
           dot( randn(ComplexF64,2^ii),randn(ComplexF64,2^ii) );
       end
(ii, 2 ^ ii) = (1, 2)
(ii, 2 ^ ii) = (2, 4)
(ii, 2 ^ ii) = (3, 8)
(ii, 2 ^ ii) = (4, 16)
(ii, 2 ^ ii) = (5, 32)
(ii, 2 ^ ii) = (6, 64)
(ii, 2 ^ ii) = (7, 128)
(ii, 2 ^ ii) = (8, 256)
(ii, 2 ^ ii) = (9, 512)
(ii, 2 ^ ii) = (10, 1024)
(ii, 2 ^ ii) = (11, 2048)
(ii, 2 ^ ii) = (12, 4096)
(ii, 2 ^ ii) = (13, 8192)
(ii, 2 ^ ii) = (14, 16384)

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 --  at 0x1fcc08e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 --  at 0x1fcc08e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 --  at 0x1fcc08e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 --  at 0x1fcc08e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 --  at 0x1fcc08e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 --  at 0x1fcc08e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 --  at 0x1fcc08e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fcc08e0 -- DCABS164_ at D:\julia-1.6.0-beta1-win64\bin\libopenblas64_.DLL (unknown line)
in expression starting at REPL[4]:1

(trace form 1.6 beta)

1 Like

Thanks. I see now: EXCEPTION_ACCESS_VIOLATION in julia 1.5 · Issue #36976 · JuliaLang/julia · GitHub

Reproduced on Julia 1.5.0 and Julia 1.6-beta1

   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.0 (2020-08-01)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Random: seed!

julia> using LinearAlgebra

julia> let ii = 15
           @show ii, 2^ii
           dot( randn(ComplexF64,2^ii),randn(ComplexF64,2^ii) );
       end
(ii, 2 ^ ii) = (15, 32768)

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1a4c7280 --  at 0x1a4c7280 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1a4c7280 -- unknown function (ip: 000000001A4C7280)
in expression starting at REPL[3]:1
in expression starting at REPL[3]:1
 0)
  reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception:
PS C:\Users\kittisopikulm> julia16
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.0-beta1.0 (2021-01-08)
 _/ |\__'_|_|_|\__'_|  |  release-1.6/b84990e1ac (fork: 107 commits, 43 days)
|__/                   |

julia> using LinearAlgebra

julia> let ii = 15
           @show ii, 2^ii
           dot( randn(ComplexF64,2^ii),randn(ComplexF64,2^ii) );
       end
(ii, 2 ^ ii) = (15, 32768)

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception:
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fd808e0 --  at 0x1fd808e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fd808e0 --  at 0x1fd808e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fd808e0 --  at 0x1fd808e0 --  OLATION at 0x1fd808e0 --  at 0x1fd808e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fd808e0 --  at 0x1fd808e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fd808e0 --  at 0x1fd808e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fd808e0 --  at 0x1fd808e0 --  OLATION  with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1fd808e0 -- zdot_compute at C:\Users\kittisopikulm\AppData\Local\Programs\Julia-1.6.0-beta1\bin\libopenblas64_.DLL (unknown line)
in expression starting at REPL[2]:1
zdot_compute at C:\Users\kittisopikulm\AppData\Local\Programs\Julia-1.6.0-beta1\bin\libopenblas64_.DLL (unknown line)
julia> versioninfo()
Julia Version 1.6.0-beta1.0
Commit b84990e1ac (2021-01-08 12:42 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.0 (ORCJIT, skylake)