Closed kowalcj0 closed 2 years ago
This very much looks like a PipeWire crash. Though your backtrace is incomplete; what is address 0x00007fffc8051590?
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,
@kowalcj0 try
sudo debuginfo-install mpd
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
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.
FYI: The issue went away after updating libpipewire
to 0.3.48
.
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
Other details
Log
backtrace:
journalctl -f:
mpd.conf