Segmentation fault trying to use ladspa lsp plugins.
-
PipeWire version (
pipewire --version
): pipewire Compiled with libpipewire 0.3.45 Linked with libpipewire 0.3.45 -
Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Archlinux -
Desktop Environment: kde plasma
-
Kernel version (
uname -r
): 5.16.8-arch1-1
Description of Problem:
Pipewire segfaults when trying to use lsp plugins.
How Reproducible:
koko@Gozer# cat ~/.config/pipewire/equalizer.conf
#start with pipewire -c test.conf
context.properties = {
log.level = 2
}
context.spa-libs = {
audio.convert.* = audioconvert/libspa-audioconvert
support.* = support/libspa-support
}
context.modules = [
{ name = libpipewire-module-rt
args = {
#nice.level = -11
#rt.prio = 88
#rt.time.soft = 200000
#rt.time.hard = 200000
}
flags = [ ifexists nofail ]
}
{ name = libpipewire-module-protocol-native }
{ name = libpipewire-module-client-node }
{ name = libpipewire-module-adapter }
{ name = libpipewire-module-filter-chain
args = {
node.name = "test_node_name"
node.description = "test_node_description"
media.name = "test_media_name"
filter.graph = {
nodes = [
{
type = ladspa
name = test_name
plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
label = "http://lsp-plug.in/plugins/ladspa/para_equalizer_x32_stereo"
#plugin = /usr/lib/ladspa/bs2b.so
#label = bs2b
control = {
}
}
]
}
capture.props = {
media.class = Audio/Sink
audio.channels = 2
audio.position = [ FL FR ]
}
}
}
]
koko@Gozer# gdb run -args pipewire -c /koko/.config/pipewire/equalizer.conf
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pipewire...
(No debugging symbols found in pipewire)
(gdb) run
Starting program: /usr/bin/pipewire -c /koko/.config/pipewire/equalizer.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff738f1a4 in ?? () from /usr/lib/pipewire-0.3/libpipewire-module-filter-chain.so
(gdb) bt
#0 0x00007ffff738f1a4 in ?? () from /usr/lib/pipewire-0.3/libpipewire-module-filter-chain.so
#1 0x00007ffff7396337 in pipewire.module_init () from /usr/lib/pipewire-0.3/libpipewire-module-filter-chain.so
#2 0x00007ffff7f0ae35 in pw_context_load_module () from /usr/lib/libpipewire-0.3.so.0
#3 0x00007ffff7ee597d in ?? () from /usr/lib/libpipewire-0.3.so.0
#4 0x00007ffff7edf70a in pw_context_conf_section_for_each () from /usr/lib/libpipewire-0.3.so.0
#5 0x00007ffff7edf9ae in pw_context_parse_conf_section () from /usr/lib/libpipewire-0.3.so.0
#6 0x00007ffff7ee7435 in pw_context_new () from /usr/lib/libpipewire-0.3.so.0
#7 0x00005555555552a1 in ?? ()
#8 0x00007ffff7ce6b25 in __libc_start_main () from /usr/lib/libc.so.6
#9 0x000055555555548e in ?? ()