Wireplumber core dump and Pipewire end points

Kind of long but I can’t paste in a text file.
ystemctl --user -v restart wireplumber
Mar 27 13:51:47 Titan systemd[2199]: Stopping Multimedia Service Session Manager…
Mar 27 13:51:47 Titan wireplumber[2419]: pw.core: 0x55badcf0deb0: leaked proxy 0x55badcf6edc0 id:3
Mar 27 13:51:47 Titan wireplumber[2419]: pw.core: 0x55badcf0deb0: leaked proxy 0x55badcfa8f20 id:4
Mar 27 13:51:47 Titan wireplumber[2419]: pw.core: 0x55badcf0deb0: leaked proxy 0x55badcf413c0 id:6
Mar 27 13:51:47 Titan wireplumber[2419]: **
Mar 27 13:51:47 Titan wireplumber[2419]: GLib-GObject:ERROR:…/gobject/gsignal.c:4084:invalid_closure_notify: assertion failed: (handler != NULL)
Mar 27 13:51:47 Titan wireplumber[2419]: Bail out! GLib-GObject:ERROR:…/gobject/gsignal.c:4084:invalid_closure_notify: assertion failed: (handler != NULL)
Mar 27 13:51:48 Titan systemd-coredump[10765]: [🡕] Process 2419 (wireplumber) of user 1000 dumped core.

                                           Stack trace of thread 2419:
                                           #0  0x00007f971d09dc9c __pthread_kill_implementation (libc.so.6 + 0x9dc9c)
                                           #1  0x00007f971d042786 raise (libc.so.6 + 0x42786)
                                           #2  0x00007f971d02934b abort (libc.so.6 + 0x2934b)
                                           #3  0x00007f971d42007c n/a (libglib-2.0.so.0 + 0x2407c)
                                           #4  0x00007f971d48d0da g_assertion_message_expr (libglib-2.0.so.0 + 0x910da)
                                           #5  0x00007f971d587c78 n/a (libgobject-2.0.so.0 + 0x2bc78)
                                           #6  0x00007f971d573455 g_closure_invalidate (libgobject-2.0.so.0 + 0x17455)
                                           #7  0x00007f971d57880a n/a (libgobject-2.0.so.0 + 0x1c80a)
                                           #8  0x00007f971d579e93 g_object_unref (libgobject-2.0.so.0 + 0x1de93)
                                           #9  0x00007f971d60836e n/a (libwireplumber-0.5.so.0 + 0x4436e)
                                           #10 0x00007f971d606e05 n/a (libwireplumber-0.5.so.0 + 0x42e05)
                                           #11 0x00007f971d579e93 g_object_unref (libgobject-2.0.so.0 + 0x1de93)
                                           #12 0x00007f971d59c44f g_value_unset (libgobject-2.0.so.0 + 0x4044f)
                                           #13 0x00007f971c6a9087 n/a (libwireplumber-module-lua-scripting.so + 0x1d087)
                                           #14 0x00007f971a5d69fe n/a (liblua5.4.so.5 + 0x129fe)
                                           #15 0x00007f971a5d94c1 n/a (liblua5.4.so.5 + 0x154c1)
                                           #16 0x00007f971a5d1d5b n/a (liblua5.4.so.5 + 0xdd5b)
                                           #17 0x00007f971a5d3dce n/a (liblua5.4.so.5 + 0xfdce)
                                           #18 0x00007f971a5d4187 n/a (liblua5.4.so.5 + 0x10187)
                                           #19 0x00007f971a5d9b18 n/a (liblua5.4.so.5 + 0x15b18)
                                           #20 0x00007f971a5db5ee n/a (liblua5.4.so.5 + 0x175ee)
                                           #21 0x00007f971d60836e n/a (libwireplumber-0.5.so.0 + 0x4436e)
                                           #22 0x00007f971d606e05 n/a (libwireplumber-0.5.so.0 + 0x42e05)
                                           #23 0x00007f971d579e93 g_object_unref (libgobject-2.0.so.0 + 0x1de93)
                                           #24 0x00007f971d5f27fe n/a (libwireplumber-0.5.so.0 + 0x2e7fe)
                                           #25 0x00007f971d579e93 g_object_unref (libgobject-2.0.so.0 + 0x1de93)
                                           #26 0x000055bab6493774 n/a (/usr/bin/wireplumber + 0x2774)
                                           #27 0x00007f971d02b2fb __libc_start_call_main (libc.so.6 + 0x2b2fb)
                                           #28 0x00007f971d02b3cb __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2b3cb)
                                           #29 0x000055bab6493915 n/a (/usr/bin/wireplumber + 0x2915)
                                           
                                           Stack trace of thread 2428:
                                           #0  0x00007f971d0a4772 __syscall_cancel_arch (libc.so.6 + 0xa4772)
                                           #1  0x00007f971d097f68 __internal_syscall_cancel (libc.so.6 + 0x97f68)
                                           #2  0x00007f971d097fc1 __syscall_cancel (libc.so.6 + 0x97fc1)
                                           #3  0x00007f971d120ee1 epoll_wait (libc.so.6 + 0x120ee1)
                                           #4  0x00007f971c9ea255 n/a (libspa-support.so + 0x1e255)
                                           #5  0x00007f971c9d5107 n/a (libspa-support.so + 0x9107)
                                           #6  0x00007f971d3ae8e1 n/a (libpipewire-0.3.so.0 + 0xa28e1)
                                           #7  0x00007f971d09bd51 start_thread (libc.so.6 + 0x9bd51)
                                           #8  0x00007f971d120bcc __clone3 (libc.so.6 + 0x120bcc)
                                           
                                           Stack trace of thread 2429:
                                           #0  0x00007f971d0a4772 __syscall_cancel_arch (libc.so.6 + 0xa4772)
                                           #1  0x00007f971d097f68 __internal_syscall_cancel (libc.so.6 + 0x97f68)
                                           #2  0x00007f971d097fc1 __syscall_cancel (libc.so.6 + 0x97fc1)
                                           #3  0x00007f971d112e72 ppoll (libc.so.6 + 0x112e72)
                                           #4  0x00007f971d45eb5f n/a (libglib-2.0.so.0 + 0x62b5f)
                                           #5  0x00007f971d45f2ac g_main_context_iteration (libglib-2.0.so.0 + 0x632ac)
                                           #6  0x00007f971d45f2f1 n/a (libglib-2.0.so.0 + 0x632f1)
                                           #7  0x00007f971d4903ed n/a (libglib-2.0.so.0 + 0x943ed)
                                           #8  0x00007f971d09bd51 start_thread (libc.so.6 + 0x9bd51)
                                           #9  0x00007f971d120bcc __clone3 (libc.so.6 + 0x120bcc)
                                           
                                           Stack trace of thread 2440:
                                           #0  0x00007f971d11e74d syscall (libc.so.6 + 0x11e74d)
                                           #1  0x00007f971d48ed22 n/a (libglib-2.0.so.0 + 0x92d22)
                                           #2  0x00007f971d58ec7c g_signal_handlers_destroy (libgobject-2.0.so.0 + 0x32c7c)
                                           #3  0x00007f971d579fc6 g_object_unref (libgobject-2.0.so.0 + 0x1dfc6)
                                           #4  0x00007f971cf1e155 n/a (libgio-2.0.so.0 + 0x11a155)
                                           #5  0x00007f971cf34dbd n/a (libgio-2.0.so.0 + 0x130dbd)
                                           #6  0x00007f971cf34ee9 n/a (libgio-2.0.so.0 + 0x130ee9)
                                           #7  0x00007f971d459d6e n/a (libglib-2.0.so.0 + 0x5dd6e)
                                           #8  0x00007f971d45bb76 n/a (libglib-2.0.so.0 + 0x5fb76)
                                           #9  0x00007f971d45ea68 n/a (libglib-2.0.so.0 + 0x62a68)
                                           #10 0x00007f971d45f4c7 g_main_loop_run (libglib-2.0.so.0 + 0x634c7)
                                           #11 0x00007f971cf33eb6 n/a (libgio-2.0.so.0 + 0x12feb6)
                                           #12 0x00007f971d4903ed n/a (libglib-2.0.so.0 + 0x943ed)
                                           #13 0x00007f971d09bd51 start_thread (libc.so.6 + 0x9bd51)
                                           #14 0x00007f971d120bcc __clone3 (libc.so.6 + 0x120bcc)
                                           
                                           Stack trace of thread 2441:
                                           #0  0x00007f971d0a4772 __syscall_cancel_arch (libc.so.6 + 0xa4772)
                                           #1  0x00007f971d097f68 __internal_syscall_cancel (libc.so.6 + 0x97f68)
                                           #2  0x00007f971d097fc1 __syscall_cancel (libc.so.6 + 0x97fc1)
                                           #3  0x00007f971d120ee1 epoll_wait (libc.so.6 + 0x120ee1)
                                           #4  0x00007f971c9ea255 n/a (libspa-support.so + 0x1e255)
                                           #5  0x00007f971c9d5107 n/a (libspa-support.so + 0x9107)
                                           #6  0x00007f971d34c2ec n/a (libpipewire-0.3.so.0 + 0x402ec)
                                           #7  0x00007f971d09bd51 start_thread (libc.so.6 + 0x9bd51)
                                           #8  0x00007f971d120bcc __clone3 (libc.so.6 + 0x120bcc)
                                           
                                           Stack trace of thread 2438:
                                           #0  0x00007f971d11e74d syscall (libc.so.6 + 0x11e74d)
                                           #1  0x00007f971d48fc9e g_cond_wait (libglib-2.0.so.0 + 0x93c9e)
                                           #2  0x00007f971d4255b4 n/a (libglib-2.0.so.0 + 0x295b4)
                                           #3  0x00007f971d4906a4 n/a (libglib-2.0.so.0 + 0x946a4)
                                           #4  0x00007f971d4903ed n/a (libglib-2.0.so.0 + 0x943ed)
                                           #5  0x00007f971d09bd51 start_thread (libc.so.6 + 0x9bd51)
                                           #6  0x00007f971d120bcc __clone3 (libc.so.6 + 0x120bcc)
                                           ELF object binary architecture: AMD x86-64

