Common "Abord trap: 6" / "leaked semaphores" error reported in community

There are several instances of the following error being reported around the community (in Slack):

Running with dbt=0.15.0
Abort trap: 6
/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/ UserWarning: semaphore_tracker: There appear to be 1 leaked semaphores to clean up at shutdown

The following Slack thread has some information and troubleshooting suggestions:

Proposed solutions:


  2. Via homebrew

    brew install dbt@0.15.0
    brew link --overwrite dbt@0.15.0

  3. a BASH script was mentioned in the above Slack thread

I’ve created this topic in order to document the existence of the error, any solutions that are verified to have worked, and to hopefully help others experiencing it to save some time finding the solutions.

On a brand new mac install I was able to solve it by following instructions in this thread

This is the output of history for my computer:

  246  brew install openssl
  249  sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/local/lib/
  250  cd /usr/local/Cellar/
  252  cd openssl@1.1
  254  cd 1.1.1d
  256  cd lib
  258  cp libssl.1.1.dylib libcrypto.dylib /usr/local/lib/
  260  ~
  263  mv libcrypto.dylib libcrypto_bak.dylib
  265  sudo ln -s libssl.1.1.dylib libssl.dylib
  266  cd /usr/local/Cellar/openssl@1.1/1.1.1d/lib
  267  cp libcrypto.1.1.dylib /usr/local/lib/
  268  cd /usr/local/lib
  269  ls
  270  sudo ln -s libcrypto.1.1.dylib libcrypto.dylib