Windows: after importing Csound, numba crashes (0xC0000005) during load/resample
See original GitHub issueDescribe the bug
When librosa.load(file, sr=44100)
being called on Windows, application exits with 0xC0000005
error code
To Reproduce Example:
import librosa
target_sr = 44100
audio, orig_sr = librosa.load(filename, sr=target_sr)
Expected behavior File being processed correctly and program doesn’t exists.
Software versions
>>> import platform; print(platform.platform())
Windows-10-10.0.19041-SP0
>>> import sys; print("Python", sys.version)
Python 3.9.2 (default, Mar 3 2021, 15:03:14) [MSC v.1916 64 bit (AMD64)]
>>> import numpy; print("NumPy", numpy.__version__)
NumPy 1.20.1
>>> import scipy; print("SciPy", scipy.__version__)
SciPy 1.6.1
>>> import librosa; print("librosa", librosa.__version__)
librosa 0.8.0
>>>
>>> librosa.show_versions()
INSTALLED VERSIONS
------------------
python: 3.9.2 (default, Mar 3 2021, 15:03:14) [MSC v.1916 64 bit (AMD64)]
librosa: 0.8.0
audioread: 2.1.9
numpy: 1.20.1
scipy: 1.6.1
sklearn: 0.24.1
joblib: 1.0.1
decorator: 4.4.2
soundfile: 0.10.3
resampy: 0.2.2
numba: 0.53.0
numpydoc: None
sphinx: None
sphinx_rtd_theme: None
sphinxcontrib.versioning: None
sphinx-gallery: None
pytest: None
pytest-mpl: None
pytest-cov: None
matplotlib: None
presets: None
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Program crashes with ACCESS_VIOLATION. Windows only. · Issue ...
Reporting a bug >>> import numba >>> numba. ... Windows: after importing Csound, numba crashes (0xC0000005) during load/resample librosa/librosa#1294.
Read more >Exception code: 0xc0000005 - Crash to Desktop in Several ...
I have been experiencing app crashes for several days. Results in a crash to desktop and its always the same error code.
Read more >Process finished with exit code -1073741819 (0xC0000005 ...
Running the script from powershell and cmd as admin but it crashes (after reaching the same location in the code) without any error/exit...
Read more >Issues-librosa/librosa - PythonTechWorld
Describe the bug When getting a chromagram of a signal with n_chroma ... Windows: after importing Csound, numba crashes (0xC0000005) during load/resample.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, the problem was solved and it wasn’t
librosa
, it was wrong verison ofctcsound
binding, thanks so much for the answers!The problem was in Numba. If there is
python27.dll
insystem32
folder it fails. Thank you anyway.