Mar 27 13:51:48 Titan systemd[2199]: wireplumber.service: Main process exited, code=dumped, status=6/ABRT
Mar 27 13:51:49 Titan wireplumber[10774]: [0:24:12.480970324] [10774] WARN IPAManager ipa_manager.cpp:158 No IPA found in ‘/usr/lib64/libcamera/ipa’
Mar 27 13:51:49 Titan wireplumber[10774]: [0:24:12.480991247] [10774] INFO Camera camera_manager.cpp:340 libcamera v0.7.0
Mar 27 13:51:48 Titan systemd[2199]: wireplumber.service: Failed with result ‘core-dump’.
Mar 27 13:51:48 Titan systemd[2199]: Stopped Multimedia Service Session Manager.
Mar 27 13:51:48 Titan systemd[2199]: wireplumber.service: Consumed 7.330s CPU time over 23min 2.044s wall clock time.
Mar 27 13:51:48 Titan systemd[2199]: Started Multimedia Service Session Manager.
Mar 27 13:51:49 Titan wireplumber[10774]: spa.bluez5: BlueZ system service is not available

There are somewhat similar reports for other distros, somebody suggests a regression in wireplumber.
Can you download and install wireplumber-0.5.13-2.1.x86_64.rpm and see if that helps? You may need to install some dependencies from that same Tumbleweed history repo.

