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 in Reverb_setParamf #966

Open
LordOfDragons opened this issue Jan 29, 2024 · 1 comment
Open

Segfault in Reverb_setParamf #966

LordOfDragons opened this issue Jan 29, 2024 · 1 comment

Comments

@LordOfDragons
Copy link

b'0x00000000000395d0: __restore_rt at libc_sigaction.c:?'
b'0x0000000000018e86: x86_64_fallback_frame_state at md-unwind-support.h:63\n (inlined by) uw_frame_state_for at unwind-dw2.c:1013'
b'0x0000000000019eb6: uw_identify_context at unwind-dw2.c:1465\n (inlined by) _Unwind_RaiseException_Phase2 at unwind.inc:53'
nm: /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1: no symbols
b'0x0000000000254add: (anonymous namespace)::Reverb_setParamf(EffectProps*, int, float) at reverb.cpp:65'
b'0x0000000000235b2b: (anonymous namespace)::ALeffect_setParamf(ALeffect*, int, float) at effect.cpp:123'
b'0x0000000000236fb8: alEffectf at effect.cpp:415'

I don't know what it triggered but this caused a segfault with:
Segmentation Fault! Unknown memory error at (nil).

Version openal-soft-1.22.2

@kcat
Copy link
Owner

kcat commented Jan 29, 2024

If possible, try the latest Git version. It significantly alters how effect parameters are set by using variants instead of vtable function pointers and a union. If you can't, it may still be worth trying the latest release, 1.23.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants