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.

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

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
Redictcommented, Mar 23, 2021

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

1reaction
Redictcommented, Mar 25, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

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