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: vsub(a::UInt128, b::UInt128) #53

Closed
ranocha opened this issue Apr 17, 2021 · 1 comment
Closed

StackOverflowError: vsub(a::UInt128, b::UInt128) #53

ranocha opened this issue Apr 17, 2021 · 1 comment

Comments

@ranocha
Copy link
Contributor

ranocha commented Apr 17, 2021

I observed the following error in some recent CI tests using GitHub actions

  Got exception outside of a @test
  LoadError: StackOverflowError:
  Stacktrace:
   [1] vsub(a::UInt128, b::UInt128) (repeats 79984 times)
     @ VectorizationBase ~/.julia/packages/VectorizationBase/czbgP/src/llvm_intrin/binary_ops.jl:90

We do not use VectorizationBase directly, only LoopVectorization. Sadly, I can't reproduce this error locally using the same test set. Nevertheless,

julia> using Pkg; Pkg.activate(temp=true); Pkg.add("VectorizationBase")
[...]

  [3d5dd08c] + VectorizationBase v0.19.27
[...]

julia> using VectorizationBase

julia> VectorizationBase.vsub(UInt128(1), UInt128(5))
ERROR: StackOverflowError:
Stacktrace:
 [1] vsub(a::UInt128, b::UInt128) (repeats 79984 times)
   @ VectorizationBase ~/.julia/packages/VectorizationBase/czbgP/src/llvm_intrin/binary_ops.jl:90
ranocha added a commit to ranocha/LoopVectorization.jl that referenced this issue Apr 24, 2021
We're already using LoopVectorization to get some really nice improvements in our hyperbolic PDE framework. We will use LoopVectorization even more and also other great packages of yours like CheapThreads and StrideArrays once JuliaSIMD#238 (and maybe JuliaSIMD/VectorizationBase.jl#53) are resolved.
@chriselrod
Copy link
Member

Fixed and tested; the problem was in constructing very large masks.

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