zhangdeyue <abcdyzh...@163.com> added the comment:

ok, I found this bug when I use librosa-0.5.1 to read audio file in the 
audio-classification project -- an ASR project. 
(https://github.com/nextco/audio-classification)

In the project, librosa.load function read audio file, and it called wave.open 
function finally. But all of the functions don't validate the audio file which 
lead to the project dividing by zero. 

Although the bug is easy and small, I think the bug should be fixed because 
there are so many python-library(such as librosa, audioread) use it without 
validation in more and more popular ASR project.

My program backtrace is as follow:
https://github.com/BT123/testcasesForMyRequest/blob/master/wave-1.png
https://github.com/BT123/testcasesForMyRequest/blob/master/wave-2.png

----------
versions:  -Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32056>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to