You are not logged in.

#1 2024-06-05 07:38:54

tracing
Member
Registered: 2024-05-27
Posts: 6

[RESOLVED] WirePlumber is failing to start

Hi everyone,

I seem to be having a strange issue with audio playback on my PC.

I noticed that I am unable to watch any videos with audio on KDE Plasma 6, and it will endlessly buffer on streaming websites such as YouTube, due to the audio device not being available.
However, the "speaker-test" command runs flawlessly without any issues.

I tried to see if the conflict is potentially with WirePlumber, and it sure enough was!

It continuously fails, and provides the error, "Failed to start Multimedia Service Session Manager.".

I have tried reinstalling WirePlumber, and unmuting my speakers, along with reviewing any older posts from here to see if there is a potential fix for the issue; however, it has been to no avail.

Here is the actual output of me checking the service's status:

[savion@archlinux ~]$ systemctl --user status wireplumber
× wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: failed (Result: core-dump) since Wed 2024-06-05 00:27:37 MST; 8min ago
   Duration: 11ms
    Process: 29838 ExecStart=/usr/bin/wireplumber (code=dumped, signal=SEGV)
   Main PID: 29838 (code=dumped, signal=SEGV)
        CPU: 11ms

Jun 05 00:27:36 archlinux systemd[777]: wireplumber.service: Main process exited, code=dumped, stat>
Jun 05 00:27:36 archlinux systemd[777]: wireplumber.service: Failed with result 'core-dump'.
Jun 05 00:27:37 archlinux systemd[777]: wireplumber.service: Scheduled restart job, restart counter>
Jun 05 00:27:37 archlinux systemd[777]: wireplumber.service: Start request repeated too quickly.
Jun 05 00:27:37 archlinux systemd[777]: wireplumber.service: Failed with result 'core-dump'.
Jun 05 00:27:37 archlinux systemd[777]: Failed to start Multimedia Service Session Manager.
lines 1-14/14 (END)

I will be greatly appreciative if anyone can assist me with this issue!

Thank you! smile

Last edited by tracing (2024-06-05 16:36:48)

Offline

#2 2024-06-05 07:56:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: [RESOLVED] WirePlumber is failing to start

Check the actual journal with e.g.

journalctl -b --user-unit=wireplumber

and post the actual coredump contents: https://wiki.archlinux.org/title/Core_d … _core_dump (note the link for getting further traces with debug symbols).

Did you ever custom configure anything and if you did, did you port the config from the LUA to the .conf format? https://pipewire.pages.freedesktop.org/ … ation.html

A quick cursory check reveals two new commits and a bug report, mentioning a potential crash with empty configuration files: https://gitlab.freedesktop.org/pipewire … issues/671 -- so definitely double check you don't have anything lying around empty.

Last edited by V1del (2024-06-05 08:04:12)

Offline

#3 2024-06-05 08:30:41

tracing
Member
Registered: 2024-05-27
Posts: 6

Re: [RESOLVED] WirePlumber is failing to start

V1del wrote:

Check the actual journal with e.g.

journalctl -b --user-unit=wireplumber

and post the actual coredump contents: https://wiki.archlinux.org/title/Core_d … _core_dump (note the link for getting further traces with debug symbols).

I went ahead and fetched the journal, and it seems like some type of C error, perhaps? However, I'm not too entirely sure as to what could be causing it.

The contents from executing the journal command are:

[savion@archlinux ~]$ journalctl -b --user-unit=wireplumber
Jun 04 23:45:26 archlinux systemd[777]: Started Multimedia Service Session Manager.
Jun 04 23:45:26 archlinux wireplumber[790]: GLib: g_strrstr_len: assertion 'haystack != NULL' failed
Jun 04 23:45:26 archlinux systemd-coredump[797]: [?] Process 790 (wireplumber) of user 1000 dumped >

                                                 Stack trace of thread 790:
                                                 #0  0x000073ddf585de0b n/a (libc.so.6 + 0x4ce0b)
                                                 #1  0x000073ddf5cba833 wp_spa_json_is_int (libwire>
                                                 #2  0x000073ddf5c9a07e n/a (libwireplumber-0.5.so.>
                                                 #3  0x000073ddf5c9a675 wp_conf_open (libwireplumbe>
                                                 #4  0x000073ddf5c9a8a8 wp_conf_new_open (libwirepl>
                                                 #5  0x000055ad68aba154 n/a (wireplumber + 0x2154)
                                                 #6  0x000073ddf5836c88 n/a (libc.so.6 + 0x25c88)
                                                 #7  0x000073ddf5836d4c __libc_start_main (libc.so.>
                                                 #8  0x000055ad68aba8f5 n/a (wireplumber + 0x28f5)
                                                 ELF object binary architecture: AMD x86-64
