Segfaults when run with python3
M-Davies opened this issue · comments
Morgan Davies commented
Running HandRecognition.py with python3 (my current version is 3.8.5
) causes a segfault after pressing B to allow the program to capture the background. I have opencv2 installed on my python3 as I can't seem to obtain it for python2
Console output
➜ hand-gesture-recognition-opencv git:(master) ✗ python3 HandRecognition.py
[1] 38687 segmentation fault python3 HandRecognition.py
➜ hand-gesture-recognition-opencv git:(master) ✗
Logfile
Process: Python [38687]
Path: /Library/Frameworks/Python.framework/Versions/3.8/Resources/Python.app/Contents/MacOS/Python
Identifier: org.python.python
Version: 3.8.5 (3.8.5)
Code Type: X86-64 (Native)
Parent Process: zsh [35284]
Responsible: Terminal [443]
User ID: 501
Date/Time: 2020-11-09 16:51:20.744 +0000
OS Version: Mac OS X 10.15.6 (19G2021)
Report Version: 12
Bridge OS Version: 4.6 (17P6610)
Anonymous UUID: 56F97AB2-6B29-99A2-1AFE-B5C310538683
Sleep/Wake UUID: 7BB83DF5-5828-418D-A809-3954DAC85F50
Time Awake Since Boot: 57000 seconds
Time Since Wake: 30000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [38687]