Bug#892376: forked-daapd: iPhone Remote kills forked-daapd

Norbert Schulz rotfeder at mailbox.org
Thu Mar 8 15:40:45 GMT 2018


Package: forked-daapd
Version: 24.2-2
Severity: normal

Dear Maintainer,

iPhone Remote kills forked-daapd when start playing an audio file. 

forked-daapd starts correctly. With Remote it can be looked through the media data and selecting an audio file to 
play. But when start playing the forked-daapd is killed

Output of /var/log/forked-daapd.log

[2018-03-08 16:27:27] [  LOG]   laudio: cannot find card '0'[2018-03-08 16:27:27] [  LOG]   laudio: function snd_func_card_driver returned error: No such file or directory[2018-03-08 16:27:27] [  LOG]   laudio: error evaluating strings[2018-03-08 16:27:27] [  LOG]   laudio: function snd_func_concat returned error: No such file or directory[2018-03-08 16:27:27] [  LOG]   laudio: error evaluating name[2018-03-08 16:27:27] [  LOG]   laudio: function snd_func_refer returned error: No such file or directory[2018-03-08 16:27:27] [  LOG]   laudio: Evaluate error: No such file or directory[2018-03-08 16:27:27] [  LOG]   laudio: Unknown PCM default[2018-03-08 16:27:27] [  LOG]   laudio: Could not open playback device: No such file or directory
[2018-03-08 16:27:27] [  LOG]   player: Could not start selected ALSA device 'Computer'

Output of /etc/init.d/forked-daapd status

