# 'inv' Causes Stack Overflow on Julia 1.7.0 and Mac OS

**URL:** https://discourse.julialang.org/t/inv-causes-stack-overflow-on-julia-1-7-0-and-mac-os/72411
**Category:** Internals & Design
**Tags:** bug, potential-bug
**Created:** [December 1, 2021, 10:14pm UTC](https://discourse.julialang.org/t/inv-causes-stack-overflow-on-julia-1-7-0-and-mac-os/72411 "2021-12-01T22:14:04Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [December 2, 2021, 2:19pm UTC](https://discourse.julialang.org/t/inv-causes-stack-overflow-on-julia-1-7-0-and-mac-os/72411/15 "2021-12-02T14:19:07Z")

</div>

TLDR: it’s [this Julia issue](https://github.com/JuliaLang/julia/issues/43008) (also reported [here](https://github.com/JuliaLang/julia/issues/43301)), caused by a [problem with the OpenBLAS package](https://github.com/JuliaPackaging/Yggdrasil/issues/3996) where an experimental feature threading feature was accidentally enabled in the package used for the Julia release. Seems like it will require a rapid Julia 1.7.1 bugfix release.

Workaround is to call `BLAS.set_num_threads(1)` for now ☹, or downgrade to Julia 1.6.3 until a fix is released.

---

_[View the full topic](https://discourse.julialang.org/t/inv-causes-stack-overflow-on-julia-1-7-0-and-mac-os/72411)._
