-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-awhitening issue #216
Comments
hi @niugx Thanks for the report. I could not reproduce it, and I see no reason why I've just pushed a branch Best, piem |
hi @piem Are you modify line 48 of test-awhitening.c like follwing? 48 new_aubio_spectral_whitening (win_size*4, hop_size, samplerate); modify the first parameter of new_aubio_spectral_whitening to "win_size*4", may cause fftgrain->norm[i] of line 49 of awhitening.c array write overflow, i think maybe this is reason. 43 aubio_spectral_whitening_do (aubio_spectral_whitening_t * o, cvec_t * fftgrain) when remove line 60 of test-awhitening.c, this issue doesn't occur. you can try this again? |
Ok, well, I have just pushed a fix for this one. However, note that you will find several ways to create pipelines that crash. Most |
root@ubuntu:/opt/aubio-0.4.7/build/tests# gdb ./test-awhitening
......
(gdb) b source.c:129
No source file named source.c.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (source.c:129) pending.
(gdb) r
Starting program: /opt/aubio-0.4.7/build/tests/test-awhitening ../../../ringback.wav output_path/ringback.wav
spectral whitening relaxation time is 20.000000
Breakpoint 1, aubio_source_do (s=0x6058e0, data=0x603010, read=0x7fffffffe2e8) at ../src/io/source.c:129
129 s->s_do((void *)s->source, data, read);
(gdb) p s->s_do
$1 = (aubio_source_do_t) 0x7ffff7bb1bae <aubio_source_sndfile_do>
(gdb) c
Continuing.
Breakpoint 1, aubio_source_do (s=0x6058e0, data=0x603010, read=0x7fffffffe2e8) at ../src/io/source.c:129
129 s->s_do((void *)s->source, data, read);
(gdb) p s->s_do
$2 = (aubio_source_do_t) 0x31c3ec8fe64674a
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bb1725 in aubio_source_do (s=0x6058e0, data=0x603010, read=0x7fffffffe2e8) at ../src/io/source.c:129
129 s->s_do((void *)s->source, data, read);
(gdb)
The text was updated successfully, but these errors were encountered: