Bug 31132

Summary: wpctl crashes
Product: Mageia Reporter: Lewis Smith <lewyssmith>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=30284
Whiteboard:
Source RPM: wireplumber-0.4.12-2.mga9.src.rpm CVE:
Status comment:

Description Lewis Smith 2022-11-16 11:46:14 CET
Description of problem:
Trying at least
 $ wpctl status
M 11:38:06.425130            pw.conf ../src/pipewire/conf.c:939:try_load_conf: can't load config client.conf: No such file or directory
W 11:38:06.425202            pw.conf ../src/pipewire/conf.c:963:pw_conf_load_conf_for_context: can't load default config client.conf: No such file or directory
C 11:38:06.425226            wp-core (null):(null):(null): wp_core_constructed: assertion 'self->pw_context' failed
Segmentation fault (core dumped)

How reproducible:
Every time

The two complaints about pw.conf are also seen with:
 $ wpctl -h
M 11:40:55.529114            pw.conf ../src/pipewire/conf.c:939:try_load_conf: can't load config client.conf: No such file or directory
W 11:40:55.529191            pw.conf ../src/pipewire/conf.c:963:pw_conf_load_conf_for_context: can't load default config client.conf: No such file or directory
C 11:40:55.529211            wp-core (null):(null):(null): wp_core_constructed: assertion 'self->pw_context' failed
Defnydd:
  wpctl [OPTION…] COMMAND [COMMAND_OPTIONS] - WirePlumber Control CLI
Commands:
[listed]

Assigning to tv who is the active maintainer of this SRPM 'wireplumber'.
Comment 1 Jani Välimaa 2022-12-05 17:50:40 CET
Works if pipewire-alsa providing /usr/share/pipewire/client.conf is installed. I'll move client.conf and client-rt.conf to main pipewire pkg.

CC: (none) => jani.valimaa

Jani Välimaa 2022-12-05 20:22:57 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=30284

Comment 2 Jani Välimaa 2022-12-05 20:23:23 CET
Fixed with pipewire-0.3.61-3.mga9.

Status: NEW => RESOLVED
Resolution: (none) => FIXED