Closed cdhowie closed 4 years ago
#0 0x00007fffe8b97940 in hanning () at /usr/lib/x86_64-linux-gnu/libcodec2.so.0.8.1
should call the local method in extra-functions.c: https://github.com/lucianodato/noise-repellent/blob/9efdd0b41ec184a792087c87cbf5382f455e33ec/src/extra_functions.c#L786
Declaring those helper functions static
should fix this issues.
The plugin should also be compiled with -fvisibility-hidden
.
Otherwise, since plugins a shared objects, functions like hamming
or hanning
are exposed in the global namespace, or methods already present there in are used instead.
I've tested and the PR does resolve the issue for me.
When I try to add this plugin to an Ardour channel's processors, Ardour immediately segfaults. I have compiled Ardour 5.12 from source with debugging symbols and have captured the following backtrace:
Note that I'm using libfftw3 from Debian Buster, which is 3.3.8.
Let me know if there is any other information I can provide to help diagnose this issue.