Skip to content
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

Segfault during use of sfizz_render #1260

Open
michaelkaeppler opened this issue Apr 10, 2024 · 5 comments
Open

Segfault during use of sfizz_render #1260

michaelkaeppler opened this issue Apr 10, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@michaelkaeppler
Copy link

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
Copy link
Author

@michaelkaeppler
Copy link
Author

Same file works fine with the Win64-build shipped in release 1.2.3.

@GeoffreyPlitt
Copy link

@michaelkaeppler I love the potential of this project, but I'm not sure how active development is now. Have you had any success with getting a response from the developers?

@paulfd paulfd self-assigned this Oct 25, 2024
@paulfd paulfd added the bug Something isn't working label Oct 25, 2024
@paulfd
Copy link
Member

paulfd commented Oct 25, 2024

I don't have much time for it no, and I'm the main/sole maintainer these days. Some people use sfizz downstream though and can maybe help sometimes.

@paulfd
Copy link
Member

paulfd commented Oct 25, 2024

What exact CPU/OS are you using? Typically such illegal instructions vary alot between CPUs...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants