question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  • Pip version: 19.0.3
  • Python version: Python 3.7.4
  • Operating system: macOS Catalina

When I tried to use pip3 to view the installed modules, but returned Abort trap: 6,Here are some screenshots and logs.I want to know what caused this., thank you

image image python.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

104reactions
Esolberg2commented, Oct 24, 2019

I had the same issue and was able to resolve following the steps from this thread:

https://forums.developer.apple.com/thread/119429

For me, this issue was related to the libssl.1.0.0.dylib and libcrypto.1.0.0.dylib. The python.log file provided by the OP references libcrypto dylib as well.

from python.log file: Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.

for anyone who finds this, you can view your own python log files at ~/Library/Logs/DiagnosticReports.

someone else might be able to explain this further, but in short, the error seems to be related to Catalina not allowing un-versioned dylibs to be called. The solution is to link the un-versioned dylib files to ones with a version. Below are steps taken from the prevailing answer in the above link, and I can confirm that they worked for me. It doesn’t seem like existing virtual environments will be fixed with the below, but after the fix you can create new virtual environments and they should behave as expected.

Steps to Fix in your terminal:

  1. brew update && brew upgrade && brew install openssl ##note: some people report that the dylib files needed in #3 are in the 1.0.2t folder, rather than the lib folder. adjust your path in #2 as needed.
  2. cd /usr/local/Cellar/openssl/1.0.2t/lib
  3. sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/local/lib/
  4. cd /usr/local/lib
  5. sudo ln -s libssl.1.0.0.dylib libssl.dylib
  6. sudo ln -s libcrypto.1.0.0.dylib libcrypto.dylib
16reactions
joelfredericocommented, Nov 17, 2019

This is related to pyopenssl using old dependencies. You can fix it by removing the cryptography package, then upgrading cryptography to version 2.8.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode error: Abort Trap 6 | Apple Developer Forums
While deserializing SIL vtable for 'PostTextCVC' in module 'Appp' error: Abort trap: 6. The only way to dismiss this is to user another ......
Read more >
"Abort trap: 6" error in C? - Stack Overflow
In this case, the destination greeting does not have enough space to contain the whole contents of source, so it is an out...
Read more >
What does it mean when your C program outputs 'Abort trap: 6'?
abort () is often called when an assertion fails; that is, when the expression passed to the assert(EXPR) macro evaluates to false. Some...
Read more >
Abort trap 6/nonzero exit code - Compiler - Swift Forums
This code causes abort trap 6 in Xcode 13 and in Xcode 14 beta 6 causes "Command CompileSwift failed with a nonzero exit...
Read more >
Abort trap 6 - Google Groups
I am trying to run a sam file through pstacks and am getting an "Abort trap 6" error. After doing a bit of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found