Jun 04 23:45:26 archlinux systemd[777]: wireplumber.service: Main process exited, code=dumped, stat>
Jun 04 23:45:26 archlinux systemd[777]: wireplumber.service: Failed with result 'core-dump'.
Jun 04 23:45:26 archlinux systemd[777]: wireplumber.service: Scheduled restart job, restart counter>
Jun 04 23:45:26 archlinux systemd[777]: Started Multimedia Service Session Manager.
Jun 04 23:45:26 archlinux wireplumber[842]: GLib: g_strrstr_len: assertion 'haystack != NULL' failed
Jun 04 23:45:26 archlinux systemd-coredump[849]: [?] Process 842 (wireplumber) of user 1000 dumped >

                                                 Stack trace of thread 842:
                                                 #0  0x000073d9946e7e0b n/a (libc.so.6 + 0x4ce0b)
                                                 #1  0x000073d994b44833 wp_spa_json_is_int (libwire>
                                                 #2  0x000073d994b2407e n/a (libwireplumber-0.5.so.>
                                                 #3  0x000073d994b24675 wp_conf_open (libwireplumbe>
                                                 #4  0x000073d994b248a8 wp_conf_new_open (libwirepl>
                                                 #5  0x00005e0a33199154 n/a (wireplumber + 0x2154)
                                                 #6  0x000073d9946c0c88 n/a (libc.so.6 + 0x25c88)
                                                 #7  0x000073d9946c0d4c __libc_start_main (libc.so.>
                                                 #8  0x00005e0a331998f5 n/a (wireplumber + 0x28f5)
V1del wrote:

Did you ever custom configure anything and if you did, did you port the config from the LUA to the .conf format? https://pipewire.pages.freedesktop.org/ … ation.html

I have not configured anything related to wireplumber. The most I have did with it was probably the installation, and that was... about a few months ago. I do update it as much as I can though.

V1del wrote:

A quick cursory check reveals two new commits and a bug report, mentioning a potential crash with empty configuration files: https://gitlab.freedesktop.org/pipewire … issues/671 -- so definitely double check you don't have anything lying around empty.

This could definitely be a potential issue. I have so far checked /usr/share/wireplumber to see if I have any empty configuration files myself, but it seems like wireplumber.conf is populated and functioning normally. Would I be safe to remove that file, and see if things function properly without it?

All in all, this seems like a conflict that may have arised with an update that I haven't noticed until later.

Last edited by tracing (2024-06-05 08:32:23)

Offline

#4 2024-06-05 08:59:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: [RESOLVED] WirePlumber is failing to start

According to the bug report it should be a literally empty file somewhere, check ~/.config/wireplumber and ~/.local/share/wireplumber for some local dirs that are sourced as well, potentially try to run wireplumber through strace to see which paths it's accessing before dying.

Alternate fixes would be downgrading to 0.5.2 or updating to wireplumber-git (... or making an Arch bug report for a backport), but ideally you need to figure out which file it is that's currently empty.

Offline

#5 2024-06-05 16:36:26

tracing
Member
Registered: 2024-05-27
Posts: 6

Re: [RESOLVED] WirePlumber is failing to start

Hey, that seemed to be the issue! I found a configuration file inside of ~/.config/wireplumber/wireplumber.conf.d named "0-alsa-config.conf"--removing it and restarting my system seemed to bring back the audio devices on KDE.

Thank you for your help! smile

Offline

Board footer

Powered by FluxBB