From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EEO4Jufmu19RWQAA0tVLHw (envelope-from ) for ; Mon, 23 Nov 2020 16:44:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YP5+Iufmu1/XFwAAbx9fmQ (envelope-from ) for ; Mon, 23 Nov 2020 16:44:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C34B7940222 for ; Mon, 23 Nov 2020 16:44:22 +0000 (UTC) Received: from localhost ([::1]:32842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khEwu-0001l7-2t for larch@yhetil.org; Mon, 23 Nov 2020 11:44:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khEwc-0001ky-Q6 for bug-guix@gnu.org; Mon, 23 Nov 2020 11:44:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khEwc-0000es-JQ for bug-guix@gnu.org; Mon, 23 Nov 2020 11:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khEwc-0005uf-Ho for bug-guix@gnu.org; Mon, 23 Nov 2020 11:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44820: MPD fails after respawning too often Resent-From: Simon Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Nov 2020 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44820 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44820@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160614981522681 (code B ref -1); Mon, 23 Nov 2020 16:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2020 16:43:35 +0000 Received: from localhost ([127.0.0.1]:50915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khEwA-0005tk-5V for submit@debbugs.gnu.org; Mon, 23 Nov 2020 11:43:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:52772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khBq3-0000by-IT for submit@debbugs.gnu.org; Mon, 23 Nov 2020 08:25:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khBq3-0003aR-DE for bug-guix@gnu.org; Mon, 23 Nov 2020 08:25:03 -0500 Received: from smtprelay06.ispgateway.de ([80.67.18.29]:10969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khBpy-0006LL-0X for bug-guix@gnu.org; Mon, 23 Nov 2020 08:25:01 -0500 Received: from [92.195.120.160] (helo=scrapyard) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1khBpu-00048s-Ml for bug-guix@gnu.org; Mon, 23 Nov 2020 14:24:54 +0100 User-agent: mu4e 1.4.13; emacs 27.1 From: Simon Date: Mon, 23 Nov 2020 14:24:54 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.29; envelope-from=lists@netpanic.org; helo=smtprelay06.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Mon, 23 Nov 2020 11:43:32 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: JTg0zUduAsez On a recent pull, MPD will not start any more. Herd status reports: --8<---------------cut here---------------start------------->8--- Status of mpd: It is stopped. It is disabled. Provides (mpd). Requires (user-processes). Conflicts with (). Will be respawned. Last respawned on Mon Nov 23 10:22:07+0100 2020. --8<---------------cut here---------------end--------------->8--- Reading my messages, I find: --8<---------------cut here---------------start------------->8--- Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been disabled. Nov 23 10:22:07 localhost shepherd[1]: (Respawning too fast.) --8<---------------cut here---------------end--------------->8--- Unfortunately, there are no further messages as to why the service is disabled, or why the daemon is respawning too often. If I manually call the daemon with `$ ./mpd --no-daemon --stdout --verbose' from the store, I get: --8<---------------cut here---------------start------------->8--- config_file: loading file /home/user/.config/mpd/mpd.conf libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator' vorbis: Xiph.Org libVorbis 1.3.6 opus: libopus 1.3.1 sndfile: libsndfile-1.0.30 hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled simple_db: reading DB curl: version 7.71.0 curl: with GnuTLS/3.6.14 state_file: Loading state file /home/user/.mpd/state exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted playlist: queue song 7:"Can/CAN/08 Can Be.mp3" decoder_thread: probing plugin ffmpeg exception: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted ffmpeg/mp3: Format mp3 probed with size=65536 and score=51 ffmpeg/mp3: pad 576 1788 ffmpeg/mp3: Skipping 0 bytes of junk at 37617. ffmpeg: detected input format 'mp3' (MP2/3 (MPEG audio layer 2/3)) ffmpeg/mp3: Before avformat_find_stream_info() pos: 37617 bytes read:65536 seeks:0 nb_streams:2 ffmpeg/mjpeg: marker=d8 avail_size_in_buf=34312 ffmpeg/mjpeg: marker parser used 0 bytes (0 bits) ffmpeg/mjpeg: marker=e0 avail_size_in_buf=34310 ffmpeg/mjpeg: marker parser used 16 bytes (128 bits) ffmpeg/mjpeg: marker=db avail_size_in_buf=34292 ffmpeg/mjpeg: index=0 ffmpeg/mjpeg: qscale[0]: 2 ffmpeg/mjpeg: marker parser used 67 bytes (536 bits) ffmpeg/mjpeg: marker=db avail_size_in_buf=34223 ffmpeg/mjpeg: index=1 ffmpeg/mjpeg: qscale[1]: 5 ffmpeg/mjpeg: marker parser used 67 bytes (536 bits) ffmpeg/mjpeg: marker=c0 avail_size_in_buf=34154 ffmpeg/mjpeg: Changing bps from 0 to 8 ffmpeg/mjpeg: sof0: picture: 622x622 ffmpeg/mjpeg: component 0 2:2 id: 0 quant:0 ffmpeg/mjpeg: component 1 1:1 id: 1 quant:1 ffmpeg/mjpeg: component 2 1:1 id: 2 quant:1 ffmpeg/mjpeg: pix fmt id 22111100 ffmpeg/mjpeg: Format yuvj420p chosen by get_format(). ffmpeg/mjpeg: marker parser used 17 bytes (136 bits) ffmpeg/mjpeg: marker=c4 avail_size_in_buf=34135 ffmpeg/mjpeg: marker parser used 0 bytes (0 bits) ffmpeg/mjpeg: marker=c4 avail_size_in_buf=34102 ffmpeg/mjpeg: marker parser used 0 bytes (0 bits) ffmpeg/mjpeg: marker=c4 avail_size_in_buf=33919 ffmpeg/mjpeg: marker parser used 0 bytes (0 bits) ffmpeg/mjpeg: marker=c4 avail_size_in_buf=33886 ffmpeg/mjpeg: marker parser used 0 bytes (0 bits) ffmpeg/mjpeg: escaping removed 102 bytes ffmpeg/mjpeg: marker=da avail_size_in_buf=33703 ffmpeg/mjpeg: marker parser used 33601 bytes (268808 bits) ffmpeg/mjpeg: marker=d9 avail_size_in_buf=0 ffmpeg/mjpeg: decode frame unused 0 bytes ffmpeg/mp3: demuxer injecting skip 1105 / discard 0 ffmpeg/mp3float: skip 1105 / discard 0 samples due to side data ffmpeg/mp3float: skip 1105/1152 samples ffmpeg/mp3: All info found ffmpeg/mp3: stream 0: start_time: 0.0250567 duration: 22.3869 ffmpeg/mp3: stream 1: start_time: 0.0250556 duration: 22.3869 ffmpeg/mp3: format: start_time: 0.025056 duration: 22.3869 (estimate from stream) bitrate=333 kb/s ffmpeg/mp3: After avformat_find_stream_info() pos: 90865 bytes read:98304 seeks:0 frames:51 ffmpeg: codec 'mp3' decoder: audio_format=44100:f:2, seekable=true ffmpeg/mp3: demuxer injecting skip 1105 / discard 0 client: [0] opened from 127.0.0.1:40210 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 "decoders" client: [0] command returned 0 client: [0] process command "idle" client: [0] command returned 1 ^Cstate_file: Saving state file /home/user/.mpd/state player: played "Can/CAN/07 Ping Pong.mp3" fifo_output: Removing FIFO "/tmp/mpd.fifo" --8<---------------cut here---------------end--------------->8--- Hence the daemon will run it manually from the store, but there are no hints as to why it fails at boot time. Any help is appreciated. Cheers, Simon