That worked, you are the best!!

I grabbed the wireplumber, wireplumber-bash-completion, and libwireplumber packages all at the latest 5.13 version and downgraded the 3 5.14 packages I had installed to that older version and everything is working now.

Oddly I still get that wireplumber core dump but the audio is all back to normal.

So it would seem that as you suspected the wireplumber 5.14 version is broken.

thankls so much :slight_smile:

Nice to read that sound is working, but that is just a workaround, so please lock the 3 wireplumber packages for the time being to avoid trouble on the next dup.
And nice to see that you already reported the issue as boo1260861

Yes, will do and thanks. We can hope this gets resolved soon.

There was a new version of wireplumber pushed on today’s TW update: 0.5.14-1.1

It is still broken and I have reverted to the 5.13 version again.

So we still need a fix.

I did file an upstream bug report on this but so far, no fix yet.

Always appreciate any ideas to assist in troubleshooting this in any way.

Just an update on this…

There was a wireplumber 0.5.14-1.3 version on the experimental multimedia repo and then today a wireplumber 0.5.14-1.4 version.

I installed the 1.4 version and rebooted. But the 1.4 version is still broken.

The last working wireplumber version here for me is 0.5.13-3.6

So, right now no progress on the bug. As always let me know if anytoine has any ideas on what to test to assist with this.

I noticed a new version on the experimental multimedia repo again today of wireplumber and that was version 0.5.14-1.5

I installed that version and rebooted. That package is also still broken.

So, thus far only the latest 0.5.13 version of wireplumber is working.

You can look here, if there is something new:
wireplumber

PS:The last numbers are updated when the package is rebuild as dependency for another package or with small changes, the version is the same…

I think the wireplumber gets a new version with your changes…

Thanks for the link.

I suspect that there were some significant changes to the .14 wireplumber version and that broke some pipewire and Bluetooth things for folks that are using those endpoints. It wouldn’t have killed sound for everyone since ALSA still works.

Hopefully we will see a fix for this. And I am always ready to do any testing that I can here to help anyone working on this issue.

I have read it.

But the link I posted is the Repo for the new versions and you can see on the date of the sources, that nothing has changed.

It is only a rebuild by dependency to other packages.

The only thing you can do is waiting for a patch in the git Repo and pointing to that in your bugreport.

Thanks, and will do.

I’ll keep an eye on the git repo :slight_smile:

I was doing some additional comparing between the working wireplumber 0.5.13 and the broken 0.5.14 versions and I found something interesting.

I have one app playing sound (sdrpp) and one that needs the monitor (capture) of this stream (wsjtx). This works in version .13 but fails in .14 because the monitor (capture) of the (sdrpp) stream pops up for just an instant and then goes away in .14

I was testing using pw-top and I snapped these. The only difference between the two is that I moved from wireplumber 0.5.13 on the working screenshot to 0.5.14 on the broken screenshot with a reboot in between. Nothing else changed.
Any suggestions to troubleshoot why the capture fails on .14 would be appreciated



.

Earlier on this thread I suggested to install helvum, don’t know if you did that or not.
That should clearly display existing nodes, so for instance you can see if the capture node in question disappears or is simply disconnected.
If the latter, in helvum you may be able to reconnect it (just by clicking and dragging the output port to its destination input).

I didn’t install Helvium. I’ll install that and test the before and after wireplumber versions later tonight and report back.

Thanks for the bump :slight_smile:

Thanks for the tip on Helvum. That did make understanding what is going on a lot easier.

In 0.5.13 the monitor pops up and shows the routed audio out of the monitor of the built-in analog stereo source that is doing the playback from the app generating the sound to the app needing the monitor audio.

On 0.5.14 the monitor pops up for an instant as the app needing the monitor launches and then it disappears. I can’t see any way to enable it from Helvum or any diag info inthe Helvum window? It looks like it wants to work and then is killed immediately.

There is also wpctl (check man wpctl) but that is above my pay grade :wink:

There was a good discussion and a lot of help on the Wireplumber git list and here is the link with the solution to this issue:

The fix is detailed athte end so I won’t retype it all here. But the short answer is that the .14 version for some reason did not respect the default setting for recording to be monitor and .13 did. Set this once and it is remembered.

So this is solved.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.