librosa: Windows: after importing Csound, numba crashes (0xC0000005) during load/resample

Describe 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

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Hi, the problem was solved and it wasn’t librosa, it was wrong verison of ctcsound binding, thanks so much for the answers!

The problem was in Numba. If there is python27.dll in system32 folder it fails. Thank you anyway.