● forked-daapd.service - DAAP/DACP (iTunes), RSP and MPD server, supports AirPlay and Remote
   Loaded: loaded (/lib/systemd/system/forked-daapd.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Thu 2018-03-08 16:27:27 CET; 11min ago
  Process: 27010 ExecStart=/usr/sbin/forked-daapd -f (code=killed, signal=ABRT)
 Main PID: 27010 (code=killed, signal=ABRT)

Mär 08 16:27:27 gondor.heim systemd[1]: forked-daapd.service: Failed with result 'signal'.
Mär 08 16:27:27 gondor.heim systemd[1]: forked-daapd.service: Service hold-off time over, scheduling restart.
Mär 08 16:27:27 gondor.heim systemd[1]: Stopped DAAP/DACP (iTunes), RSP and MPD server, supports AirPl…emote.
Mär 08 16:27:27 gondor.heim systemd[1]: forked-daapd.service: Start request repeated too quickly.
Mär 08 16:27:27 gondor.heim systemd[1]: Failed to start DAAP/DACP (iTunes), RSP and MPD server, suppor…emote.
Mär 08 16:27:27 gondor.heim systemd[1]: forked-daapd.service: Unit entered failed state.
Mär 08 16:27:27 gondor.heim systemd[1]: forked-daapd.service: Failed with result 'signal'.


Best regards
Norbert


-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 4.9.0-6-marvell
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages forked-daapd depends on:
ii  adduser              3.115
ii  avahi-daemon         0.6.32-2
ii  init-system-helpers  1.48
ii  libantlr3c-3.2-0     3.2-3+b2
ii  libasound2           1.1.3-5
ii  libavahi-client3     0.6.32-2
ii  libavahi-common3     0.6.32-2
ii  libavcodec-extra57   7:3.2.10-1~deb9u1
ii  libavfilter6         7:3.2.10-1~deb9u1
ii  libavformat57        7:3.2.10-1~deb9u1
ii  libavutil55          7:3.2.10-1~deb9u1
ii  libc6                2.24-11+deb9u1
ii  libconfuse1          3.0+dfsg-2
ii  libcurl3-gnutls      7.52.1-5+deb9u4
ii  libevent-2.0-5       2.0.21-stable-3
ii  libgcrypt20          1.7.6-2+deb9u2
ii  libgnutls30          3.5.8-5+deb9u3
ii  libgpg-error0        1.26-2
ii  libjson-c3           0.12.1-1.1
ii  libmxml1             2.10-1+b1
ii  libplist3            1.12+git+1+e37ca00-0.3
ii  libprotobuf-c1       1.2.1-2
ii  libpulse0            10.0-1+deb9u1
ii  libsqlite3-0         3.16.2-5+deb9u1
ii  libswscale4          7:3.2.10-1~deb9u1
ii  libunistring0        0.9.6+really0.9.3-0.1
ii  lsb-base             9.20161125
ii  psmisc               22.21-2.1+b2
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages forked-daapd recommends:
ii  libavcodec-extra                       7:3.2.10-1~deb9u1
ii  libavcodec-extra57 [libavcodec-extra]  7:3.2.10-1~deb9u1

forked-daapd suggests no packages.

-- Configuration Files:
/etc/forked-daapd.conf changed:
general {
	# Username
	# Make sure the user has read access to the library directories you set
	# below, and full access to the databases, log and local audio
	uid = "daapd"
	# Database location
	# Log file and level
	# Available levels: fatal, log, warning, info, debug, spam
	logfile = "/var/log/forked-daapd.log"
	loglevel = log
	# Admin password for the non-existent web interface
	admin_password = "unused"
	# Enable/disable IPv6
	ipv6 = yes
	# Location of cache database
	# DAAP requests that take longer than this threshold (in msec) get their
	# replies cached for next time. Set to 0 to disable caching.
	# When starting playback, autoselect speaker (if none of the previously
	# selected speakers/outputs are available)
}
library {
	# Name of the library as displayed by the clients
	# %h: hostname, %v: version
	name = "Media auf %h"
	# TCP port to listen on. Default port is 3689 (daap)
	port = 3689
	# Password for the library. Optional.
	# Directories to index
	directories = { "/home/Media" }
	# Directories containing podcasts
	# For each directory that is indexed the path is matched against these
	# names. If there is a match all items in the directory are marked as 
	# podcasts. Eg. if you index /srv/music, and your podcasts are in
	# /srv/music/Podcasts, you can set this to "/Podcasts".
	# (changing this setting only takes effect after rescan, see the README)
	podcasts = { "/Podcasts" }
	# Directories containing audiobooks
	# For each directory that is indexed the path is matched against these
	# names. If there is a match all items in the directory are marked as 
	# audiobooks.
	# (changing this setting only takes effect after rescan, see the README)
	audiobooks = { "/Audiobooks" }
	# Directories containing compilations (eg soundtracks)
	# For each directory that is indexed the path is matched against these
	# names. If there is a match all items in the directory are marked as 
	# compilations.
	# (changing this setting only takes effect after rescan, see the README)
	compilations = { "/Compilations" }
	# Compilations usually have many artists, and if you don't want every
	# artist to be listed when artist browsing in Remote, you can set
	# a single name which will be used for all music in the compilation dir
	# (changing this setting only takes effect after rescan, see the README)
	compilation_artist = "Various artists"
	# If your album and artist lists are cluttered, you can choose to hide
	# albums and artists with only one track. The tracks will still be
	# visible in other lists, e.g. songs and playlists. This setting
	# currently only works in some remotes.
	# Internet streams in your playlists will by default be shown in the
	# "Radio" library, like iTunes does. However, some clients (like
	# TunesRemote+) won't show the "Radio" library. If you would also like
	# to have them shown like normal playlists, you can enable this option.
	# These are the default playlists. If you want them to have other names,
	# you can set it here.
	name_music      = "Music"
	name_movies     = "Movies"
	# Artwork file names (without file type extension)
	# forked-daapd will look for jpg and png files with these base names
	artwork_basenames = { "artwork", "Cover", "Folder" }
	# Enable searching for artwork corresponding to each individual media
	# file instead of only looking for album artwork. This is disabled by
	# default to reduce cache size.
	# File types the scanner should ignore
	# Non-audio files will never be added to the database, but here you
	# can prevent the scanner from even probing them. This might improve
	# scan time. By default .db, .ini, .db-journal and .pdf are ignored.
	# File paths the scanner should ignore
	# If you want to exclude files on a more advanced basis you can enter
	# one or more POSIX regular expressions, and any file with a matching
	# path will be ignored.
	# Disable startup file scanning
	# When forked-daapd starts it will do an initial file scan of your
	# library (and then watch it for changes). If you are sure your library
	# never changes while forked-daapd is not running, you can disable the
	# initial file scan and save some system ressources. Disabling this scan
	# may lead to forked-daapd's database coming out of sync with the
	# library. If that happens read the instructions in the README on how
	# to trigger a rescan.
	# Should iTunes metadata override ours?
	# Should we import the content of iTunes smart playlists?
	# Decoding options for DAAP clients
	# Since iTunes has native support for mpeg, mp4a, mp4v, alac and wav,
	# such files will be sent as they are. Any other formats will be decoded
	# to raw wav. If forked-daapd detects a non-iTunes DAAP client, it is
	# assumed to only support mpeg and wav, other formats will be decoded.
	# Here you can change when to decode. Note that these settings have no
	# effect on AirPlay.
	# Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav
	# Formats that should never be decoded
	# Formats that should always be decoded
}
	# Name - used in the speaker list in Remote
	
	# Type of the output (alsa, pulseaudio or dummy)
	# Audio PCM device name for local audio output - ALSA only
	# Mixer channel to use for volume control - ALSA only
	# If not set, PCM will be used if available, otherwise Master.
	# Mixer device to use for volume control - ALSA only
	# If not set, the value for "card" will be used.
	# Syncronization
	# If your local audio is out of sync with AirPlay, you can adjust this
	# value. Positive values correspond to moving local audio ahead,
	# negative correspond to delaying it. The unit is samples, where is
	# 44100 = 1 second. The offset must be between -44100 and 44100.
airplay "heim AirPort Express" {
	# forked-daapd's volume goes to 11! If that's more than you can handle
	# you can set a lower value here
	max_volume = 11
	# AirPlay password
}
spotify {
	# Directory where user settings should be stored (credentials)
	# Cache directory
	# Set preferred bitrate for music streaming
	# 0: No preference (default), 1: 96kbps, 2: 160kbps, 3: 320kbps
	# Your Spotify playlists will by default be put in a "Spotify" playlist
	# folder. If you would rather have them together with your other
	# playlists you can set this option to true.
	# Spotify playlists usually have many artist, and if you don't want
	# every artist to be listed when artist browsing in Remote, you can set
	# the artist_override flag to true. This will use the compilation_artist
	# as album artist for Spotify items.
	# Similar to the different artists in Spotify playlists, the playlist
	# items belong to different albums, and if you do not want every album
	# to be listed when browsing in Remote, you can set the album_override
	# flag to true. This will use the playlist name as album name for
	# Spotify items. Notice that if an item is in more than one playlist,
	# it will only appear in one album when browsing (in which album is
	# random).
}
mpd {
	# TCP port to listen on for MPD client requests. 
	# Default port is 6600, set to 0 to disable MPD support.
	# HTTP port to listen for artwork requests (only supported by some MPD
	# clients and will need additional configuration in the MPD client to
	# work). Set to 0 to disable serving artwork over http.
	# By default forked-daapd will - like iTunes - clear the playqueue if
	# playback stops. Setting clear_queue_on_stop_disable to true will keep
	# the playlist like MPD does. Note that some dacp clients do not show
	# the playqueue if playback is stopped.
}
sqlite {
	# Cache size in number of db pages for the library database
	# (SQLite default page size is 1024 bytes and cache size is 2000 pages)
	
	# Cache size in number of db pages for the daap cache database
	# (SQLite default page size is 1024 bytes and cache size is 2000 pages)
	
	# Sets the journal mode for the database
	# DELETE (default), TRUNCATE, PERSIST, MEMORY, WAL, OFF 
	
	# Change the setting of the "synchronous" flag
	# 0: OFF, 1: NORMAL, 2: FULL (default)
	# Should the database be vacuumed on startup? (increases startup time,
	# but may reduce database size). Default is yes.
}


-- no debconf information


More information about the pkg-multimedia-maintainers mailing list