UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' #303
I keep on getting 1 leaked semaphore objects error.
Full error message (faulthandler enabled):
Fatal Python error: Segmentation fault
Thread 0x000070000e902000 (most recent call first):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 306 in wait
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 558 in wait
File "/Users/bruce/Research&Project/NLP/LingFeat/venv/lib/python3.8/site-packages/tqdm/_monitor.py", line 60 in run
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 890 in _bootstrap
Current thread 0x000000011e2d1e00 (most recent call first):
File "/Users/.../venv/lib/python3.8/site-packages/spacy/language.py", line 445 in __call__
File "/Users/...", line 56 in __init__
File "test.py", line 9 in extract_features
File "test.py", line 18 in iterator
File "test.py", line 38 in <module>
[1] 32955 segmentation fault python test.py
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
I keep on getting 1 leaked semaphore objects error.
Full error message (faulthandler enabled):
To reproduce the issue:
I'm running:
What I've tried: