MusicPlayerDaemon / MPD

Music Player Daemon
https://www.musicpd.org/
GNU General Public License v2.0
2.18k stars 352 forks source link

mpd crashes whenever I stop the playback (via pipewire) #1464

Closed kowalcj0 closed 2 years ago

kowalcj0 commented 2 years ago

Bug report

Describe the bug

Whenever I stop the playback (via PipeWire) of any track or a stream, mpd crashes.

PS. Switching to pulse audio output fixes the issue. This is a bit strange, because on since Fedora 34, PipeWire runs a PulseAudio compatible replacement server.

Expected Behavior

mpd shouldn't crash when I stop the playback.

Actual Behavior

ditto.

Version

$ mpd --version
Music Player Daemon 0.23.5 (0.23.5)
Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2021 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
 simple proxy upnp

Storage plugins:
 local udisks nfs curl

Neighbor plugins:
 upnp udisks

Decoders plugins:
 [mad] mp3 mp2
 [mpg123] mp3
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [opus] opus ogg oga
 [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
 [audiofile] wav au aiff aif
 [dsdiff] dff
 [dsf] dsf
 [hybrid_dsd] m4a
 [faad] aac
 [wavpack] wv
 [openmpt] mptm mod s3m xm it 669 amf ams c67 dbm digi dmf dsm dtm far imf ice j2b m15 mdl med mms mt2 mtm nst okt plm psm pt36 ptm sfx sfx2 st26 stk stm stp ult wow gdm mo3 oxm umx xpk ppm mmcmp
 [modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
 [mikmod] amf dsm far gdm imf it med mod mtm s3m stm stx ult uni xm
 [sidplay] sid mus str prg P00
 [wildmidi] mid
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve rtp:// rtsp:// rtsps://
 [pcm]

Filters:
 libsamplerate soxr

Tag plugins:
 id3tag

Output plugins:
 shout null fifo pipe alsa ao oss openal pipewire pulse jack httpd snapcast recorder

Encoder plugins:
 null vorbis opus lame twolame wave flac

Archive plugins:
 [bz2] bz2
 [zzip] zip
 [iso] iso

Input plugins:
 file io_uring archive alsa qobuz curl ffmpeg nfs mms cdio_paranoia

Playlist plugins:
 extm3u m3u pls xspf asx rss soundcloud flac cue embcue

Protocols:
 file:// alsa:// cdda:// ftp:// ftps:// gopher:// hls+http:// hls+https:// http:// https:// mms:// mmsh:// mmst:// mmsu:// nfs:// qobuz:// rtmp:// rtmpe:// rtmps:// rtmpt:// rtmpte:// rtp:// rtsp:// rtsps:// scp:// sftp:// smb:// srtp://

Other features:
 avahi dbus udisks epoll icu inotify ipv6 systemd tcp un

Other details

Log

backtrace:

playlist: play 0:"http://193.0.98.66:8005/"
curl: icy-metaint=16384
decoder_thread: probing plugin mad
decoder: audio_format=44100:24:2, seekable=false
Downloading 0.02 MB separate debug info for /usr/lib64/spa-0.2/support/libspa-dbus.so
Downloading -0.00 MB separate debug info for /usr/lib64/libnss_sss.so.2
Downloading -0.00 MB separate debug info for /home/jk/.cache/debuginfod_client/f507413541bb0cb10590bccb2ead1bed2599c74b/debuginfo                                                                                                                                                                                             
Downloading -0.00 MB separate debug info for /usr/lib64/pipewire-0.3/libpipewire-module-protocol-native.so                                                                                                                                                                                                                    
Downloading -0.00 MB separate debug info for /usr/lib64/pipewire-0.3/libpipewire-module-client-node.so                                                                                                                                                                                                                        
Downloading -0.00 MB separate debug info for /usr/lib64/pipewire-0.3/libpipewire-module-client-device.so                                                                                                                                                                                                                      
Downloading -0.00 MB separate debug info for /usr/lib64/pipewire-0.3/libpipewire-module-adapter.so                                                                                                                                                                                                                            
Downloading -0.00 MB separate debug info for /usr/lib64/pipewire-0.3/libpipewire-module-metadata.so                                                                                                                                                                                                                           
Downloading -0.00 MB separate debug info for /usr/lib64/pipewire-0.3/libpipewire-module-session-manager.so                                                                                                                                                                                                                    
[New Thread 0x7fffc3f10640 (LWP 78127)]                                                                                                                                                                                                                                                                                       
Downloading -0.00 MB separate debug info for /usr/lib64/spa-0.2/audioconvert/libspa-audioconvert.so
output: opened "Pipewire RME" (pipewire) audio_format=44100:24:2                                                                                                                                                                                                                                                              
[New Thread 0x7fffc3667640 (LWP 78128)]
output: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
output: opened "fifo: ncmpcpp visualizer" (fifo) audio_format=22050:16:2
libsamplerate: setting samplerate conversion ratio to 0.5
output: converting in=44100:24:2 -> f=44100:24:2 -> out=22050:16:2
client: [1] command returned 0
playlist: queue song 1:"http://soul.audiogrooves.net/fresh-your-mind.ogg"
client: [2] opened from 127.0.0.1:33558
client: [1] closed
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "plchanges "0""
client: [2] command returned 0
client: [2] process command "outputs"
client: [2] command returned 0
client: [2] process command "decoders"
client: [2] command returned 0
client: [2] process command "outputs"
client: [2] command returned 0
client: [2] process command "outputs"
client: [2] command returned 0
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "plchanges "3""
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "stop"
playlist: stop
player: played "http://193.0.98.66:8005/"
Invalid cast.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.
[Thread 0x7fffc3f10640 (LWP 78127) exited]
output: closed "Pipewire RME" (pipewire)
output: closed "fifo: ncmpcpp visualizer" (fifo)
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1
client: [2] process command "status"
client: [2] command returned 0
client: [2] process command "idle"
client: [2] command returned 1

Thread 7 "Pipewire RME" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd8829640 (LWP 78108)]
0x00007fffc8051590 in ?? ()
(gdb) bt
#0  0x00007fffc8051590 in  ()
#1  0x00007fffdb4d9ddd in loop_iterate (object=<optimized out>, timeout=<optimized out>) at ../spa/plugins/support/loop.c:359
#2  0x00007ffff55060da in do_loop (user_data=0x7fffc8000dc0) at ../src/pipewire/thread-loop.c:262
#3  0x00007ffff334db1a in start_thread (arg=<optimized out>) at pthread_create.c:443
#4  0x00007ffff33d2650 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) q

journalctl -f:

Feb 27 21:22:15 carbon.local systemd[1]: Started Process Core Dump (PID 77262/UID 0).
Feb 27 21:22:15 carbon.local audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-coredump@8-77262-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 27 21:22:15 carbon.local systemd-coredump[77263]: [🡕] Process 76994 (mpd) of user 1000 dumped core.

      Found module linux-vdso.so.1 with build-id: 3eaf1487ed59834c6f348a7df2e791f82dbedfc2
      Found module libnss_sss.so.2 with build-id: f507413541bb0cb10590bccb2ead1bed2599c74b
      Found module libspa-journal.so with build-id: d6b6fc0fb97c1076005fa40404c3ee4f001f5d22
      Found module libspa-support.so with build-id: fa771bc2e9fa069ab05620267cfc407aa12a5758
      Found module libjansson.so.4 with build-id: 5f03fc5e0ba743d59af24568a8d4dc6cd2cc6a28
      Found module libMESSAGING-SEND-samba4.so with build-id: 29cb80ca354e3cfa2675c35841bba789b01c7180
      Found module libwinbind-client-samba4.so with build-id: b36953dbda6ccab321852b9b6c5322d4bdf74258
      Found module libjbig.so.2.1 with build-id: 6ede8c5263061d212ab5fafc4ef06beac11d82e7
      Found module libdatrie.so.1 with build-id: 9ebd99e63729783155e081cc2c2377a767b9e3c4
      Found module libblkid.so.1 with build-id: 0d23bd02d1ed06df97832d78f7ff38d617ac29d9
      Found module libflag-mapping-samba4.so with build-id: bd3744525b29598d7bd0baeddbd2751d5474d223
      Found module libndr-krb5pac.so.0 with build-id: 2ce3af7b359dd3250d80849bf827cccb8c0beccd
      Found module libcli-ldap-common-samba4.so with build-id: fb3612d1a7f2c7905aafa5d8361b73ee89653242
      Found module libclidns-samba4.so with build-id: 741f7dec57f06f2553034c0101f6ede39f628132
      Found module libmsghdr-samba4.so with build-id: d76d7404ef3277ef07b364ed2af5cc03736d29a0
      Found module libcommon-auth-samba4.so with build-id: 608184611ef3341da7f6f9e187c49ee48b6bb883
      Found module libsamdb.so.0 with build-id: 590c7ca344537a91a5935629596afa7258d71424
      Found module libwbclient.so.0 with build-id: 744fc47a76b393a04fdb6e1999b92462af270551
      Found module libsamba-modules-samba4.so with build-id: b7fc97785f30b4399338b68d0db22d03b82ffe1f
      Found module libcrypt.so.2 with build-id: 52fd1fd3dc3c8c13f94214c6f2d6fda0832db3d5
      Found module libtiff.so.5 with build-id: 3fedd742aeebe096a8b5d825dff8537815149d86
      Found module libgif.so.7 with build-id: 37be13909dcafb1bcfc74fe893f9a639356355c4
      Found module libbrotlienc.so.1 with build-id: a221af9d7e12d8ae3717cdcd563f5aec32531a91
      Found module libXau.so.6 with build-id: b6a2d4859848c28bf0a4fc8744d04b1935879af6
      Found module libgraphite2.so.3 with build-id: 58f949a538f65a6221e442879144b368f663f7e3
      Found module libthai.so.0 with build-id: 1f7b46f526e1fba04f29535981483f50c782775e
      Found module libselinux.so.1 with build-id: f805394f993c704b949315b56c344d22dfad801f
      Found module libmount.so.1 with build-id: dac49fdb6963d60e2706cfacd2f2f5c0773ab008
      Found module libjpeg.so.62 with build-id: f50d5361714c8fe58ed898123a98aa0d6547068e
      Found module libgmodule-2.0.so.0 with build-id: daced268f49ec62d46980a053582bcc234526fc0
      Found module libldb.so.2 with build-id: 351360ed59092bef06979edfa6c05651979fb847
      Found module libsamdb-common-samba4.so with build-id: eea1ad509498a0f1c9df28905c2d2693c1312c0c
      Found module libldbsamba-samba4.so with build-id: adb144c5d539cc4039c5db76aef30a3c1fc0126b
      Found module libcli-nbt-samba4.so with build-id: ad0b48df0cc213c0047c5d5772ee7bb31cf21229
      Found module libauthkrb5-samba4.so with build-id: 5d84e5a269af7b196a8dc5f998deb72e7481d7c0
      Found module libcli-cldap-samba4.so with build-id: a716bd8697b8590b00737d4614ea1358ee59ebc1
      Found module libaddns-samba4.so with build-id: 14b9b7b2760ee920c8479bbc806531f21132d78e
      Found module libndr-nbt.so.0 with build-id: 05af069763232d050c00e4cf9614d899fb0278b9
      Found module libtdb.so.1 with build-id: efecd4941ce305b2798f67e1f20c4ebd1b80cffd
      Found module libserver-role-samba4.so with build-id: 08399c48a3398f94cd040ca5f53545ba4f1dfdaf
      Found module libutil-setid-samba4.so with build-id: c278ec9d61becdcb2ae2e6bf7085862d24ae1132
      Found module libtdb-wrap-samba4.so with build-id: c9673d4d17365af70f933897a3e187830ff43c1a
      Found module libtime-basic-samba4.so with build-id: 8d4700c6874ad4bcd9fb7d9dc9eab2730b07a719
      Found module libsamba-cluster-support-samba4.so with build-id: 5bf750258049558c99def0fa7a5d2166151eb81a
      Found module libsmbd-shim-samba4.so with build-id: 0136b91a7f4a2bbc0f35a9e8b0bbfce884b61a3b
      Found module libinterfaces-samba4.so with build-id: 518b836573bfb0be9a76a726b9c7b12eb9857e50
      Found module libmessages-dgm-samba4.so with build-id: e32ded74e6aeca5eeaf423eef8f92f863530189e
      Found module libiov-buf-samba4.so with build-id: 0ba46f8e70521c3f8ebf935effe82bf951b4a8fd
      Found module libtalloc-report-printf-samba4.so with build-id: d28541df6f3917da7e1e98e54b7ef5e18a741812
      Found module libserver-id-db-samba4.so with build-id: 5092ff157307f236cbb1716aecf06c7f8a649500
      Found module libsys-rw-samba4.so with build-id: 018d6288a70e99510783e50f6a0f0c524900e509
      Found module libmessages-util-samba4.so with build-id: 385838fcedf252d63e7306ca14401a48caf84b82
      Found module libutil-reg-samba4.so with build-id: 0856a5e0292bb8c95f73f30c476f37269a4d4026
      Found module libsocket-blocking-samba4.so with build-id: 67946d2d38f01482acb4285dd3073be0fddcb7a0
      Found module libutil-tdb-samba4.so with build-id: 76daea0729fd92d25410e95e31695a3a5093c90a
      Found module libsamba-sockets-samba4.so with build-id: 4a3bafcaf098ede41e5344cf7660f0b0a60a9746
      Found module libndr-samba-samba4.so with build-id: 6e77f188f639ff0f8cc4313ab48da886c99527b5
      Found module libdbwrap-samba4.so with build-id: 0f3dfa9b238fef90601abc88fa5c83beda85ab9a
      Found module libdcerpc-binding.so.0 with build-id: ca5aefc914b10ded04e35a07c1c3d9f86236ba3f
      Found module libsmb-transport-samba4.so with build-id: 6a7a38d14b29d9f4b425694c6370cbf0f25adcc8
      Found module libcliauth-samba4.so with build-id: 2d15ad3ebd622eb12faef2391c479e6cbd4845e9
      Found module libgensec-samba4.so with build-id: be747e8ecb8503a240c7558f2ce8094e94d37dc6
      Found module libCHARSET3-samba4.so with build-id: adf724fbb7ed354fa030e4ba9dda1fc1ea82d52d
      Found module libkrb5samba-samba4.so with build-id: eede4403599a2fd0d212b0842803a2981fa5d3ba
      Found module libasn1util-samba4.so with build-id: ed1edf4e8c1cddf4474abfc14ff6d5339ee85489
      Found module libgenrand-samba4.so with build-id: ffc7d9c079fc6d98107f5179b5d082ac2060452b
      Found module libasyncns.so.0 with build-id: 648745a2e1c2a0a990336ca37d634b817a6861c5
      Found module libbrotlicommon.so.1 with build-id: 9e92a8ec2d9efe80ec86e04fba0549cd3202ebc4
      Found module libsasl2.so.3 with build-id: 4eefde24d117c2ec7bcd12d4b583ba46571fc22a
      Found module libresolv.so.2 with build-id: 0fbe5191a8f9212dd09bf0f85b08fcec995d543a
      Found module libkeyutils.so.1 with build-id: 2560a16099ad1875f7ea2195ae25b97ea168a758
      Found module libkrb5support.so.0 with build-id: 03649849c4d1813c307624a711b03fb15e7124cb
      Found module liblept.so.5 with build-id: c999ac25ed580eb096cdb52355a09fb1ded5840d
      Found module libsratom-0.so.0 with build-id: 0f9365fa516f7f5b809267522836a342a4afda91
      Found module libsord-0.so.0 with build-id: dddc1ad3b1d0d619dbbfc915aeb2abda1418c971
      Found module libserd-0.so.0 with build-id: 394c1a9f62e8898c038fa14b6017bd09d5e031c0
      Found module libnuma.so.1 with build-id: 24b3826eb785d8e4dfec3a9b8e5fe37117269d57
      Found module libjxl.so.0.6 with build-id: 1ecc954ff11191990d1d41ea4d5150bfedee063b
      Found module libXext.so.6 with build-id: 08e82aa07cb7910a08d8386fb16de7896ce290f4
      Found module libXrender.so.1 with build-id: 45e135fd2ee2393b7eb0c94f964542b8326582e1
      Found module libxcb-render.so.0 with build-id: 36edcc5980076552c68ccef2c6199808cba68f98
      Found module libxcb.so.1 with build-id: 1352e33391b3079347f320218799d6e531bd42f1
      Found module libxcb-shm.so.0 with build-id: a31877f8ca8058df0005532a160d93a1104c5401
      Found module libpixman-1.so.0 with build-id: dc521afa5e1d55834eebac7bb3c97cfe5e73f384
      Found module libpcre.so.1 with build-id: fcbdb4731e50f20a47b62341a6841dd616fe495d
      Found module libffi.so.6 with build-id: 0129f72b58e11d59546f7f207d2c90af7ebd9a5e
      Found module libharfbuzz.so.0 with build-id: 781c6377efbcd3ca2e7d238dc8c0e7401708d142
      Found module libpango-1.0.so.0 with build-id: 6d1029ef5e765e1fceb8ff057a1880f883037f71
      Found module libpangoft2-1.0.so.0 with build-id: 8a2787ba1addef0da844b000c3537c8fc33785b8
      Found module libpangocairo-1.0.so.0 with build-id: d410f48f069e60633f232cccc8423ad326ebbf22
      Found module libgio-2.0.so.0 with build-id: 885a350082fb5150c77466144c54897321e3a93d
      Found module libgdk_pixbuf-2.0.so.0 with build-id: b6e5e7c59ce90aecabf6b0b005ecd138dd6bae45
      Found module libcairo-gobject.so.2 with build-id: 7a1381e606b2601e779ccd25afbc719c5bc4e922
      Found module libpng16.so.16 with build-id: afcd45d29b0d579615db44a29213544328adde6f
      Found module libpgm-5.2.so.0 with build-id: 4caad184f542a7e10c2b740a07c6467d993062a9
      Found module libsodium.so.23 with build-id: d45082d4c7667c8e661ca266e2f620bda3e73f86
      Found module libunwind.so.8 with build-id: 656a76d5a68902c2d0ace44c84a4840cffdaa675
      Found module libtalloc.so.2 with build-id: a89600095fce07b6d435af818d4ae3fdfba83797
      Found module libtevent.so.0 with build-id: 393cdba93eeb7d80b3b75b318e2d88cc0cb27ea1
      Found module libsecrets3-samba4.so with build-id: 1761dae5df97ef20b77c6b87bc7532336f88c0a5
      Found module libsamba-debug-samba4.so with build-id: f2b7e0041e3ae17799af8b1b226b1285c8e7801f
      Found module libsamba3-util-samba4.so with build-id: f6af613da4f911865544356d313afa9a4167c08a
      Found module libtevent-util.so.0 with build-id: 8b39d2d7d1194f32ae35f4c3db9ee13272e9ac6b
      Found module libndr-standard.so.0 with build-id: 18af86704ef6ebc2b1a9baeb52f9324d49eeafb0
      Found module libsamba-hostconfig.so.0 with build-id: bbab01b239d68afdbf1a6a420b3d073cdea1df52
      Found module libsamba-credentials.so.1 with build-id: cf0506453fa913b9aa3e2259c264c7c4285a23b8
      Found module libdcerpc-samba-samba4.so with build-id: 8b884c9ac85b0b85669fbfa5b1a75b72fe4b5da7
      Found module libcli-smb-common-samba4.so with build-id: b42df44516694a3ef4dc91962bc3af3cc9f587d8
      Found module libgse-samba4.so with build-id: 6dc00db1b41ea1eedae131c37cc7f7b7f5094223
      Found module libsamba-errors.so.1 with build-id: fe27590aee41e1e8b43336a72700fbdb68d2d4b2
      Found module libreplace-samba4.so with build-id: 61ca40ad5468b696e673d3705ecfb1eb9695adcb
      Found module libsamba-util.so.0 with build-id: cf258bb593322ed6830995fac6c3853f9d048ee7
      Found module libsmbconf.so.0 with build-id: 4a8d7385867743b9e0e767ef5c9ac3f6d45fbbcc
      Found module libmsrpc3-samba4.so with build-id: 872e09cc12c4f4e0322e0966e45759d638c7d426
      Found module libsamba-security-samba4.so with build-id: 7f69dad68e3fb26a828bc95df289f20220d1feb1
      Found module liblibcli-lsa3-samba4.so with build-id: 84f4828ca6981b6d356a7eca7a2084c4508f780d
      Found module liblibsmb-samba4.so with build-id: 31c92582f346f926b264abb551b262e697d684f5
      Found module libndr.so.2 with build-id: 668426d53554f07c696bd3a4403705d3b0fadde0
      Found module libhogweed.so.6 with build-id: 288da1bb6ffaf6600c2f8a126bec247f2e9a4628
      Found module libnettle.so.8 with build-id: 62dba2572638edf8336bd4de5017fc70eaf0a567
      Found module libtasn1.so.6 with build-id: be32a4fab2585b6114471e83bf582b3df020b594
      Found module libunistring.so.2 with build-id: edcae9db236efd11e61995054ddf27a89ec6dc40
      Found module libp11-kit.so.0 with build-id: a7a93824ebf14980eeb37fe23c9d86dd201f947f
      Found module libudfread.so.0 with build-id: fa2c2b0535a25f28d718e0ccf11c6d0b2b88629f
      Found module libfftw3.so.3 with build-id: a75dc07d2cbb5f62c6cbaeb3738c2c256b87a4e3
      Found module libpython3.10.so.1.0 with build-id: b3bd123f4804f8170698d3bfd2fcb9c160bbd009
      Found module libcap.so.2 with build-id: 0214aa9cc6a8646eb9ec27ab7dda6a2219da6500
      Found module liblz4.so.1 with build-id: fd02c4542a1ce1ad6c503b958447be1c37a4afee
      Found module libzstd.so.1 with build-id: 7984add4b0ab24869c30e19cfba3637ca295dd7b
      Found module libgpg-error.so.0 with build-id: 081975d0a3416374b4883b2f1639fd3c9df42390
      Found module libvorbisfile.so.3 with build-id: 97bc441918c920e48e93a50256eb8d8b851bc741
      Found module libpulse-simple.so.0 with build-id: 0b12c56bc47719623f85e30638bd9eb75d642d74
      Found module libtheora.so.0 with build-id: 3ab7e0daef8f8a78f44ad329010576d78d34a9a0
      Found module libdb-5.3.so with build-id: d4f00c49c0295e5a22665dcce462d00647cf76cc
      Found module libpulsecommon-15.0.so with build-id: 610784314edf8434b1e341c44c97a92afab2a37e
      Found module libgomp.so.1 with build-id: 89a3c537d29b5efc280805f58c3bad68c7e73012
      Found module libbrotlidec.so.1 with build-id: 57cb8a53e33f31a620f3739919414c0d00549f87
      Found module liblber-2.4.so.2 with build-id: e7a8b3a354a19afa3f7261c85c4bb30af11f8126
      Found module libldap_r-2.4.so.2 with build-id: 1406008a1002c2265ac3a7e540a5ed4ad278579c
      Found module libcom_err.so.2 with build-id: a1d791cd7600f5609702a895a64d9131d1cd7b8f
      Found module libk5crypto.so.3 with build-id: 11238d51059ecf299699dc4d24a74e67a64aa725
      Found module libkrb5.so.3 with build-id: 0582e999cc7d74e1ec2dc7b3c9f7aa4dae7342f6
      Found module libgssapi_krb5.so.2 with build-id: c79d44cc56f67983ba388e5336c779d9f050114e
      Found module libcrypto.so.1.1 with build-id: 3ead607210606611d5f3398ee7e65198bd519de9
      Found module libssl.so.1.1 with build-id: b3b8eaa0fc316f1bb70ca237310c5b09048d3648
      Found module libpsl.so.5 with build-id: 71614cc984977692f16edc6189df04f570f51608
      Found module libidn2.so.0 with build-id: f3ad1b0687f5b426beed2d3d3d18aa301932f7a3
      Found module libnghttp2.so.14 with build-id: b6492c1dabf77777b1ae631416297ffc01f7ff30
      Found module ld-linux-x86-64.so.2 with build-id: 4e2c368b1240116994daff7f0f248a01f6e53198
      Found module libicudata.so.69 with build-id: fae0a612a5535b81eaec823e8cedb06c89719d94
      Found module libdrm.so.2 with build-id: fa7030da57896d65a8cfdd5413238c788a9e778f
      Found module libX11.so.6 with build-id: b63e8f330442522b1d5872d1b2ccf32702767d80
      Found module libvdpau.so.1 with build-id: c17b2f91c3e07b0ad2f5646a4df7ec2d4d823304
      Found module libva-drm.so.2 with build-id: 0ac818f3647f8c50d69d88f8d1a21320628ff64b
      Found module libfreetype.so.6 with build-id: 9999d5d839e4c66f038202b9c706f5ac7c17c593
      Found module libfontconfig.so.1 with build-id: e50d477be88a082f6a2fd42a7db8278bb88466ca
      Found module libOpenCL.so.1 with build-id: 236fc745fcde0c0bece37826dd1d8c9691a823c0
      Found module libzimg.so.2 with build-id: 666e23138dddbc80c5d8768d89f44bc99df66407
      Found module libvidstab.so.1.1 with build-id: b6764adfd3886c6169e0037fbb1bc820db48e632
      Found module libass.so.9 with build-id: bc2504903006e96441427bb6a16f7712eb8a0e57
      Found module libSPIRV-Tools.so with build-id: a636cbe6cf396dd39c6acd177771f6399d43ed63
      Found module libSPIRV-Tools-opt.so with build-id: 85e6fdc9f1ccfd9a533240ff9119bc70a70a0559
      Found module libvulkan.so.1 with build-id: f8138ba38cfffa26688eb836e98801b508b313df
      Found module libtesseract.so.4 with build-id: 289d28de273860d26e2cfca9118363e16a586532
      Found module libvmaf.so.1 with build-id: 9a64c191de743086dadbde227c87bca67fcc5768
      Found module libfribidi.so.0 with build-id: a4e245984a5c2e6d842a71adea32ec7c05cb7e40
      Found module libmysofa.so.1 with build-id: 5f1a3fc360bfc06f1b36f0bafec59de1ad7a65f9
      Found module librubberband.so.2 with build-id: 931d025c9ac4d9b7ae13fee8813ce426cb0db2f1
      Found module liblilv-0.so.0 with build-id: f95e4b9ae3a673c6332b655f761fc21430c46a4e
      Found module libbs2b.so.0 with build-id: c97fcaf99eb4db7af881fe3c37e87d6f55e9f190
      Found module libavresample.so.4 with build-id: d5e2210439d6522be565bf4f16eb0a61ef1a694b
      Found module libpostproc.so.55 with build-id: aaa97ae99cd9f8b565e02baecd3adb2fa3caaac1
      Found module libswscale.so.5 with build-id: e17d7c8e3f85854042524838f2c1bdc97c754df3
      Found module libmfx.so.1 with build-id: 730079d6bf195d201b24295384b874d1cacd112e
      Found module libva.so.2 with build-id: 85190bd0005cfab06df232ed0ab6610503ce6477
      Found module libxvidcore.so.4 with build-id: 2dce6030a94c5c0ab2af9aee7108e1f59e0891e5
      Found module libx265.so.199 with build-id: 8c2c68aab3fe1769ee1db921140c395e89678a95
      Found module libx264.so.163 with build-id: a0d1bd18400657f0ce3ddbf590e7d34ac776e7f6
      Found module libvo-amrwbenc.so.0 with build-id: e253699be1aa2443c292c173452539fb00fb4643
      Found module libtheoradec.so.1 with build-id: 2e84a130a29c5a7f4b5584d49ce3a2f5cdbca21e
      Found module libtheoraenc.so.1 with build-id: b0bab61042b9e9f087eae9f530c0432edc8e19f1
      Found module libSvtAv1Enc.so.0 with build-id: b4f43b47f8a2dd48a358c5c6930d4e406a2969f6
      Found module libspeex.so.1 with build-id: 75d985ff28d3b33c893118673bafa5bb7ff36b9e
      Found module librav1e.so.0 with build-id: 1f68156f9f85bfb88cc11cc4dda00d34d3d112ee
      Found module libopenjp2.so.7 with build-id: 67acc446978582ad7cef14cd452bcc4cfa3f69fc
      Found module libopencore-amrnb.so.0 with build-id: 0c387b91909129a44a14b17ca778566e9f608c8f
      Found module libilbc.so.0 with build-id: 73ad30cfcd58967515313fdf6ec8d3fbeb896ce9
      Found module libgsm.so.1 with build-id: f84c8103f3f95ee09f2c2888e21ff13c870ee056
      Found module libaom.so.3 with build-id: f4466d1a8aa876c8ccca9d59f5159e48832e0d10
      Found module libsnappy.so.1 with build-id: c87bcf521ca75032a73213ea3a6c0e4d40067873
      Found module libzvbi.so.0 with build-id: 6491549c84183769c7aa5fdf7822db568fbf6a3b
      Found module libcairo.so.2 with build-id: 8a28f43397104b4ef517df6c119772b5d577f48e
      Found module libglib-2.0.so.0 with build-id: bd0f95869104fa48a76bc69569db926805203da4
      Found module libgobject-2.0.so.0 with build-id: 9442204a99e355e956cc3f8a1862527294972b36
      Found module librsvg-2.so.2 with build-id: c6a761645cc4d542e4729ebb6f3fa03506a41917
      Found module libopencore-amrwb.so.0 with build-id: b81987756ab246a45dfb5fa3a57cfc4ea792802e
      Found module libdav1d.so.5 with build-id: dbf6a6322b97c79478fd4a90c6a65c953d07346c
      Found module liblzma.so.5 with build-id: 7fec53ce7cba9489f130c99cfd3ace82e9dde0ee
      Found module libwebp.so.7 with build-id: 68d29c5b9af2bf539caa9ac1e48b6a97f46167d5
      Found module libwebpmux.so.3 with build-id: d25abdfcde9dff67a91a7772678ef0d9175d059b
      Found module libvpx.so.6 with build-id: 6194869195109005ed8043f8a0326b3b4043dcbe
      Found module libswresample.so.3 with build-id: 67b0c31ca45e6fb4992737524661986fa753e1b6
      Found module libzmq.so.5 with build-id: ac18d8a6d7c9148f64804ca47166e2ffaadc2f1a
      Found module libsmbclient.so.0 with build-id: 7b83a066e28c1c8734193a4ac163c8b5f04ce2d5
      Found module libssh.so.4 with build-id: 1e466b1f1c44646e8ef4279b82980df32fa03261
      Found module libsrt.so.1.4 with build-id: 491113c3c6eea5438d8889ad5bcd5d90479c34fb
      Found module libgmp.so.10 with build-id: 14dbc5e93375ccb760dc47c5aaecc0cdfc45a06a
      Found module librtmp.so.1 with build-id: 59188d92fbeaa29598d39701611ebfc35921cba1
      Found module libgnutls.so.30 with build-id: b770fa34e7c50bcb6e5da3a2e68c16c3bc4c1422
      Found module libbluray.so.2 with build-id: 7bd03d9313706ba55e6f2e07f65e62b08173380d
      Found module libchromaprint.so.1 with build-id: 0ed745555c01cd48d27d34a03f70f093603eb32a
      Found module libgcrypt.so.20 with build-id: 711d41580c5a8649a79a8430a985dac3e25b5ba2
      Found module libvapoursynth-script.so.0 with build-id: e5ff0b8628d2561aa3fa4b82e36451901d80a993
      Found module libxml2.so.2 with build-id: 7f7c4a4c85206200336c641203ee60c41e6b7231
      Found module libc.so.6 with build-id: 881b4882a363c5c193cddf6e4991e1873f593364
      Found module libgcc_s.so.1 with build-id: 0028b8616fa79ea1496e4812c3fc9c7bf9607a56
      Found module libm.so.6 with build-id: 47343f97c29c4e91c841e2bfd344329a264075ad
      Found module libstdc++.so.6 with build-id: 455be2588680c3ff57e3a7defe212a13e2efdbd1
      Found module libsystemd.so.0 with build-id: b61753e8440ecf39624b3e37f855941c18a69e9b
      Found module libmpdclient.so.2 with build-id: 36b8fc70871b228b5f2e0968226bde00894369a0
      Found module libtwolame.so.0 with build-id: 43bba73989326a2bd31e0cd07b2147b3b48ceb8b
      Found module libmp3lame.so.0 with build-id: 8f8c9f4b754e37fd4f51ba67fb13cbefc341f8fe
      Found module libvorbisenc.so.2 with build-id: 68b1fdf0007c752a46482443a9b599bb6cf5a64e
      Found module libWildMidi.so.2 with build-id: 68fd0f3f91559d27607fd19d3b296dd9913019ff
      Found module libwavpack.so.1 with build-id: edcd6744a2883eba71c0cc12516efe6b9b9e566a
      Found module libvorbis.so.0 with build-id: d3aece982a2dfdf9f412b5fc8a4dc88722bde200
      Found module libogg.so.0 with build-id: 714c2b8484f85a852e216c4fc4bb2cf92872f37e
      Found module libsndfile.so.1 with build-id: cd7eb73b7b9313a890809eb349ff6322a79d9191
      Found module libsidplayfp.so.6 with build-id: aeeb5c052a6b74afb575efde4c7748bb16e8938b
      Found module libopus.so.0 with build-id: 0717c4aa935190f889e12134adcb95f1173896e6
      Found module libmpg123.so.0 with build-id: e272b8ac16339ff814dc4eb13a39f26cbb02689b
      Found module libopenmpt.so.0 with build-id: 4d8beb44a3d22a5f67b080b94b905b0788f81a89
      Found module libmodplug.so.1 with build-id: acdfcd4dafb798b6c05da9f9eaec3ac11e2c9c18
      Found module libmikmod.so.3 with build-id: 045ea995afad4fa41c2c2b12061cb28993a20e93
      Found module libmad.so.0 with build-id: 739cd1f253a94ba57258309da4ad1a4c7f535f8f
      Found module libfaad.so.2 with build-id: c27a9cb4dbe219d050cc196a2dcacb1965b0310c
      Found module libaudiofile.so.1 with build-id: d4acce29f43c84f105fee6553dc2f78db361bf02
      Found module libFLAC.so.8 with build-id: 1d79ff9fff882e70f83a3d832856447e6f311f1c
      Found module libavahi-client.so.3 with build-id: a74102919e50a8c29f9f6b7cb561d387a82761fa
      Found module libavahi-common.so.3 with build-id: 07bf073b57a037f9bb8e64e12d460499ead55a7c
      Found module libopenal.so.1 with build-id: 9be767de049b8ef15ecb43ebc41927da3cc66113
      Found module libshout.so.3 with build-id: d7aa1a4ce312685b8e88248bd522e4f0d1144885
      Found module libpipewire-0.3.so.0 with build-id: 7eeeb85cafd146541761dc1602322082546bb6c8
      Found module libjack.so.0 with build-id: cc94ff14c9b3e4f9d9d46836d9611eb1bcca33fb
      Found module libao.so.4 with build-id: 9da66f56c9979d7dc49773e1685bacc643a48d3c
      Found module libpulse.so.0 with build-id: dae2a9442ffad84ff9620bb7cb2ea33517dea455
      Found module libzzip-0.so.13 with build-id: 70c3a04babb115a9c8ea6c3cec4b4887a67da35a
      Found module libiso9660.so.11 with build-id: ae1b6aabb3869df3fda5166fe9ff3e1c4c46eded
      Found module libbz2.so.1 with build-id: 19ce300b78962ee0b113afb0f1016727a2f3c37b
      Found module libid3tag.so.0 with build-id: 5dba36c11ea87cbfdcd7031ca69bb7e647b40256
      Found module libsoxr.so.0 with build-id: e154461689760e2f09db3b4b533e0a18354e071b
      Found module libsamplerate.so.0 with build-id: bab31230a48ade5a6a4f060d2273827d01f93f84
      Found module libasound.so.2 with build-id: 3d77cd90a5798c94b6258410a0c6ed24e65424ed
      Found module libnfs.so.13 with build-id: 675fc8dfe039827d3577adc88bafcffe4ceeb43c
      Found module libmms.so.0 with build-id: e7e734ecb493c1b1562a40e5c50dd0f1d015a3af
      Found module libcdio.so.19 with build-id: 3deec8b541e74449d2509945648df1b66b412cb5
      Found module libcdio_cdda.so.2 with build-id: 0a3ebe2a8a312ea9edfcf3aee45cad8e2c7037d3
      Found module libcdio_paranoia.so.2 with build-id: 1e03438d1e6264fdf0104531453016f0ed4d3793
      Found module libexpat.so.1 with build-id: 5e15db4b53c11a5e7602daa374b20a662570258a
      Found module libcurl.so.4 with build-id: dd7faf7805a0041b9267a45b4f039361bb2eb3d5
      Found module libixml.so.11 with build-id: b985afcb14687c6197a7fcc1528f0fc1fbac31ad
      Found module libupnp.so.17 with build-id: bbbc818fbae14e5edd7c49ab7591aacdf0ad1e4d
      Found module libicuuc.so.69 with build-id: 45119735453983eea1a3fb59b0ed34a6e61d8c5a
      Found module libicui18n.so.69 with build-id: 96cea623123108e425250a0c59fa6221e96cadb2
      Found module libz.so.1 with build-id: 5903f5c355c264403e4e7cdc66779584425ca3b8
      Found module libsqlite3.so.0 with build-id: 072b1e135c03359061ea9c8346cdb61528950924
      Found module libpcre2-8.so.0 with build-id: 67d78ee981939e51fee33d8885ff8000552e7a3d
      Found module libyajl.so.2 with build-id: a42f467297f0bb1745a109a51914bbeb8dfc171d
      Found module libavutil.so.56 with build-id: 5852be17bbd2b2c2b71dc6644d446f4d3e788d82
      Found module libavfilter.so.7 with build-id: 98e00702995c0e2d70f94cac064d17c9a38ab5b0
      Found module libavcodec.so.58 with build-id: c251eded2b9130f61397cc84ffacace0f77b38fb
      Found module libavformat.so.58 with build-id: d5a9b812a36e8f72685a4774445c7dfc06f87c81
      Found module libfmt.so.8 with build-id: 0e37045a88c8c48c3a69fd94a88e5c134b753643
      Found module liburing.so.2 with build-id: 165c27386840faec43f11a18d5caf3a6c6c75ed8
      Found module libdbus-1.so.3 with build-id: 58e800f0865bde326c5c9ce510062d5b19902f67
      Found module mpd with build-id: 878bb69603d22bdf843b8535fff0bed37dcce574
      Stack trace of thread 77000:
      #0  0x00007f5458051570 n/a (n/a + 0x0)
      #1  0x0000000000000000 n/a (n/a + 0x0)
Feb 27 21:22:15 carbon.local systemd[1]: systemd-coredump@8-77262-0.service: Deactivated successfully.
Feb 27 21:22:15 carbon.local audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-coredump@8-77262-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 27 21:22:15 carbon.local systemd[2122]: mpd.service: Main process exited, code=killed, status=11/SEGV
Feb 27 21:22:15 carbon.local systemd[2122]: mpd.service: Failed with result 'signal'.

mpd.conf

bind_to_address         "0.0.0.0"
db_file                 "~/.mpd/database"
log_file                "~/.mpd/log"
max_command_list_size   "131072"
max_output_buffer_size  "131072"
max_playlist_length     "524288"
music_directory         "~/Music"
pid_file                "~/.mpd/pid"
playlist_directory      "~/.mpd/playlists"
port                    "6600"
replaygain              "off"
restore_paused          "yes"
state_file              "~/.mpd/state"
sticker_file            "~/.mpd/sticker.sql"
zeroconf_name           "X1 MPD"

input {
        plugin "curl"
}

audio_output {
    type        "recorder"
    name        "Radio recorder"
    format_path "~/Music/radio/[%artist%_-_][%title%|%name%].mp3"
    bitrate     "160"
    format      "44100:16:2"
}

audio_output {
    type        "httpd"
    name        "FLAC Stream"
    encoder     "flac"
    port        "9000"
    format      "44100:16:2"
    max_clients "1"
    tags        "yes"
}

audio_output {
    type            "alsa"
    name            "Alsa RME"
    device          "hw:1,0"
    auto_format     "no"
    auto_resample   "no"
    auto_channels   "no"
    dop             "no"
    dsd_usb         "yes"
    replay_gain_handler "none"
    mixer_type      "none"
}

audio_output {
    type        "pipewire"
    name        "Pipewire RME"
    dsd         "yes"
}

audio_output {
    type            "pulse"
    name            "Pulse RME"
    auto_format     "no"
    auto_resample   "no"
    auto_channels   "no"
    dop             "no"
    dsd_usb         "yes"
    replay_gain_handler "none"
    mixer_type      "none"
}

audio_output {
    type            "pulse"
    name            "Pulse Output"
    auto_format     "yes"
    auto_resample   "yes"
    dop             "no"
    dsd_usb         "no"
}

audio_output {
        type   "fifo"
        name   "fifo: ncmpcpp visualizer"
        path   "/tmp/mpd.fifo"
        format "22050:16:2"
}

playlist_plugin {
    name "rss"
    enabled "true"
}
MaxKellermann commented 2 years ago

This very much looks like a PipeWire crash. Though your backtrace is incomplete; what is address 0x00007fffc8051590?

kowalcj0 commented 2 years ago

You're welcome. Unfortunately, I don't know what was on that address. Here's a full gdb log https://pastebin.com/jCS9SFZL

PS. I followed instructions to generate a crash bug report https://mpd.readthedocs.io/en/stable/user.html#crash I looked for a mpd debug package, but I couldn't find any on Fedora 35.

PS2. For a second I thought that this might me somehow related to the mpd client (I tried both ncmpcpp & mpc), but that was a red herring,

leigh123linux commented 2 years ago

@kowalcj0 try

sudo debuginfo-install mpd
kowalcj0 commented 2 years ago

Thanks @leigh123linux I just installed it and then ran gdb --args mpd --stderr --no-daemon --verbose

$ gdb --args mpd --stderr --no-daemon --verbose
GNU gdb (GDB) Fedora 11.2-1.fc35
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-redhat-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 mpd...
Reading symbols from /usr/lib/debug/usr/bin/mpd-0.23.5-1.fc35.x86_64.debug...
(gdb) run
Starting program: /usr/bin/mpd --stderr --no-daemon --verbose

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.fedoraproject.org/ 
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
config_file: loading file /home/jk/.config/mpd/mpd.conf
libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
vorbis: Xiph.Org libVorbis 1.3.7
opus: libopus 1.3.1
sndfile: libsndfile-1.0.31
hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled
decoder: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
simple_db: reading DB
input: Input plugin 'qobuz' is not configured: No Qobuz app_id configured
curl: version 7.79.1
curl: with OpenSSL/1.1.1l-fips
[New Thread 0x7fffdb4ae640 (LWP 91275)]
[New Thread 0x7fffdacad640 (LWP 91276)]
event: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
state_file: Loading state file /home/jk/.mpd/state
config: option 'auto_format' on line 61 was not recognized
config: option 'auto_resample' on line 62 was not recognized
config: option 'auto_channels' on line 63 was not recognized
config: option 'dop' on line 64 was not recognized
config: option 'dsd_usb' on line 65 was not recognized
config: option 'auto_format' on line 73 was not recognized
config: option 'auto_resample' on line 74 was not recognized
config: option 'dop' on line 75 was not recognized
config: option 'dsd_usb' on line 76 was not recognized
client: [0] opened from 127.0.0.1:39166
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "plchanges "0""
client: [0] command returned 0
client: [0] process command "outputs"
client: [0] command returned 0
client: [0] process command "decoders"
client: [0] command returned 0
client: [0] process command "outputs"
client: [0] command returned 0
client: [0] process command "outputs"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [1] opened from 127.0.0.1:39168
client: [1] process command "play"
playlist: play 0:"http://193.0.98.66:8005/"
[New Thread 0x7fffda4ac640 (LWP 91279)]
[New Thread 0x7fffd9cab640 (LWP 91280)]
client: [1] command returned 0
client: [1] process command list
client: process command "status"
client: command returned 0
client: process command "currentsong"
client: command returned 0
client: [1] process command list returned 0
client: [1] closed
curl: icy-metaint=16384
decoder_thread: probing plugin mad
decoder: audio_format=44100:24:2, seekable=false
[New Thread 0x7fffd902a640 (LWP 91287)]
output: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
[New Thread 0x7fffd8829640 (LWP 91288)]
[New Thread 0x7fffc3f10640 (LWP 91289)]
output: opened "Pipewire RME" (pipewire) audio_format=44100:24:2
[New Thread 0x7fffc3667640 (LWP 91290)]
output: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
output: opened "fifo: ncmpcpp visualizer" (fifo) audio_format=22050:16:2
libsamplerate: setting samplerate conversion ratio to 0.5
output: converting in=44100:24:2 -> f=44100:24:2 -> out=22050:16:2
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "plchanges "2""
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "plchanges "3""
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [2] opened from 127.0.0.1:39170
client: [2] process command "stop"
playlist: stop
player: played "http://193.0.98.66:8005/"
Invalid cast.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.
[Thread 0x7fffc3f10640 (LWP 91289) exited]
output: closed "Pipewire RME" (pipewire)
output: closed "fifo: ncmpcpp visualizer" (fifo)
client: [2] command returned 0
client: [2] process command list
client: process command "status"
client: command returned 0
client: process command "currentsong"
client: command returned 0
client: [2] process command list returned 0
client: [0] process command "status"
client: [0] command returned 0
client: [2] closed
client: [0] process command "idle"
client: [0] command returned 1

Thread 7 "Pipewire RME" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd8829640 (LWP 91288)]
0x00007fffc8051590 in ?? ()
Missing separate debuginfos, use: dnf debuginfo-install faad2-libs-2.10.0-2.fc35.x86_64 ffmpeg-libs-4.4.1-4.fc35.x86_64 libmms-0.6.4-16.fc35.x86_64 librtmp-2.4-20.20190330.gitc5f04a5.fc35.x86_64 opencore-amr-0.1.5-13.fc35.x86_64 vo-amrwbenc-0.1.3-15.fc35.x86_64 x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 x265-libs-3.5-2.fc35.x86_64 xvidcore-1.3.7-6.fc35.x86_64
(gdb) bt
#0  0x00007fffc8051590 in  ()
#1  0x00007fffdb4d9ddd in loop_iterate (object=<optimized out>, timeout=<optimized out>) at ../spa/plugins/support/loop.c:359
#2  0x00007ffff55060da in do_loop (user_data=0x7fffc8000dc0) at ../src/pipewire/thread-loop.c:262
#3  0x00007ffff334db1a in start_thread (arg=<optimized out>) at pthread_create.c:443
#4  0x00007ffff33d2650 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) q
A debugging session is active.

    Inferior 1 [process 91263] will be killed.

Quit anyway? (y or n) y
MaxKellermann commented 2 years ago

This has nothing to do with MPD or a MPD client. This is a crash inside libpipewire, and we still don't know what 0x00007fffc8051590 is, all we know it's not MPD.

Sorry, can't help with a crash inside this third-party library.

kowalcj0 commented 2 years ago

FYI: The issue went away after updating libpipewire to 0.3.48.