Segfault during use of `sfizz_render`
michaelkaeppler opened this issue · 5 comments
michaelkaeppler commented
When trying to convert the attached MIDI file with the Salamander soundfont to WAV, sfizz_render
crashes.
The used version was compiled from 6cd063d under Ubuntu Focal.
Backtrace:
0 __memmove_avx_unaligned_erms ()
at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:436
#1 0x00005555555e1e85 in sfz::copy<float> (output=..., input=...)
at /home/michael/sfizz/src/sfizz/SIMDHelpers.h:540
#2 sfz::Voice::Impl::amplitudeEnvelope (this=this@entry=0x555555a59fe0,
modulationSpan=...) at /home/michael/sfizz/src/sfizz/Voice.cpp:900
#3 0x00005555555e554a in sfz::Voice::Impl::ampStageStereo (
this=this@entry=0x555555a59fe0, buffer=...)
at /home/michael/sfizz/src/sfizz/Voice.cpp:949
#4 0x00005555555e7e56 in sfz::Voice::renderBlock (
this=this@entry=0x555555a1fbf8, buffer=...)
at /home/michael/sfizz/src/sfizz/AudioSpan.h:209
#5 0x00005555555aae03 in sfz::Synth::renderBlock (this=<optimized out>,
buffer=...) at /home/michael/sfizz/src/sfizz/AudioSpan.h:209
#6 0x0000555555576fd8 in main (argc=8, argv=0x7fffffffdf68)
at /home/michael/sfizz/src/./sfizz/AudioSpan.h:194
michaelkaeppler commented
Same file works fine with the Win64-build shipped in release 1.2.3.